Configuring LLDP and LLDP-MED
Command
Step 5
end
Step 6
copy running-config startup-config
This example shows how to enable sending and receiving LLDP packets on an interface.
Switch# configure terminal
Switch(config)# interface GigabitEthernet1/0/1
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
Switch(config-if)# end
Configuring LLDP-MED TLVs
By default, the switch only sends LLDP packets until it receives LLDP-MED packets from the end
device. It will then send LLDP packets with MED TLVs as well. When the LLDP-MED entry has been
aged out, it only sends LLDP packets again.
Using the lldp interface configuration command, you can configure the interface not to send the TLVs
listed in
Table 21-2
LLDP-MED TLV
inventory-management
location
network-policy
power-management
Beginning in privileged EXEC mode, follow these steps to disable a TLV on an interface:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
no lldp med-tlv-select tlv
Step 4
end
Step 5
copy running-config startup-config
Beginning in privileged EXEC mode, follow these steps to enable a TLV on an interface:
Command
Step 1
configure terminal
Step 2
interface interface-id
Cisco ME 3800X and 3600X Switch Software Configuration Guide
21-6
Purpose
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Table
21-2.
LLDP-MED TLVs
Purpose
Enter global configuration mode.
Specify the interface on which you are configuring a LLDP-MED
TLV, and enter interface configuration mode.
Specify the TLV to disable.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the interface on which you are configuring an LLDP-MED
TLV, and enter interface configuration mode.
Description
LLDP-MED inventory management TLV
LLDP-MED location TLV
LLDP-MED network policy TLV
LLDP-MED power management TLV
Chapter 21
Configuring LLDP and LLDP-MED
OL-23400-01
Need help?
Do you have a question about the 3845 - Security Bundle Router and is the answer not in the manual?