Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     
     

    Monitoring Access Lists

    Purpose

    Display information about access lists, including instances of each access list.

    You can use the detail keyword to display the automatically assigned element ID for each access list entry. Only rules that you explicitly create have element IDs.

    Action

    To display information about access lists, including instances of each access list:

    host1#show access-list
    IP Access List 1:
        permit ip 172.31.192.217 0.0.0.0 0.0.0.0 255.255.255.255
        permit ip 12.40.0.0 0.0.0.3 0.0.0.0 255.255.255.255
        deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
    IP Access List 2:
        permit ip 172.19.0.0 0.0.255.255 0.0.0.0 255.255.255.255
        deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
    IP Access List 10:
        permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
    IP Access List 11:
        deny ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 

    To display the automatically assigned element ID for each access list entry by using the detail keyword:

    host1#show access-list detail
    IP Access List 1:
        1: permit ip host 172.31.192.217 any
        2: permit ip 12.40.0.0 0.0.0.3 any
        deny ip any any
     
     

    Published: 2014-08-13