Setting the port shutdown mode, Configuring dldp authentication, Displaying and maintaining dldp – H3C Technologies H3C S6800 Series Switches User Manual
Page 15
7
Setting the port shutdown mode
On detecting a unidirectional link, the ports can be shut down in one of the following modes:
•
Auto mode—When a unidirectional link is detected, DLDP changes the DLDP port state to
Unidirectional. The unidirectional port periodically sends RecoverProbe packets. When a correct
RecoverEcho packet is received, the link is restored to a bidirectional link, and the port state
changes from Unidirectional to Bidirectional. This process is called "link auto-recovery
mechanism."
•
Manual mode—When a unidirectional link is detected, DLDP does not shut down the port, and you
need to manually shut it down. When the link state is restored to Bidirectional, you must manually
bring up the port. If the network performance is low, the device is busy, or the CPU usage is high,
use this mode to prevent normal links from being shut down because of false unidirectional link
reports.
To set port shutdown mode:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set port shutdown mode.
dldp unidirectional-shutdown
{ auto | manual }
The default mode is auto.
Configuring DLDP authentication
You can guard your network against attacks and malicious probes by configuring an appropriate DLDP
authentication mode, which can be plain text authentication or MD5 authentication. If your network is
safe, you can choose not to authenticate.
To configure DLDP authentication:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a DLDP
authentication mode.
dldp authentication-mode { md5 |
none | simple }
The default authentication mode is
none.
3.
Configure the password for
DLDP authentication.
dldp authentication-password
{ cipher cipher | simple simple }
By default, no password is
configured for DLDP
authentication.
If you do not configure the
authentication password after you
configure the authentication mode,
the authentication mode is none no
matter which authentication mode
you configure.
Displaying and maintaining DLDP
Execute display commands in any view and the reset command in user view.