24-4
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 24 Configuring LLDP and LLDP-MED
Configuring LLDP and LLDP-MED
Enabling LLDP
Beginning in privileged EXEC mode, follow these steps to enable LLDP:
To disable LLDP, use the
no
lldp run
global configuration command. To disable LLDP on an interface,
use the
no lldp transmit
and the
no lldp receive
interface configuration commands.
This example shows how to globally enable LLDP.
Switch#
configure terminal
Switch(config)#
lldp run
Switch(config)#
end
This example shows how to enable LLDP on an interface.
Switch#
configure terminal
Switch(config)#
interface gigabitethernet0/1
Switch(config-if)#
lldp transmit
Switch(config-if)#
lldp receive
Switch(config-if)#
end
Configuring LLDP Characteristics
You can configure the frequency of LLDP updates, the amount of time to hold the information before
discarding it, and the initialization delay time. You can also select the LLDP and LLDP-MED TLVs to
send and receive.
Beginning in privileged EXEC mode, follow these steps to configure these characteristics:
Note
Steps 2 through 5 are all optional and can be performed in any order.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
lldp run
Enable LLDP globally on the switch.
Step 3
interface
interface-id
Specify the interface on which you are enabling LLDP, and enter
interface configuration mode.
Step 4
lldp transmit
Enable the interface to send LLDP packets.
Step 5
lldp receive
Enable the interface to receive LLDP packets.
Step 6
end
Return to privileged EXEC mode.
Step 7
show lldp
Verify the configuration.
Step 8
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание Catalyst 2928
Страница 28: ...Contents xxviii Catalyst 2928 Switch Software Configuration Guide OL 23389 01 ...
Страница 32: ...xxx Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Preface ...
Страница 496: ...26 14 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Chapter 26 Configuring SPAN Displaying SPAN Status ...
Страница 534: ...29 18 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 Chapter 29 Configuring SNMP Displaying SNMP Status ...
Страница 700: ...Index IN 36 Catalyst 2928 Switch Software Configuration Guide OL 23389 01 ...