How to Configure LLDP, LLDP-MED, and Wired Location Service
Enabling LLDP
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
lldp run
4.
interface interface-id
5.
lldp transmit
6.
lldp receive
7.
end
8.
show lldp
9.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password
if prompted.
enable
Example:
Switch> enable
Step 1
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables LLDP globally on the switch.lldp run
Example:
Switch (config)# lldp run
Step 3
Specifies the interface on which you are enabling LLDP,
and enter interface configuration mode.
interface interface-id
Example:
Switch (config)# interface
Step 4
gigabitethernet2/0/1
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
62
How to Configure LLDP, LLDP-MED, and Wired Location Service