Configuring LLDP and LLDP-MED, and Location Service
Command
Step 6
Switch(config)# copy running-config
startup-config
Step 7
Switch(config)# lldp med-tlv-select
Note
Use the no form of each of the LLDP commands to return to the default setting.
This example shows how to configure a holdtime of 120 seconds, a delay time of 2 seconds and an update
frequency of 30:
Switch# configure terminal
Switch(config)# lldp holdtime 120
Switch(config)# lldp reinit 2
Switch(config)# lldp timer 30
Switch(config)# end
This example shows how to transmit only LLDP packets:
Switch# configure terminal
Switch(config)# no lldp receive
Switch(config)# end
This example shows how to receive LLDP packets again:
Switch# configure terminal
Switch(config)# lldp receive
Switch(config)# end
For additional LLDP show commands, see the
Location Service" section on page
Disabling and Enabling LLDP Globally
Note
LLDP is disabled by default.
To disable LLDP globally, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# no lldp run
Step 3
Switch(config)# end
To enable LLDP once it has been disabled, perform this task:
Command
Step 1
Switch# configure terminal
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
29-6
Chapter 29
Purpose
Saves your entries in the configuration file.
(Optional) Specifies the LLDP-MED TLVs to send or receive.
"Monitoring and Maintaining LLDP, LLDP-MED, and
29-14.
Purpose
Enters global configuration mode.
Disables LLDP.
Returns to privileged EXEC mode.
Purpose
Enters global configuration mode.
Configuring LLDP, LLDP-MED, and Location Service
OL-25340-01