[IRF-SW1]dldp global enable  开启DLDP

[IRF-SW1]interface range g1/0/23   g2/0/24

[IRF-SW1-if-range]duplex full

[IRF-SW1-if-range]speed 1000

[IRF-SW1-if-range]dldp enable

[IRF-SW1-if-range]qui

[IRF-SW1]dldp unidirectional-shutdown auto 发现单向链路后端口的关闭模式为auto

[IRF-SW1]dldp work-mode enhance  工作模式为加强模式

注意:需要两端都配置