Solved

Cisco - Debug an access list

Posted on 2010-08-18
3
1,425 Views
Last Modified: 2012-05-10
I would like to use a simple command to debug access-lists on a Cisco router.  The command is "debug ip packet detail 105" which will set debugging to access-list 105.  Here is my problem, how to I apply the same command if the access-list is defined by a word, not a list number?  Or is there a command that displays the access-list number of an access-list defined using a word?

Thanks....
0
Comment
Question by:captclam
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Kvistofta
ID: 33467334
There is no debug-command that "debugs" access-lists. What is it you want to debug? Most troubleshooting of access-list are done by looking at the hitcounts for each line in the acl.

What you do when you do "deb ip packet  is to debug transit packets thru the router but to only show traffic specified in the acl. That command doesnt troubleshoot the acl, that command troubleshoot traffic and the acl is a tool for specifying which traffic to look at. That command doesnt support named access-lists.

/Kvistofta
0
 
LVL 1

Author Comment

by:captclam
ID: 33469050
I understand what you are saying about debugging, so let me try asking this question.
Does a Cisco router assign a number to an access-list created by "ip access-list extended LIST_NAME"?  So does the access-list "LIST_NAME" have a number as well?  If so how can I see this number.
 
Thanks.
0
 
LVL 17

Accepted Solution

by:
Kvistofta earned 50 total points
ID: 33469084
No, named access-lists does not have a number.

/Kvistofta
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is a how to to configure a UCS Ethernet-uplink portchannel via the console. It is easy to do and can be done quite quickly. In certain versions of the UCS manager the portchannel has issues coming up and this is a workaround. I am…
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question