[IRF-SW1]dldp global enable 開啓DLDP後端
[IRF-SW1]interface range g1/0/23 g2/0/24ide
[IRF-SW1-if-range]duplex fullui
[IRF-SW1-if-range]speed 1000it
[IRF-SW1-if-range]dldp enableio
[IRF-SW1-if-range]quiclass
[IRF-SW1]dldp unidirectional-shutdown auto 發現單向鏈路後端口的關閉模式爲auto配置
[IRF-SW1]dldp work-mode enhance 工做模式爲增強模式端口
注意:須要兩端都配置di