When you are working on a live network, make sure you understand the potential impact of every command on your network. This document assumes that you have basic knowledge of H3C DLDP. Example: Automatically shutting down...
Rx end Fiber link fiber port Software version used This configuration example was created and verified on S12500-CMW710-R7129. Configuration restrictions and guidelines When you configure DLDP to automatically shut down unidirectional links, follow these restrictions and guidelines: DLDP is available only for Ethernet ports.
# 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.
Page 6
DLDP advertisement interval: 5s DLDP authentication-mode: None DLDP unidirectional-shutdown mode: Auto DLDP delaydown-timer value: 1s Number of enabled ports: 2 Interface GigabitEthernet3/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 GigabitEthernet3/0/2...
DLDP unidirectional-shutdown mode: Auto DLDP delaydown-timer value: 1s Number of enabled ports: 2 Interface GigabitEthernet3/0/1 DLDP port state: Unidirectional Number of the port’s neighbors: 0 (Maximum number ever detected: 1) Interface GigabitEthernet3/0/2 DLDP port state: Unidirectional Number of the port’s neighbors: 0 (Maximum number ever detected: 1) The output shows that the DLDP port status of both GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2 is unidirectional.
To manually shut down the faulty port, set the port shutdown mode to manual. The default port shutdown mode is auto. Software version used This configuration example was created and verified on S12500-CMW710-R7129. Configuration restrictions and guidelines When you configure DLDP to ask you to manually shut down unidirectional links, follow these restrictions and guidelines: DLDP is available only for Ethernet ports.
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...
[DeviceB-GigabitEthernet3/0/2] dldp enable [DeviceB-GigabitEthernet3/0/2] quit # Set the port shutdown mode to manual. [DeviceB] dldp unidirectional-shutdown manual Verifying 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.
Page 12
%Jul 12 08:29:17:800 2012 DeviceA IFNET/3/PHY_UPDOWN: GigabitEthernet3/0/2 link status is DOWN. %Jul 12 08:29:17:800 2012 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface GigabitEthernet3/0/2 is DOWN. %Jul 12 08:29:25:004 2012 DeviceA IFNET/3/PHY_UPDOWN: GigabitEthernet3/0/1 link status is UP. %Jul 12 08:29:25:005 2012 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface GigabitEthernet3/0/1 is UP.
The output shows that the port status and link status of both GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2 are now down. # Shut down GigabitEthernet 3/0/2. [DeviceA-GigabitEthernet3/0/1] quit [DeviceA] interface gigabitethernet 3/0/2 [DeviceA-GigabitEthernet3/0/2] shutdown Correct the fiber connections and bring up the two ports: # Bring up GigabitEthernet 3/0/2.
1000 duplex full dldp enable interface GigabitEthernet3/0/2 port link-mode bridge speed 1000 duplex full dldp enable Related documentation H3C S12500 Routing Switch Series High Availability Configuration Guide • • H3C S12500 Routing Switch Series High Availability Command Reference...
Need help?
Do you have a question about the S12500 and is the answer not in the manual?
Questions and answers