Solved

Cisco - Debug an access list

Posted on 2010-08-18
3
1,394 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
configuring snmp v2 or v3 on Cisco switches 2 49
traffic flow without STP 9 45
The purpose of using BGP 33 73
NAS with google authentication 6 63
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now