cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
337
Views
0
Helpful
2
Replies

6509 with COS 7.4 IP Permit question

Newport_s
Level 1
Level 1

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.

2 Replies 2

sstudsdahl
Level 4
Level 4

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

That worked perfectly Steve.

Thanks a bunch!