Setting lldp operating mode, Setting the lldp re-initialization delay, Enabling lldp polling – H3C Technologies H3C S12500 Series Switches User Manual

Page 236

Advertising
background image

223

Step Command

Remarks

3.

Enter Ethernet interface view
or port group view.

Enter Layer 2 or Layer 3

Ethernet interface view:

interface interface-type
interface-number

Enter port group view:

port-group manual
port-group-name

Use either command.

4.

Enable LLDP.

lldp enable

Optional.
By default, LLDP is enabled on a port.

Setting LLDP operating mode

Step Command Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view
or port group view.

Enter Layer 2 or Layer 3 Ethernet

interface view:
interface interface-type

interface-number

Enter port group view:

port-group manual port-group-name

Use either command.

3.

Set the LLDP operating mode. lldp admin-status { disable | rx | tx |

txrx }

Optional.
The default setting is TxRx.

Setting the LLDP re-initialization delay

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

an LLDP reinitialization delay. By adjusting the delay, you can avoid frequent initializations caused by
frequent changes to the LLDP operating mode on a port.
To set the LLDP reinitialization delay for ports:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Set the LLDP reinitialization

delay.

lldp timer reinit-delay delay

Optional.
The default setting is 2 seconds.

Enabling LLDP polling

With LLDP polling enabled, the switch periodically searches for local configuration changes. When the

device detects a configuration change, it sends LLDP frames to inform neighboring switches of the
change.
To enable LLDP polling on the specified port or ports:

Advertising
This manual is related to the following products: