Configuration procedures
Configuring Device A
# Enable DLDP globally.
<DeviceA> system-view
[DeviceA] dldp global enable
# Configure GigabitEthernet 3/0/1 to operate in full duplex mode and at 1000 Mbps, and enable
DLDP on the port.
[DeviceA] interface gigabitethernet 3/0/1
[DeviceA-GigabitEthernet3/0/1] undo shutdown
[DeviceA-GigabitEthernet3/0/1] duplex full
[DeviceA-GigabitEthernet3/0/1] speed 1000
[DeviceA-GigabitEthernet3/0/1] dldp enable
[DeviceA-GigabitEthernet3/0/1] quit
# Configure GigabitEthernet 3/0/2 to operate in full duplex mode and at 1000 Mbps, and enable
DLDP on the port.
[DeviceA] interface gigabitethernet 3/0/2
[DeviceA-GigabitEthernet3/0/2] undo shutdown
[DeviceA-GigabitEthernet3/0/2] duplex full
[DeviceA-GigabitEthernet3/0/2] speed 1000
[DeviceA-GigabitEthernet3/0/2] dldp enable
[DeviceA-GigabitEthernet3/0/2] quit
# Set the port shutdown mode to manual.
[DeviceA] dldp unidirectional-shutdown manual
Configuring Device B
# Enable DLDP globally.
<DeviceB> system-view
[DeviceB] dldp global enable
# Configure GigabitEthernet 3/0/1 to operate in full duplex mode and at 1000 Mbps, and enable
DLDP on it.
[DeviceB] interface gigabitethernet 3/0/1
[DeviceB-GigabitEthernet3/0/1] undo shutdown
[DeviceB-GigabitEthernet3/0/1] duplex full
[DeviceB-GigabitEthernet3/0/1] speed 1000
[DeviceB-GigabitEthernet3/0/1] dldp enable
[DeviceB-GigabitEthernet3/0/1] quit
# Configure GigabitEthernet 3/0/2 to operate in full duplex mode and at 1000 Mbps, and enable
DLDP on it.
[DeviceB] interface gigabitethernet 3/0/2
[DeviceB-GigabitEthernet3/0/2] undo shutdown
[DeviceB-GigabitEthernet3/0/2] duplex full
[DeviceB-GigabitEthernet3/0/2] speed 1000
8