beautypg.com

Performing basic lldp configuration, Enabling lldp, Setting lldp operating mode – H3C Technologies H3C S3100 Series Switches User Manual

Page 977: Setting the lldp re-initialization delay

background image

1-7

Performing Basic LLDP Configuration

Enabling LLDP

To make LLDP take effect on certain ports, you need to enable LLDP both globally and on these ports.

Follow these steps to enable LLDP:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable LLDP globally

lldp enable

Required

By default, LLDP is disabled
globally.

Enter Ethernet interface view

interface interface-type
interface-number

Required

Enable LLDP

lldp enable

Optional

By default, LLDP is enabled on
a port.

Setting LLDP Operating Mode

LLDP can operate in one of the following modes.

z

TxRx mode. A port in this mode sends and receives LLDP frames.

z

Tx mode. A port in this mode only sends LLDP frames.

z

Rx mode. A port in this mode only receives LLDP frames.

z

Disable mode. A port in this mode does not send or receive LLDP frames.

Follow these steps to set LLDP operating mode:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type
interface-number

Required

Set the LLDP operating mode

lldp admin-status { disable |
rx
| tx | txrx }

Optional

TxRx by default.

Setting the LLDP Re-Initialization Delay

When LLDP operating mode changes on a port, the port initializes the protocol state machines after a

certain delay. By adjusting the LLDP re-initialization delay, you can avoid frequent initializations caused

by frequent LLDP operating mode changes on a port.

Follow these steps to set the LLDP re-initialization delay for ports:

To do…

Use the command…

Remarks

Enter system view

system-view

Set the LLDP re-initialization
delay

lldp timer reinit-delay delay

Optional

2 seconds by default