610-0184-095
A-6 June 14, 2001
host <dest-ip-addr> is the destination IP address of the host.
The destination IP address range is 0 to 255.
[{lt|eq|gt|range} <port> [<port>]] is a range of
destination ports that pass data between two hosts or switches using
the Transmission Control Protocol (TCP) or the User Datagram
Protocol (UDP).
[established] permits TCP connections to be established that
match the rule.
* Note: You can also configure access control lists by using the
Web Agent. For information on how to use the Web Agent
to perform this task, see “Creating Standard Access Rules”
and “Creating Extended Access Rules” in Chapter 9 of
Cajun P550R/P880/P882 Switch User Guide, Version 5.0.
Examples
To assign all traffic whose source IP address is 192.188.10.1 a
priority of 0, enter:
access-list MyAccessList 1 fwd1 192.188.10.1
To assign all traffic whose source IP address is 192.188.10.2 a
priority of 1, enter:
access-list MyAccessList 2 fwd2 192.188.10.2
To assign all traffic whose source IP address is 192.188.10.3 a
priority of 2, enter:
access-list MyAccessList 3 fwd3 192.188.10.3
Displaying Access Control Lists
Use the show access-lists command to display one or more
access control lists. The correct command syntax is:
> (configure)# show access-lists [<access-list-
name>]
where:
[<access-list-name>] specifies the name of the access control
list that you want to view. If you do not specify a access control list,
the switch displays all of the access control lists.