182
Step Command
Remarks
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
N/A
3.
Set the LLDP operating
mode.
lldp admin-status
{
disable
|
rx
|
tx
|
txrx
}
Optional.
TxRx by default.
Setting the LLDP reinitialization delay
When 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, 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 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
N/A
3.
Enable LLDP polling
and set the polling
interval.
lldp check-change-interval interval
Disabled by default.
Configuring the advertisable TLVs
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
N/A