03-31-2003 12:22 PM - edited 02-20-2020 09:21 PM
Hello, what is the best method to debug specifically router access-control lists in IOS 12.2? I would like to see if they all work as planned. I have debugging enabled on acl interface and tried 'debug ip error access-list ' , but this does not give me output for acls only. Thanks.
Solved! Go to Solution.
03-31-2003 08:50 PM
Hi ,
Best way to check is by putting log at end of access list
access-list 1 permit 5.6.0.0 0.0.255.255 log
log
(Optional) Causes an informational logging message about the packet that matches the entry to be sent to the console. (The level of messages logged to the console is controlled by the logging console command.)
The message includes the access list number, whether the packet was permitted or denied, the source address, and the number of packets. The message is generated for the first packet that matches, and then at 5-minute intervals, including the number of packets permitted or denied in the prior 5-minute interval.
Nilesh
03-31-2003 08:50 PM
Hi ,
Best way to check is by putting log at end of access list
access-list 1 permit 5.6.0.0 0.0.255.255 log
log
(Optional) Causes an informational logging message about the packet that matches the entry to be sent to the console. (The level of messages logged to the console is controlled by the logging console command.)
The message includes the access list number, whether the packet was permitted or denied, the source address, and the number of packets. The message is generated for the first packet that matches, and then at 5-minute intervals, including the number of packets permitted or denied in the prior 5-minute interval.
Nilesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide