![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 327](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462327.webp)
18-3
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 18 Configuring the IP Permit List
Configuring the IP Permit List on the Switch
Ssh permit list disabled.
Snmp permit list disabled.
Permit List Mask Access-Type
---------------- ---------------- -------------
172.16.0.0 255.255.0.0 telnet
172.20.0.0 255.255.0.0 snmp
172.20.52.0 255.255.255.224 ssh
172.20.52.3 telnet ssh snm
Denied IP Address Last Accessed Time Type Telnet Count SNMP Count
----------------- ------------------ ------ ------------ ----------
172.100.101.104 01/20/97,07:45:20 SNMP 14 1430
172.187.206.222 01/21/97,14:23:05 Telnet 7 236
Console> (enable)
Enabling the IP Permit List
You can enable either the SNMP permit list, the Telnet permit list, or both lists. If you do not specify a
permit list, both the SNMP and Telnet permit lists are enabled.
Caution
Before enabling the IP permit list, make sure that you add the IP address of your workstation or network
management system to the permit list, especially when configuring through SNMP. Failure to do so
could result in your connection being dropped by the switch that you are configuring. We recommend
that you disable the IP permit list before clearing IP permit entries or host addresses.
To enable the IP permit list on the switch, perform this task in privileged mode:
This example shows how to enable the IP permit list and verify the configuration:
Console> (enable) set ip permit enable
Telnet, Snmp and Ssh permit list enabled
Console> (enable) set snmp trap enable ippermit
SNMP IP Permit traps enabled.
Console> (enable) set logging level ip 4 default
System logging facility <ip> set to severity 4(warnings)
Console> (enable) show ip permit
Telnet permit list enabled.
Ssh permit list enabled.
Snmp permit list enabled.
Permit List Mask Access-Type
---------------- ---------------- -------------
172.16.0.0 255.255.0.0 telnet
172.20.0.0 255.255.0.0 snmp
172.20.52.0 255.255.255.224 ssh
172.20.52.3 telnet ssh snmp
Task
Command
Step 1
Enable the IP permit list.
set ip permit enable [ssh | snmp | telnet]
Step 2
If desired, enable the IP permit trap to generate traps
for unauthorized access attempts.
set snmp trap enable ippermit
Step 3
If desired, configure the logging level to see syslog
messages for unauthorized access attempts.
set logging level ip 4 default
Step 4
Verify the IP permit list configuration.
show ip permit
show snmp