[Huawei]dldp enable //使能全局DLDP
[Huawei-GigabitEthernet0/0/1]dldp enable //使能接口的DLDP功能
[Huawei]dldp work-mode enhance //配置DLDP工作模式,缺省为enhance,即加强模式
[Huawei]dldp work-mode normal
[Huawei-GigabitEthernet0/0/1]dldp compatible-mode enable //使能DLDP兼容模式
[Huawei-GigabitEthernet0/0/1]dldp compatible-mode local-mac 1000-0000-0000 //配置DLDP兼容模式下发送DLDP报文的MAC地址
[Huawei]dldp interval 5 //配置发送通告报文的时间间隔,缺省为5秒
[Huawei]dldp delaydown-timer 1 //配置DelayDown定时器的超时时间,缺省为1秒
[Huawei]dldp unidirectional-shutdown auto //配置发现单向链路后接口的堵塞模式,缺省为auto
[Huawei]dldp unidirectional-shutdown manual
[Huawei]dldp authentication-mode md5 abc@1234 //配置DLDP报文的认证方式,缺省不进行认证
[Huawei]dldp authentication-mode simple abc@1234
[Huawei]dldp authentication-mode none
[Huawei]display dldp //查看DLDP的配置信息和邻居信息表项
[Huawei]dldp reset //全局重置DLDP功能
[Huawei-GigabitEthernet0/0/1]dldp reset //重置接口DLDP功能
reset dldp statistics //清除接口的DLDP报文统计信息
12-08