
- 395 -
permit or deny - The ACL rule is created with two options. The protocol to filter for an ACL rule is
specified by giving the protocol to be us ed like icmp ,igmp ,ip ,tcp, udp. The command specifies a
source ip address and source mask for match condition of the ACL rule specified by the srcip and
srcmask parameters. The source layer 4 port mat ch condition for the ACL rule i s specified by the port
key parameter.
<portkey> - uses a single keyword notation and currently has the values of domain, echo, ftp,
ftpdata, http, smtp, snmp, telnet, tf tp, and www. Each of these values transl ates into its equivalent
port number, which is used as both the start and end of a port range. The com mand specifies a
destination ip address and destination mask for match condition of the ACL rule specified by the dstip
and dstmask parameters. The comman d specifies th e TOS for an ACL rule de pendin g on a match of
precedence or DSCP values usi ng the parameters tos, tosmask, dscp.
Default Setting
None
Command Mode
Global Config
7.22.2.6 no access-list
This command delete s an ACL that is identified by the parameter <accesslistnumber> from the system o r
remove an ACL rule that is identified by the parameter <1-2 8> from the an IP ACL <accesslistnumber>.
Syntax
no access-list {<1-99> | <1 00-199>} [<rule-id>]
i
The ACL number is an integer from 1 to 199. The range 1 to 99 is for the normal ACL List and
100 to 199 is for the extended ACL List.
Default Setting
None
Command Mode
Global Config
7.22.2.7 ip access-group
This command attaches a specified access-control list to an interface or associates with a VLAN ID in a
given direction. The parameter <name> is the name of the Access Control List.
An optional sequence number may be specified to indicate the orde r of this IP access list relative to other
IP access lists already assigned to this interface and direction. A lower number i ndicates higher
precedence order. If a sequen ce number is already in use for this interface and direction, the specified
access list replaces the currently attached IP access list usin g that seq uence number. If the sequence
number is not specified for this co mmand, a sequence number that is one greater than the highest
sequence number currently in use for this interface and direction is used.