5. Set the Delay Down timer.
6. Set the mode of disabling the interface when a unidirectional link is detected.
7. Set the authentication mode of DLDP packets.
Data Preparation
To complete the configuration, you need the following data:
l Type and number of each interface
l Interval for sending Advertisement packets
l Value of the Delay Down timer
Procedure
Step 1 Configure the interface on Switch A to work in non-auto negotiation mode.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] interface xgigabitethernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1] undo negotiation auto
[SwitchA-XGigabitEthernet0/0/1] quit
Step 2 Enable DLDP globally
[SwitchA] dldp enable
Step 3 Enable DLDP on the interface.
[SwitchA] interface xgigabitethernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1] dldp enable
[SwitchA-XGigabitEthernet0/0/1] quit
Step 4 Configure DLDP to work in enhanced mode.
[SwitchA] dldp work-mode enhance
Step 5 Set the interval for sending Advertisement packets to 80 seconds.
[SwitchA] dldp interval 80
Step 6 Set the timeout interval of the DelayDown timer to 4 seconds.
[SwitchA] dldp delaydown-timer 4
Step 7 Configure DLDP to automatically shut down the interface where a unidirectional link is detected.
[SwitchA] dldp unidirectional-shutdown auto
Step 8 Set the authentication mode of DLDP packets to simple password authentication and set the
password to 123456.
[SwitchA] dldp authentication-mode simple 12345
Repeat the preceding steps on Switch B.
Step 9 Verify the configuration.
After the configuration, run the display dldp command in the interface view, and you can find
that the DLDP status of the interface is advertisement.
[SwitchA] display dldp interface xgigabitethernet 0/0/1
Interface XGigabitEthernet0/0/1
DLDP port state: advertisement
DLDP link state: up
The neighbor number of the port is: 1.
Neighbor mac address:0018-2000-0083
Quidway S6700 Series Ethernet Switches
Configuration Guide - Reliability 1 DLDP Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
13