Cisco Catalyst 2960 Software Configuration Manual page 635

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 26
Configuring LLDP, LLDP-MED, and Wired Location Service
Command
Step 1
configure terminal
Step 2
lldp holdtime seconds
Step 3
lldp reinit delay
Step 4
lldp timer rate
Step 5
lldp tlv-select
Step 6
interface interface-id
Step 7
lldp med-tlv-select
Step 8
end
Step 9
show lldp
Step 10
copy running-config startup-config
Use the no form of each of the LLDP commands to return to the default setting.
This example shows how to configure LLDP characteristics.
Switch# configure terminal
Switch(config)# lldp holdtime 120
Switch(config)# lldp reinit 2
Switch(config)# lldp timer 30
Switch(config)# end
Configuring LLDP-MED TLVs
By default, the switch only sends LLDP packets until it receives LLDP-MED packets from the end
device. It then sends LLDP packets with MED TLVs, as well. When the LLDP-MED entry has been aged
out, it again only sends LLDP packets.
By using the lldp interface configuration command, you can configure the interface not to send the TLVs
listed in
Table 26-2
LLDP-MED TLV
inventory-management
location
network-policy
power-management
OL-26520-01
Purpose
Enter global configuration mode.
(Optional) Specify the amount of time a receiving device should hold the
information from your device before discarding it.
The range is 0 to 65535 seconds; the default is 120 seconds.
(Optional) Specify the delay time in seconds for LLDP to initialize on an
interface.
The range is 2 to 5 seconds; the default is 2 seconds.
(Optional) Set the sending frequency of LLDP updates in seconds.
The range is 5 to 65534 seconds; the default is 30 seconds.
(Optional) Specify the LLDP TLVs to send or receive.
Specify the interface on which you are enabling LLDP, and enter interface
configuration mode.
(Optional) Specify the LLDP-MED TLVs to send or receive.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Table
26-2.
LLDP-MED TLVs
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring LLDP, LLDP-MED, and Wired Location Service
Description
LLDP-MED inventory management TLV
LLDP-MED location TLV
LLDP-MED network policy TLV
LLDP-MED power management TLV
26-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents