cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
25944
Views
8
Helpful
2
Replies

Debug access-list

Live2 Bicycle
Level 3
Level 3

I would like to debug and access list to see if it is catching traffic I want to pass. All I can find is a debig access-expression. I do not believe this is what I am looking for. Is there some place I can look to get a good education on debugging? Is there a way to debug access-list?

1 Accepted Solution

Accepted Solutions

You could also use this:

ip access-list extended 100

permit

!

You would want to make that access-list very specific in order to avoid bringing down the router if it is sending a lot of traffic.

Then,

debug ip packet 100 detail

The detail keyword is an option, which gives you more packet details than you might want.

Also, make sure your terminal is receiving the logs by issueing the 'terminal monitor' command.

View solution in original post

2 Replies 2

olorunloba
Level 5
Level 5

By using the command show access-list it gives you the number of packets that have matched each criteria. Furthermore, you could use the log option in the configuration of the access-list for logging when a packet is matched on each criteria

You could also use this:

ip access-list extended 100

permit

!

You would want to make that access-list very specific in order to avoid bringing down the router if it is sending a lot of traffic.

Then,

debug ip packet 100 detail

The detail keyword is an option, which gives you more packet details than you might want.

Also, make sure your terminal is receiving the logs by issueing the 'terminal monitor' command.