Setting the lldp operating mode, Setting the lldp reinitialization delay, Enabling lldp polling – H3C Technologies H3C S5560 Series Switches User Manual
Page 276
242
Setting the LLDP operating mode
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2/Layer 3
Ethernet interface view,
management Ethernet
interface view, or Layer
2/Layer 3 aggregate
interface view.
interface interface-type interface-number
N/A
3.
Set the LLDP operating
mode.
•
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 }
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.
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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the LLDP reinitialization
delay.
lldp timer reinit-delay delay
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.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module