beautypg.com

Setting the port shutdown mode, Configuring dldp authentication, Displaying and maintaining cfd – H3C Technologies H3C S12500-X Series Switches User Manual

Page 37: Cfd configuration example

background image

29

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Set the DelayDown timer.

dldp delaydown-timer time

The default is 1 second.
The DelayDown timer setting
applies to all DLDP-enabled ports.

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.