Showing Access Lists That contain a specific IP Address

Home Forums Networking Cisco Routers & Switches How-to Showing Access Lists That contain a specific IP Address

This topic contains 3 replies, has 2 voices, and was last updated by  Kobe 310 1 year, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • Kobe 310
    Participant
    #167058

    Using an ASA 5510

    Is there a command where i can show what access-lists contain a specific ip address. I have over a hundred access-lists, due to several site to site vpn’s, it can be difficult to scroll through all of the lists to pick out how many times a specific ip address was used.

    Thanks


    JeremyW
    Moderator
    #271496

    You can pipe your show commands to include X.X.X.X. Replace X.X.X.X with the IP you want to show. It will display any line that has that string in it.

    e.g.
    show access-list[B] | [/B]include 192.168.0.10[/CODE][CODE]show access-list | include 192.168.0.10[/CODE]


    Kobe 310
    Participant
    #363139

    awesome,thanks JW!!!!


    JeremyW
    Moderator
    #271498

    Glad to help. 8)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.