37-15
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 37 Configuring Network Security with ACLs
How to Configure Network Security with ACLs
Creating Named Standard and Extended ACLs
Step
2d
access-list access-list-number
{deny | permit} icmp source
source-wildcard destination
destination-wildcard [icmp-type |
[[icmp-type icmp-code] |
[icmp-message]] [precedence
precedence] [tos tos] [fragments]
[log] [log-input] [time-range
time-range-name] [dscp dscp]
(Optional) Defines an extended ICMP access list and the access conditions.
icmp—Internet Control Message Protocol.
The ICMP parameters are the same as those described for most IP pro tocols in
Step 2a, with the addition of the ICMP message type and code parameters.
These optional keywords have these meanings:
icmp-type—Filters by ICMP message type, a number from 0 to 255.
icmp-code—Filters ICMP packets that are filtered by the ICMP message
code type, a number from 0 to 255.
icmp-message—Filters ICMP packets by the ICMP message type name or
the ICMP message type and code name. To see a list of ICMP message type
names and code names, use the ?, or see the “Configuring IP Services”
section of the Cisco IOS IP Configuration Guide, Release 12.2.
Step
2e
access-list access-list-number
{deny | permit} igmp source
source-wildcard destination
destination-wildcard [igmp-type]
[precedence precedence] [tos tos]
[fragments] [log] [log-input]
[time-range time-range-name]
[dscp dscp]
(Optional) Defines an extended IGMP access list and the access conditions.
igmp—Internet Group Management Protocol.
The IGMP parameters are the same as those described for most IP protocols in
Step 2a, with this optional parameter.
igmp-type—Matches IGMP message type, enters a number from 0 to 15, or
enters the message name (dvmrp, host-query, host-report, pim, or trace).
Step 3 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 ip access-list standard name
or
ip access-list extended name
Defines a standard IPv4 access list using a name, and enters
access-list configuration mode.
The name can be a number from 1 to 99.
or
Defines an extended IPv4 access list using a name, and enters
access-list configuration mode.
The name can be a number from 100 to 199.
Command Purpose