Basic concepts – H3C Technologies H3C S12500-X Series Switches User Manual
Page 43
35
[DeviceB-Ten-GigabitEthernet1/0/2] dldp enable
[DeviceB-Ten-GigabitEthernet1/0/2] quit
# Set the port shutdown mode to manual.
[DeviceB] dldp unidirectional-shutdown manual
3.
Verify the configuration:
After the configurations are complete, you can use the display dldp command to display the DLDP
configuration globally and on ports.
# Display the DLDP configuration globally and on all the DLDP-enabled ports of Device A.
[DeviceA] display dldp
DLDP global status: Enabled
DLDP advertisement interval: 5s
DLDP authentication-mode: None
DLDP unidirectional-shutdown mode: Manual
DLDP delaydown-timer value: 1s
Number of enabled ports: 2
Interface Ten-GigabitEthernet1/0/1
DLDP port state: Bidirectional
Number of the port’s neighbors: 1
Neighbor MAC address: 0023-8956-3600
Neighbor port index: 1
Neighbor state: Confirmed
Neighbor aged time: 11s
Interface Ten-GigabitEthernet1/0/2
DLDP port state: Bidirectional
Number of the port’s neighbors: 1
Neighbor MAC address: 0023-8956-3600
Neighbor port index: 2
Neighbor state: Confirmed
Neighbor aged time: 12s
The output shows that both Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 are in
Bidirectional state, which means both links are bidirectional.
# Enable the monitoring of logs on the current terminal on Device A, and set the lowest level of the
logs that can be output to the current terminal to 6.
[DeviceA] quit
The following log information is displayed on Device A:
Ten-GigabitEthernet1/0/1 link status is DOWN.
%Jul 12 08:29:17:787 2013 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface
Ten-GigabitEthernet1/0/1 is DOWN.
%Jul 12 08:29:17:800 2013 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/2 link
status is DOWN.
%Jul 12 08:29:17:800 2013 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface
Ten-GigabitEthernet1/0/2 is DOWN.
- H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C S6300 Series Switches H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches