32-7
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 32 Configuring LLDP, LLDP-MED, and Location Service
Configuring LLDP and LLDP-MED, and Location Service
This example shows how to globally disable LLDP:
Switch#
configure terminal
Switch(config)#
no lldp run
Switch(config)#
end
This example shows how to globally enable LLDP:
Switch#
configure terminal
Switch(config)#
lldp run
Switch(config)#
end
Disabling and Enabling LLDP on an Interface
LLDP is disabled globally on all supported interfaces. You must enable LLDP globally to allow a device
to send LLDP packets. However, no changes are required at the interface level.
You can configure the interface to selectively not to send and receive LLDP packets with the
no lldp transmit
and
no lldp receive
commands.
Note
If the interface is configured as a tunnel port, LLDP is automatically disabled.
To disable LLDP on an interface, perform this task:
To enable LLDP on an interface once it has been disabled, perform this task:
Step 2
Switch(config)#
lldp run
Enables LLDP.
Step 3
Switch(config)#
end
Returns to privileged EXEC mode.
Command
Purpose
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
interface
interface-id
Specifies the interface on which you are disabling LLDP, and enter
interface configuration mode.
Step 3
Switch(config)#
no lldp transmit
Disallows sending LLDP packets on the interface.
Step 4
Switch(config)#
no lldp receive
Disallows receiving LLDP packets on the interface.
Step 5
Switch(config)#
end
Returns to privileged EXEC mode.
Step 6
Switch(config)#
copy running-config
startup-config
Saves your entries in the configuration file.
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
interface
interface-id
Specifies the interface on which you are enabling LLDP, and enter
interface configuration mode.
Step 3
Switch(config)#
lldp transmit
Sends LLDP packets on the interface.
Step 4
Switch(config)#
lldp receive
Receives LLDP packets on the interface.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...