Configuring Interface LLDP
Configuring Interface LLDP
Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to set an interface to transmit LLDP packets:
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# lldp transmit
This example shows how to configure an interface to disable LLDP:
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# no lldp transmit
switch(config-if)# no lldp receive
This example shows how to display LLDP interface information:
switch# show lldp interface ethernet 1/2
tx_enabled: TRUE
rx_enabled: TRUE
dcbx_enabled: TRUE
Port MAC address:
Remote Peers Information
No remote peers exist
This example shows how to display LLDP neighbor information:
switch# show lldp neighbors
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID
BLR-VPC2-QS8
BLR-VPC2-QS8
BLR-VPC2-QS8
BLR-VPC2-QS8
Total entries displayed: 4
switch#
This example shows how to display the interface details about LLDP neighbors:
switch(config-if)# show lldp neighbor interface ethernet 1/4 detail
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
124
Command or Action
switch# configure terminal
switch(config)# interface type slot/port
switch(config-if)# [no] lldp {receive |
transmit}
switch# show lldp {interface | neighbors
[detail | interface | system-detail] | timers |
traffic}
00:0d:ec:a3:5f:48
Local Intf
Eth1/25
Eth1/26
Eth1/27
Eth1/28
Purpose
Enters global configuration mode.
Selects the interface to change.
Sets the selected interface to either receive or
transmit.
The no form of the command disables the
LLDP transmit or receive.
(Optional)
Displays LLDP configurations.
Hold-time
Capability
Port ID
120
BR
Ethernet1/25
120
BR
Ethernet1/26
120
BR
Ethernet1/27
120
BR
Ethernet1/28
Configuring LLDP
OL-29545-03