C
OMMAND
L
INE
I
NTERFACE
4-124
[precedence precedence] [tos tos] [dscp dscp]
[source-port sport [end]] [destination-port dport [end]]
[control-flag control-flags flag-bitmask]
protocol-number – A specific protocol number. (Range: 0-255)
source – Source IP address.
destination – Destination IP address.
address-bitmask – Decimal number representing the address bits to
match.
host – Keyword followed by a specific IP address.
precedence – IP precedence level. (Range: 0-7)
tos – Type of Service level. (Range: 0-15)
dscp – DSCP priority level. (Range: 0-63)
sport – Protocol1 source port number. (Range: 0-65535)
dport – Protocol1 destination port number. (Range: 0-65535)
end – Upper bound of the protocol port range. (Range: 0-65535)
control-flags – Decimal number (representing a bit string) that
specifies flag bits in byte 14 of the TCP header. (Range: 0-63)
flag-bitmask – Decimal number representing the code bits to match.
(Range: 0-63)
Default Setting
None
Command Mode
Extended ACL
Command Usage
All new rules are appended to the end of the list.
Address bitmasks are similar to a subnet mask, containing four
integers from 0 to 255, each separated by a period. The binary mask
uses 1 bits to indicate “match” and 0 bits to indicate “ignore.” The
bitmask is bitwise ANDed with the specified source IP address, and
then compared with the address for each IP packet entering the port(s)
to which this ACL has been assigned.
You can specify both Precedence and ToS in the same rule. However,
if DSCP is used, then neither Precedence nor ToS can be specified.
1. Includes TCP, UDP or other protocol types.