Solved

Cisco - Debug an access list

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

Join & Write a Comment

The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…

762 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

18 Experts available now in Live!

Get 1:1 Help Now