36
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.
On a port with both remote OAM loopback and DLDP enabled, if the port shutdown mode is auto
mode, the port will be shut down by DLDP when it receives a packet sent by itself. This causes
remote OAM loopback failure. To prevent this, set the port shutdown mode to manual mode. For
more information about Ethernet OAM, see "Configuring Ethernet OAM."
T
o 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.
Task Command
Display the DLDP configuration globally and of a
port.
display dldp
[
interface
interface-type
interface-number ]
Display the statistics on DLDP packets passing
through a port.
display dldp statistics
[
interface
interface-type
interface-number ]
Clear the statistics on DLDP packets passing
through a port.
reset dldp statistics
[
interface
interface-type
interface-number ]