Cisco Systems ME 3400 Switch User Manual


  Open as PDF
of 1086
 
24-6
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 24 Configuring LLDP and LLDP-MED
Configuring LLDP and LLDP-MED
Beginning in privileged EXEC mode, follow these steps to enable LLDP on an interface when it has been
disabled:
This example shows how to enable LLDP on an interface.
Switch# configure terminal
Switch(config)# interface GigabitEthernet1/0/1
Switch(config-if)# no shutdown
Switch(config-if)# port-type nni
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 24-2.
Step 3
no lldp transmit No LLDP packets are sent on the interface.
Step 4
no lldp receive No LLDP packets are received on the interface.
Step 5
end Return to privileged EXEC mode.
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface on which you are enabling LLDP, and enter
interface configuration mode. LLDP is supported only on NNIs and
ENIs. It is not supported on UNIs. If necessary, use the port-type
{eni | nni} interface configuration command to change the port type.
Step 3
no shutdown If necessary, enable the port. By default NNIs are enabled, and ENIs
and UNIs are disabled.
Step 4
lldp transmit LLDP packets are sent on the interface.
Step 5
lldp receive LLDP packets are received on the interface.
Step 6
end Return to privileged EXEC mode.
Step 7
copy running-config startup-config (Optional) Save your entries in the configuration file.
Ta ble 24-2 LLDP-MED TLVs
LLDP-MED TLV Description
inventory-management LLDP-MED inventory management TLV
location LLDP-MED location TLV