H3C Technologies H3C S12500-X Series Switches User Manual
Page 39
31
[DeviceA] dldp global enable
# Configure Ten-GigabitEthernet 1/0/1 to operate in full duplex mode and at 10000 Mbps, and
enable DLDP on the port.
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] duplex full
[DeviceA-Ten-GigabitEthernet1/0/1] speed 10000
[DeviceA-Ten-GigabitEthernet1/0/1] dldp enable
[DeviceA-Ten-GigabitEthernet1/0/1] quit
# Configure Ten-GigabitEthernet 1/0/2 to operate in full duplex mode and at 10000 Mbps, and
enable DLDP on the port.
[DeviceA] interface ten-gigabitethernet 1/0/2
[DeviceA-Ten-GigabitEthernet1/0/2] duplex full
[DeviceA-Ten-GigabitEthernet1/0/2] speed 10000
[DeviceA-Ten-GigabitEthernet1/0/2] dldp enable
[DeviceA-Ten-GigabitEthernet1/0/2] quit
# Set the port shutdown mode to auto.
[DeviceA] dldp unidirectional-shutdown auto
2.
Configure Device B:
# Enable DLDP globally.
[DeviceB] dldp global enable
# Configure Ten-GigabitEthernet 1/0/1 to operate in full duplex mode and at 10000 Mbps, and
enable DLDP on it.
[DeviceB] interface ten-gigabitethernet 1/0/1
[DeviceB-Ten-GigabitEthernet1/0/1] duplex full
[DeviceB-Ten-GigabitEthernet1/0/1] speed 10000
[DeviceB-Ten-GigabitEthernet1/0/1] dldp enable
[DeviceB-Ten-GigabitEthernet1/0/1] quit
# Configure Ten-GigabitEthernet 1/0/2 to operate in full duplex mode and at 10000 Mbps, and
enable DLDP on it.
[DeviceB] interface ten-gigabitethernet 1/0/2
[DeviceB-Ten-GigabitEthernet1/0/2] duplex full
[DeviceB-Ten-GigabitEthernet1/0/2] speed 10000
[DeviceB-Ten-GigabitEthernet1/0/2] dldp enable
[DeviceB-Ten-GigabitEthernet1/0/2] quit
# Set the port shutdown mode to auto.
[DeviceB] dldp unidirectional-shutdown auto
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
- 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