H3C S7500 Series Command Manual

Type
Command Manual

H3C S7500 Series, a high-performance Ethernet switch, offers exceptional capabilities for enterprise networks, data centers, and service providers. With its advanced features, it empowers businesses with secure, resilient, and scalable network infrastructures. Key capabilities include:

  • High-density 10/25/40/100 Gigabit Ethernet ports: Provides flexible connectivity options for diverse network applications.

  • Advanced Layer 2 and Layer 3 features: Supports a comprehensive suite of Layer 2 and Layer 3 switching protocols, ensuring robust and reliable network operations.

  • Comprehensive security features: Delivers robust security mechanisms, including Access Control Lists (ACLs), Quality of Service (QoS), and Virtual Private Networks (VPNs), safeguarding network resources and data.

H3C S7500 Series, a high-performance Ethernet switch, offers exceptional capabilities for enterprise networks, data centers, and service providers. With its advanced features, it empowers businesses with secure, resilient, and scalable network infrastructures. Key capabilities include:

  • High-density 10/25/40/100 Gigabit Ethernet ports: Provides flexible connectivity options for diverse network applications.

  • Advanced Layer 2 and Layer 3 features: Supports a comprehensive suite of Layer 2 and Layer 3 switching protocols, ensuring robust and reliable network operations.

  • Comprehensive security features: Delivers robust security mechanisms, including Access Control Lists (ACLs), Quality of Service (QoS), and Virtual Private Networks (VPNs), safeguarding network resources and data.

Command Manual – DLDP
H3C S7500 Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 DLDP Configuration Commands................................................................................1-1
1.1 DLDP Configuration Commands.......................................................................................1-1
1.1.1 display dldp .............................................................................................................1-1
1.1.2 dldp..........................................................................................................................1-2
1.1.3 dldp authentication-mode........................................................................................ 1-3
1.1.4 dldp interval.............................................................................................................1-4
1.1.5 dldp reset.................................................................................................................1-5
1.1.6 dldp unidirectional-shutdown...................................................................................1-6
1.1.7 dldp work-mode....................................................................................................... 1-7
1.1.8 dldp delaydown-timer.............................................................................................. 1-7
Command Manual – DLDP
H3C S7500 Series Ethernet Switches Chapter 1
DLDP Configuration Commands
1-1
Chapter 1 DLDP Configuration Commands
1.1 DLDP Configuration Commands
1.1.1 display dldp
Syntax
display dldp [ interface-type interface-number ]
View
Any view
Parameters
interface-type: Port type.
interface-number: Port number.
Description
Use the display dldp command to display the DLDP configuration information of the
device or the specified port.
Examples
# Display the DLDP configuration information of the device.
<H3C> display dldp
dldp interval 10
dldp work-mode enhance
dldp authentication-mode none
dldp unidirectional-shutdown manual
dldp delaydown-timer 1
The port number with DLDP is 2.
interface GigabitEthernet2/0/1
dldp port state : inactive
dldp link state : down
The neighbor number of the port is 0.
interface GigabitEthernet2/0/2
dldp port state : advertisement
dldp link state : up
The neighbor number of the port is 1.
neighbor mac address : 000f-e227-750d
Command Manual – DLDP
H3C S7500 Series Ethernet Switches Chapter 1
DLDP Configuration Commands
1-2
neighbor port index : 98
neighbor state : two way
neighbor aged time : 24
Table 1-1 Description on the fields of the display dldp command
Field Description
dldp interval
Interval for sending DLDP
advertisement packets
dldp work-mode DLDP work mode
dldp authentication-mode DLDP authentication mode
dldp unidirectional-shutdown
DLDP action to be performed on
detecting a unidirectional link
dldp delaydown-timer Setting of the DelayDown timer
The port number with DLDP
Number of the DLDP-enabled ports on
device
interface GigabitEthernet2/0/1 Port type and port number
dldp port state DLDP state of a port
dldp link state DLDP link state
The neighbor number of the port Number of the neighbor ports
neighbor mac address MAC address of a neighbor port
neighbor port index Neighbor port index
neighbor state Neighbor state (two way or unknown)
neighbor aged time Neighbor aging time
1.1.2 dldp
Syntax
dldp { enable | disable }
View
System view, Ethernet port view
Parameters
None
Description
In system view:
Command Manual – DLDP
H3C S7500 Series Ethernet Switches Chapter 1
DLDP Configuration Commands
1-3
Use the dldp enable command to enable DLDP globally on all optical ports of the
switch.
Use the dldp disable command to disable DLDP globally on all optical ports of the
switch.
In Ethernet port view:
Use the dldp enable command to enable DLDP on the current port.
Use the dldp disable command to disable DLDP on the current port.
The commands apply to both non-optical ports and optical ports.
By default, DLDP is disabled.
Note:
When you use the dldp enable/dldp disable commands in system view to
enable/disable DLDP globally on all optical ports of the switch, these commands are
only valid for the existing optical ports on the device, however, they are not valid for
those added subsequently.
Examples
# Enable DLDP globally on all optical ports of the switch.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dldp enable
DLDP is enabled on all fiber ports.
1.1.3 dldp authentication-mode
Syntax
dldp authentication-mode { none | simple simple-password | md5 md5-password }
undo dldp authentication-mode
View
System view
Parameters
none: Performs no authentication with the peer port.
simple: Sets the authentication mode with the peer port to plain text.
Command Manual – DLDP
H3C S7500 Series Ethernet Switches Chapter 1
DLDP Configuration Commands
1-4
simple-password: Password for authentication with the peer port, a plaintext string in
the range of 1 character to 16 characters.
md5: Specifies the mode of authentication with the peer port to MD5.
Description
Use the dldp authentication-mode command to set the DLDP authentication mode
and password for the ports of the local and peer devices.
Use the undo dldp authentication-mode to cancel the DLDP authentication mode
and password for the ports of the local and peer devices.
By default, authentication mode is none, that is, authentication is not performed.
Note that:
When you configure the DLDP authentication mode and authentication password,
make sure the same DLDP authentication mode and password are set for the ports
connecting the local and peer devices. Otherwise, DLDP authentication fails. DLDP
cannot work when DLDP authentication fails.
Related commands: dldp unidirectional-shutdown.
Examples
# Enable DLDP on the ports connecting two devices. Plaintext authentication is
performed with the password password1.
z Configure H3C A:
<H3CA> system-view
System View: return to User View with Ctrl+Z.
[H3CA] dldp authentication-mode simple password1
z Configure H3C B:
<H3CB> system-view
System View: return to User View with Ctrl+Z.
[H3CB] dldp authentication-mode simple password1
1.1.4 dldp interval
Syntax
dldp interval integer
undo dldp interval
View
System view
Command Manual – DLDP
H3C S7500 Series Ethernet Switches Chapter 1
DLDP Configuration Commands
1-5
Parameters
Integer: Interval of sending DLDP packets, in the range of 1 seconds to 100 seconds. It
is 5 seconds by default.
Description
Use the dldp interval command to set the interval of sending advertisement packets
when all the DLDP-enabled ports are in the Advertisement status.
Use the undo dldp interval command to restore the interval to the default value 5
seconds.
By default, the interval of sending advertisement packets is 5 seconds.
Note that:
z The interval you define is applicable to all DLDP-enabled ports.
z The interval must be shorter than one-third of the STP convergence time. If too
long an interval is set, an STP loop may occur before DLDP shuts down
unidirectional links. On the contrary, if too short an interval is set, network traffic
increases, and port bandwidth is reduced. Generally, the STP convergence time is
30 seconds.
z For the dldp interval integer command, make sure that the same interval for
transmitting advertisement packets is set on the ports used to connected both
devices; otherwise DLDP will not operate properly.
Examples
# Set the interval of sending advertisement packets to 20 seconds for all the
DLDP-enabled ports.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dldp interval 20
1.1.5 dldp reset
Syntax
dldp reset
View
System view, Ethernet port view
Parameters
None
Command Manual – DLDP
H3C S7500 Series Ethernet Switches Chapter 1
DLDP Configuration Commands
1-6
Description
In system view:
Use the dldp reset command to reset the DLDP status of all the ports disabled by
DLDP.
In Ethernet port view:
Use the dldp reset command to reset the DLDP status of the current port disabled by
DLDP.
After the dldp reset command is executed, the DLDP status of these ports changes
from disable to active and DLDP restarts to probe the link status of the fiber cables or
copper twisted pairs.
Related commands: dldp, dldp unidirectional-shutdown.
Examples
# Reset the DLDP status of all the ports disabled by DLDP.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dldp reset
1.1.6 dldp unidirectional-shutdown
Syntax
dldp unidirectional-shutdown { auto | manual }
undo dldp unidirectional-shutdown
View
System view
Parameters
auto: Disables the corresponding port automatically when DLDP detects a
unidirectional link.
manual: Prompts the user to disable the corresponding port manually instead of
disabling the port automatically when DLDP detects an unidirectional link. It stops the
DLDP packet sending/receiving on the port at the same time.
Description
Use the dldp unidirectional-shutdown command to set the DLDP handling mode
when a unidirectional link is found.
Use the dldp unidirectional-shutdown command to restore the default setting.
By default, the handling mode of DLDP after unidirectional links are detected is auto.
Command Manual – DLDP
H3C S7500 Series Ethernet Switches Chapter 1
DLDP Configuration Commands
1-7
Related commands: dldp work-mode.
Examples
# Configure DLDP to automatically disable the corresponding port when a
unidirectional link is found.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dldp unidirectional-shutdown auto
1.1.7 dldp work-mode
Syntax
dldp work-mode { enhance | normal }
undo dldp work-mode
View
System view
Parameters
enhance: Configures DLDP to work in enhanced mode. In this mode, DLDP probes
actively whether neighbors exist when neighbor tables are aging.
normal: Configures DLDP to work in normal mode. In this mode, DLDP does not probe
actively whether neighbors exist when neighbor tables are aging.
Description
Use the dldp work-mode command to set the DLDP operating mode.
Use the undo dldp work-mode command to restore the default DLDP operating
mode.
By default, DLDP works in normal mode.
Examples
# Configure DLDP to work in enhanced mode.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dldp work-mode enhance
1.1.8 dldp delaydown-timer
Syntax
dldp delaydown-timer delaydown-time
Command Manual – DLDP
H3C S7500 Series Ethernet Switches Chapter 1
DLDP Configuration Commands
1-8
undo dldp delaydown-timer
View
System view
Parameters
delaydown-time: Delaydown timer to be set (in seconds). This argument ranges from 1
to 5. By default, the delaydown timer expires after 1 second it is triggered.
Description
Use the dldp delaydown-timer command to set the delaydown timer.
Use the undo dldp delaydown-timer command to restore the default delaydown timer
setting.
Examples
# Set the delaydown timer to 2 seconds.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dldp delaydown-timer 2
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9

H3C S7500 Series Command Manual

Type
Command Manual

H3C S7500 Series, a high-performance Ethernet switch, offers exceptional capabilities for enterprise networks, data centers, and service providers. With its advanced features, it empowers businesses with secure, resilient, and scalable network infrastructures. Key capabilities include:

  • High-density 10/25/40/100 Gigabit Ethernet ports: Provides flexible connectivity options for diverse network applications.

  • Advanced Layer 2 and Layer 3 features: Supports a comprehensive suite of Layer 2 and Layer 3 switching protocols, ensuring robust and reliable network operations.

  • Comprehensive security features: Delivers robust security mechanisms, including Access Control Lists (ACLs), Quality of Service (QoS), and Virtual Private Networks (VPNs), safeguarding network resources and data.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI