cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1183
Views
5
Helpful
2
Replies

Debug Command For Sequence Number on ACL

niall.wilkins
Community Member

Is their a way to run the dubug command to see what is happening on a specific sequence number within and ACL?

So for example if I have:

Extended IP access list 101

301 permit udp any eq ntp host 10.251.1.1 (12 matches)

310 permit udp host 10.214.1.2 host 10.251.1.3

320 permit tcp 10.0.0.0 0.255.255.255 host 10.251.134.81 eq www (12 matches)

I want to run a debug on sequence number 310 and that is it. So I can see the type of traffic and stuff hitting this speficic sequence number of ACL 106

2 Replies 2

andrewswanson
Level 11
Level 11

try changing the acl line to:

310 permit udp host 10.214.1.2 host 10.251.1.3 log

add the global config command 'logging bufferred' and you can view the traffic hitting the logged acl line by using the command:

show log

hth

andy

mlund
Level 11
Level 11

Hi

Maybe You can try to create a new access-list with only one line.

Then use this specific list with debug.

access-list 111 permit udp host 10.214.1.2 host 10.251.1.3

debug ip packet 111

/Mikael