02-17-2005 12:09 PM - edited 03-02-2019 09:43 PM
I'd like to permit a portion of a Class B subnet for snmp access. The subnet's mask on the router is 255.255.255.0 and I'd like to permit the 208 ip and fifteen IPs after it.
set ip permit ###.###.###.208 255.255.255.15 snmp
when viewing the permit list it shows:
###.###.###.0 255.255.255.15 snmp
This is only letting the first 15 IPs on the subnet in I'm pretty sure. I think the solution would be:
set ip permit ###.###.###.0 255.255.255.192
But that would permit the last 62 hosts in the subnet right? (I only want 208 - 222 allowed)
Any solutions?
Thanks in advance.
02-17-2005 12:35 PM
Try setting your ip permit list to:
###.###.###.208 255.255.255.240 (Matches .208-.223)
If you want to exclude the .223 address, you will need to break the permit list into multiple lines. These would be:
###.###.###.208 255.255.255.248 (Matches .208-.215)
###.###.###.216 255.255.255.252 (Matches .216-.219)
###.###.###.220 255.255.255.254 (Matches .220-.221)
###.###.###.222 (Matches .222)
Steve
02-20-2005 01:43 PM
That worked perfectly Steve.
Thanks a bunch!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide