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
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 the LLDP operating mode changes on a port, the port initializes the protocol state machines after
a LLDP re-initialization 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:
Step
1.
Enter system view.
2.
Set the LLDP re-initialization
delay.
Enable LLDP polling
With LLDP polling enabled, the router periodically checks for local configuration changes. On detecting
a configuration change, the router sends LLDPDUs to inform neighboring routers of the change.
To enable LLDP polling on the specified port or ports:
Step
1.
Enter system view.
2.
Enter Ethernet interface view
or port group view.
Command
system-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
lldp admin-status { disable | rx | tx |
txrx }
Command
system-view
lldp timer reinit-delay delay
Command
system-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
139
Remarks
N/A
Use either command.
Optional.
The default setting is TxRx.
Remarks
N/A
Optional.
The default setting is 2 seconds.
Remarks
N/A
Use either command.