Step
Enter Layer 2/Layer 3
2.
Ethernet interface view,
management Ethernet
interface view, or Layer
2/Layer 3 aggregate
interface view.
Set the LLDP operating
3.
mode.
Setting the LLDP reinitialization 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
Enter system view.
1.
Set the LLDP reinitialization
2.
delay.
Enabling LLDP polling
With LLDP polling enabled, a device periodically searches for local configuration changes. When the
device detects a configuration change, it sends LLDP frames to inform neighboring devices of the
change.
To enable LLDP polling:
Step
Enter system view.
1.
Command
interface interface-type interface-number
•
In Layer 2/Layer 3 Ethernet interface
view or management Ethernet
interface view:
lldp [ agent { nearest-customer |
nearest-nontpmr } ] admin-status
{ disable | rx | tx | txrx }
•
In Layer 2/Layer 3 aggregate interface
view:
lldp agent { nearest-customer |
nearest-nontpmr } admin-status
{ disable | rx | tx | txrx }
Command
system-view
lldp timer reinit-delay delay
Command
system-view
225
Remarks
N/A
By default:
•
The nearest bridge
agent operates in txrx
mode.
•
The nearest customer
bridge agent and
nearest non-TPMR
bridge agent operate
in disable mode.
In Ethernet interface view,
if no agent type is
specified, the command
configures the operating
mode for nearest bridge
agents.
In aggregate interface
view, you can configure
the operating mode only
for nearest customer
bridge agents and nearest
non-TPMR bridge agents.
Remarks
N/A
The default setting is 2 seconds.
Remarks
N/A