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

ACL question

I am trying to set up a basic ACL for snmp access to our switches. I have a reservation set up on our dhcp server so that my laptop gets a certain ip every time. We have multiple subnets and seperate our subnets between admin and non admin. Our admin goes in steps of 16... ie.

10.100.16.1 - 23.255 admin

10.100.24.1 - 23.255 non-admin

10.100.32.1 - 39.255 admin

10.100.40.1 - 47.255 non-admin

etc..

I have a reservation for a .254 address for each network. I put in the following acl for a snmp acl but it does not work.

access-list 1 permit 10.100.0.254 0.0.15.0

I want only the following .254 address to work.I am using a standard acl. THe pattern of ip I want to work is the following:

10.100.16.254

10.100.32.254

10.100.48.254... etc

Can I do this?

1 REPLY
New Member

Re: ACL question

I think I understand, and you were nearly right. What you want is:

access-list 1 permit 10.100.0.254 0.0.240.0

This allows:

10.100.16.254

10.100.32.254

10.100.48.254

10.100.64.254

10.100.80.254

10.100.96.254

10.100.112.254

10.100.128.254

10.100.144.254

10.100.160.254

10.100.176.254

10.100.192.254

10.100.208.254

10.100.224.254

10.100.240.254

10.100.256.254

Hope this helps!!

103
Views
5
Helpful
1
Replies
CreatePlease to create content