2-300
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set ip permit
Examples This example shows how to add an IP address to the IP permit list:
Console> (enable) set ip permit 192.168.255.255
192.168.255.255 added to IP permit list.
Console> (enable)
This example shows how to add an IP address using an IP alias or host name to both the SNMP and Telnet
permit lists:
Console> (enable) set ip permit batboy
batboy added to IP permit list.
Console> (enable)
This example shows how to add a subnet mask of the IP address to both the SNMP and Telnet permit
lists:
Console> (enable) set ip permit 192.168.255.255 255.255.192.0
192.168.255.255 with mask 255.255.192.0 added to IP permit list.
Console> (enable)
This example shows how to add an IP address to the Telnet IP permit list:
Console> (enable) set ip permit 172.16.0.0 255.255.0.0 telnet
172.16.0.0 with mask 255.255.0.0 added to telnet permit list.
Console> (enable)
This example shows how to add an IP address to the SNMP IP permit list:
Console> (enable) set ip permit 172.20.52.32 255.255.255.224 snmp
172.20.52.32 with mask 255.255.255.224 added to snmp permit list.
Console> (enable)
This example shows how to add an IP address to all IP permit lists:
Console> (enable) set ip permit 172.20.52.3 all
172.20.52.3 added to IP permit list.
Console> (enable)
This example shows how to enable the IP permit list:
Console> (enable) set ip permit enable
Telnet, Snmp and Ssh permit list enabled
Console> (enable)
This example shows how to disable the IP permit list:
Console> (enable) set ip permit disable
Telnet, Snmp and Ssh permit list disabled.
Console> (enable)
This example shows how to enable a specific IP permit list type:
Console> (enable) set ip permit enable ssh
SSH permit list enabled.
Console> (enable)
Related Commands clear ip permit
show ip permit