Configuring LLDP
Configuring LLDP
Configuring Global LLDP Commands
You can set global LLDP settings. These settings include the length of time before discarding LLDP information
received from peers, the length of time to wait before performing LLDP initialization on any interface, and
the rate at which LLDP packets are sent.
To configure LLDP settings, perform this task:
Procedure
Step 1
Step 2
Step 3
This example shows how to set LLDP timer option to 15 seconds:
switch# configure terminal
switch(config)# lldp timer 15
Configuring Interface LLDP Commands
To configure the LLDP feature for a physical Ethernet interface, perform this task:
Procedure
Step 1
Step 2
Step 3
OL-16597-01
Command or Action
switch# configure terminal
switch(config)# lldp {holdtime
seconds | reinit seconds | timer
seconds}
switch(config)# no lldp {holdtime
| reinit | timer}
Command or Action
switch# configure terminal
switch(config)# interface type slot/port
switch(config-if)# [no] lldp {receive |
transmit}
Purpose
Enters configuration mode.
Configures LLDP options.
Use the holdtime option to set the length of time (10 to 255
seconds, default 120 seconds) that a device should save LLDP
information received before discarding it.
Use the reinit option to set the length of time (1 to 10
seconds, default 2 seconds) to wait before performing LLDP
initialization on any interface.
Use the timer option to set the rate (5 to 254 seconds, default
30 seconds) at which LLDP packets are sent.
Reset the LLDP values to their defaults.
Purpose
Enters configuration mode.
Selects the interface to change.
Sets the selected interface to either receive or
transmit.
The no form of the command disables the LLDP
transmit or receive.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring Global LLDP Commands
407
Need help?
Do you have a question about the AP775A - Nexus Converged Network Switch 5010 and is the answer not in the manual?
Questions and answers