Setting the lldp operating mode, Setting the lldp re-initialization delay – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 187

Advertising
background image

176

To enable LLDP:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable LLDP globally.

lldp enable

By default, LLDP is globally
enabled.

3.

Enter Ethernet interface
view or port group view.

•

Enter Layer 2 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 the LLDP operating mode

LLDP can operate in one of the following modes:

•

TxRx mode—A port in this mode sends and receives LLDPDUs.

•

Tx mode—A port in this mode only sends LLDPDUs.

•

Rx mode—A port in this mode only receives LLDPDUs.

•

Disable mode—A port in this mode does not send or receive LLDPDUs.

To set the 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 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 LLDP operating
mode is TxRx.

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 changes to the LLDP operating mode on a port.
To set the LLDP re-initialization delay for ports:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

Advertising