Document No. 10-300090, Issue 1 23-5
80-Series QoS
Sample Output: Standard ACL
Rules

The following table provides examples of standard ACL rules.

[{lt <port> | eq <port> | gt
<port> | range <port>
<port>}]
A destination port or range of destination ports
that pass data between two hosts or switches
using the Transmission Control Protocol (TCP)
or the User Datagram Protocol (UDP).
Enter a number between 0 and 65,535.
For a complete list of well-known port numbers,
see the following URL:
http://www.iana.org/assignments/port-numbers
[established] Permits TCP connections to be established that
match the rule.
Table 23-1. Parameters, Keywords, Arguments
Name Definition
4 of 4

Table 23-2. Examples: Standard ACL Rules

To. . . Enter. . .

Use the DSCP in the packet to
classify all traffic that has a source
IP address in the 10.10.60 subnet.
Mask the three least significant bits
of the DSCP.
(configure)# access-list
MyAccessList1 4 permit use-
diffserv mask 10.10.60.0 0.0.0.255
Assign a priority of 7 to all traffic that
has a source IP address in the 10.10.70
subnet.
(configure)# access-list
MyAccessList1 5 permit use-
priority 7 10.10.70.0 0.0.0.255
Replace the existing DSCP with a
DSCP of 5 for all traffic that has a
source IP address in the 10.10.80
subnet.
Mask the three least significant bits
of the DSCP
(configure)# access-list
MyAccessList1 6 permit remark-
diffserv 5 mask 10.10.80.0 0.0.0.255
Use the layer 2 priority of the packet
to classify all traffic that has a source
address in the 11.11.11 subnet
(configure)# access-list
MyAccessList1 7 permit use-l2
11.11.11.0 0.0.0.255
Use the DSCP in the packet to classify
all traffic that has a source IP address
of 199.93.239.168
(configure)# access-list
MyAccessList1 8 permit use-
diffserv host 199.93.239.168
1 of 2