25-6
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 25 Configuring LLDP, LLDP-MED, and Wired Location Service
Configuring LLDP, LLDP-MED, and Wired Location Service
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 gigabitethernet1/0/1
Switch(config-if)#
lldp transmit
Switch(config-if)#
lldp receive
Switch(config-if)#
end
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.
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...