Figure 1 Network diagram
Device A
HGE1/0/1
HGE1/0/2
Ethernet
fiber port
Software versions used
This configuration example was created and verified on Release 3606.
Procedures
1.
Configure Device A:
# Enable DLDP globally.
<DeviceA> system-view
[DeviceA] dldp global enable
# Configure HundredGigE 1/0/1 and HundredGigE 1/0/2 to operate in full duplex mode at
10000 Mbps, and enable DLDP on the interfaces.
[DeviceA] interface hundredgige 1/0/1
[DeviceA-HundredGigE1/0/1] duplex full
[DeviceA-HundredGigE1/0/1] speed 10000
[DeviceA-HundredGigE1/0/1] dldp enable
[DeviceA-HundredGigE1/0/1] quit
[DeviceA] interface hundredgige 1/0/2
[DeviceA-HundredGigE1/0/2] duplex full
[DeviceA-HundredGigE1/0/2] speed 10000
[DeviceA-HundredGigE1/0/2] dldp enable
[DeviceA-HundredGigE1/0/2] quit
# Set the interval for sending Advertisement packets to 5 seconds (default interval).
[DeviceA] dldp interval 5
# Configure the plain text authentication mode and set the password to abc.
[DeviceA] dldp authentication-mode simple
[DeviceA] dldp authentication-password simple abc
# Set the interface shutdown mode to auto (default mode).
[DeviceA] dldp unidirectional-shutdown auto
2.
Configure Device B in the same way Device A is configured. (Details not shown.)
Verifying the configuration
# Display global and interface-specific DLDP configuration for Device A.
[DeviceA] display dldp
DLDP global status: Enabled
DLDP advertisement interval: 5s
DLDP authentication-mode: Simple
Tx end
Rx end
Device B
HGE1/0/1
HGE1/0/2
Fiber link
2