cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
619
Views
10
Helpful
2
Replies

How to capture lldp packets?

How to capture LLDP packets?

 

Thank you very much.

Everyone's tags (5)
2 REPLIES 2
Highlighted
Beginner

Re: How to capture lldp packets?

You don't mention which platform you're using, but for the ASR9K, take a look at this Support Forums guide:

ASR9000/XR: How to use Port Spanning or Port Mirroring

 

You should be able to match LLDP traffic with a L2 ACL like this:

ethernet-services access-list LLDP 10 permit any any 0x88cc

 

Cisco Employee

Re: How to capture lldp packets?

Agreed that L2 ACL or SPAN would be easiest.

At the NP level we can look at show controller np counters and parse for LLDP, but that would only tell us if packets are coming in and getting punted or getting dropped. If they are getting dropped then we can do an NP capture to get the packets and dump the contents and convert to wireshark. The command on 5.3.x and greater is show controller np capture.

 

Thanks,

Sam

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards