To do...
view or
port
group
view
4.
Enable LLDP
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:
To do...
1.
Enter system view
2.
Enter
Ethernet
interface
view or
port
group
view
3.
Set the LLDP operating mode
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.
To set the LLDP re-initialization delay for ports:
To do...
1.
Enter system view
2.
Set the LLDP re-initialization
delay
Use the command...
port-group manual
Enter port group view
port-group-name
lldp enable
Enter Layer 2/Layer 3
Ethernet interface view
Enter port group view
Use the command...
system-view
lldp timer reinit-delay delay
Use the command...
system-view
interface interface-type
interface-number
port-group manual port-group-name
lldp admin-status { disable | rx | tx |
txrx }
205
Remarks
Optional.
By default, LLDP is enabled on a
port.
Remarks
—
Required.
Use either command.
Optional.
TxRx by default.
Remarks
—
Optional
2 seconds by default