![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 326](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462326.webp)
18-2
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 18 Configuring the IP Permit List
IP Permit List Default Configuration
You can specify the same IP address in more than one entry in the permit list if the masks are different.
The mask is applied to the address before it is stored in NVRAM, so that entries that have the same effect
(but different addresses) are not stored. When you add such an address to the IP permit list, the system
displays the address after the mask is applied.
IP Permit List Default Configuration
Table 18-1
shows the default IP permit list configuration.
Configuring the IP Permit List on the Switch
The following sections describe how to configure IP permit list.
Adding IP Addresses to the IP Permit List
You can add an IP address to the SNMP permit list, the Telnet permit list, or both lists.
To add IP addresses to an IP permit list, perform this task in privileged mode:
Note
You can use the set security acl command to set permit lists more efficiently.
This example shows how to add IP addresses to IP permit list and verify the configuration:
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) set ip permit 172.20.52.32 255.255.0.0 snmp
172.20.52.32 with mask 255.255.0.0 added to Snmp permit list.
Console> (enable) set ip permit 172.20.52.3 all
172.20.52.3 added to IP permit list.
Console> (enable) set ip permit 172.20.52.31 255.255.255.224 ssh
172.20.52.31 with mask 255.255.255.224 added to Ssh permit list.
Console> (enable) show ip permit
Telnet permit list disabled.
Table 18-1 IP Permit List Default Configuration
Feature
Default Value
IP permit list enable state
Disabled
Permit list entries
None configured
IP syslog message severity level
2
SNMP IP permit trap (ippermit)
Disabled
Task
Command
Step 1
Specify the IP addresses to add to the IP permit list. set ip permit ip_address [mask] [all | snmp |
telnet | ssh]
Step 2
Verify the IP permit list configuration.
show ip permit