Ip Permit List Default Configuration; Configuring The Ip Permit List On The Switch; Adding Ip Addresses To The Ip Permit List - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

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
Table 18-1 IP Permit List Default Configuration
Feature
IP permit list enable state
Permit list entries
IP syslog message severity level
SNMP IP permit trap (ippermit)

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 the IP permit list, perform this task in privileged mode:
Task
Step 1
Specify the IP addresses to add to the IP permit list. set ip permit ip_address [mask] [all | snmp |
Step 2
Verify the IP permit list configuration.
This example shows how to add IP addresses to the 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.
Ssh permit list disabled.
Snmp permit list disabled.
Permit List
----------------
172.16.0.0
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
18-2
shows the default IP permit list configuration.
Mask
----------------
255.255.0.0
Chapter 18
Default Value
Disabled
None configured
2
Disabled
Command
telnet | ssh]
show ip permit
Access-Type
-------------
telnet
Configuring the IP Permit List
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents