Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Use SNMP to get Access-list

Hi all,

I would like to use SNMP to get the contents of a specific Access-List.

The Access-List changes daily and I'd like to create a Web Page that allows users to see if a specific entry exists, without giving them login access to the router, or having them log into CW.

If Anyone Knows the OID's necessary to get the access-lists out, I would be very grateful if you would tell me, as I've been searching for this for a donkeys year.

Many Thanks


Cisco Employee

Re: Use SNMP to get Access-list

There's no OID specifically that can pull access-list info or changes.

About the best you could do would be to use the CISCO-CONFIG-COPY-MIB to pull the config of the device and then use a script to search for patterns from there.

New Member

Re: Use SNMP to get Access-list

Hi Davistan,

Thanks for Responding so Quickly!

Copying out the config was may backup plan as I didn't really fancy giving the Web App a RW community string.

Unless anyone can think of an alternative, I think I may resort to having a demon SSH onto the box and yank out a 'show ip access-list USER_LIST' then push it to the Web App.

Thanks again for the response.

CreatePlease to create content