Link Layer Discovery
Protocol (LLDP) Snooping is enabled by default on all Ethernet controllers. The
user can use LLDP snooping to troubleshoot problems in the client ports.
show controllers
controllertype
Rack/Slot/Instance/Port
lldp-snoop
Note
|
LLDP snoop and drop
is not supported for VLAN-tagged LLDP packets.
|
Note
|
If mandatory TLVs (Chassis ID, Port ID and TTL) are invalid or not
available, then the LLDP neighbor information does not populate the LLDP packet
details. The hardware drops the LLDP packet if LLDP drop is enabled.
|
Verify that the MAC
address displayed is same as the MAC address of the traffic generating port. In
Release 6.0.1, you can view more details about the LLDP neighbor.
RP/0/RP0/CPU0:ios# show controllers hundredGigECtrlr 0/0/0/8 lldp-snoop
Mon Apr 2 04:37:25.603 UTC
LLDP Neighbor Snoop Data
------------------------------------------------
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Local Controller: HundredGigECtrlr0/0/0/8
Source MAC Address: 0010.9400.0002
Chassis ID: ABCD
Port ID: 192.0.2.254
Port Description: descr:ABCD Port-iter2
System Name: Name:ABCD
System Description: descr:ABCD-iter2
Hold Time(TTL): 120 seconds
System Capabilities: P,B,W,R,T,C
Enabled Capabilities: P,R,T
Management Address:
IPv4 address: 192.0.2.254
To verify the LLDP
neighbor entries, use the following command:
RP/0/RP0/CPU0:ios# show lldp neighbors
Thu Jul 26 15:08:27.943 IST
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Hold-time Capability Port ID
Hav EC0/0/0/4 120 B,R Ethernet1/1
Total entries displayed: 1
EC refers to Ethernet Controller.
To display detailed information about LLDP neighbor entries, use the following command:
RP/0/RP0/CPU0:ios# show lldp neighbors detail
Thu Jul 26 15:08:03.836 IST
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
------------------------------------------------
Local Interface: HundredGigECtrlr0/0/0/4
Chassis id: a89d.21f8.4aa8
Port id: Ethernet1/1
Port Description: Ethernet1/1
System Name: Hav
System Description:
Cisco Nexus Operating System (NX-OS) Software 7.0(3)I4(7)
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2017, Cisco Systems, Inc. All rights reserved.
Time remaining: 103 seconds
Hold Time: 120 seconds
System Capabilities: B,R
Enabled Capabilities: B,R
Management Addresses:
IPv4 address: 10.77.132.26
Peer MAC Address: a8:9d:21:f8:4a:a8
Total entries displayed: 1
To clear LLDP neighbor snoop data, use the following command:
RP/0/RP0/CPU0:ios# clear controller hundredGigECtrlr 0/0/0/4 lldp-snoop
The show lldp neighbors command is supported for mac-sec- encrypt mode as well. Following is a sample output for 10GE mac-sec slice: Slice0, Slice3
in 10g client and 100g trunk with encrypt mode.
RP/0/RP0/CPU0:ios# show lldp neighbors
Fri Feb 3 13:21:09.779 IST
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Hold-time Capability Port ID
Spirent Test Center2 EC0/0/0/11/1 60 R,S 0194.3333.3333
Spirent Test Center2 EC0/0/0/11/2 60 R,S 0194.5555.5555
Spirent Test Center2 EC0/0/0/11/3 60 R,S 0194.2020.2121
Spirent Test Center2 EC0/0/0/11/4 60 R,S 0194.8888.8888
ROSCO NCS1K EC0/0/0/25/2 60 P,R,S 0194.4444.4444
Spirent Test Center2 EC0/0/0/25/2 60 R,S 0194.6666.6666
Spirent Test Center2 EC0/0/0/25/3 27 R,S 0194.0000.0001
Spirent Test Center2 EC0/0/0/25/4 60 R,S 0194.0000.0011