User manual

10-7
10.1.6 mark
Standard ACL Config Commands
Use this command to mark specific packets.
Syntax
mark(8021.1p<0-7>|tos<0-255>)(A.B.C.D/M|any|host)
mark(8021.1p<0-7>|tos<0-255>)any|host(log|rule-precedence<1-5000>|
|A.B>C.D)
Parameters
Usage Guidelines
UUse this command to mark traffic from the source network/host. Use the mark option to specify the type of
sservice (tos) and priority value. The tos value is marked in the IP header. The 802.1p priority value is marked
din the frame.
r When the interface receives the packet, its content is checked against the ACE’s in the ACL. It is marked based
oon the ACL configuration.
Example
TThe example below marks the type of service (tos) value to 254 for all traffic coming from the source network.
RFS7000(config)#access-list 3 mark tos 254 xxx.xxx.3.0/24
RFS7000(config)#access-list 3 permit any
8021.1p<0-7>|tos<0-255>) Specifies .1p priority value between 0 and 7
Specifies a Type of Service (tos) value between 0 and 255.
(A.B.C.D/M|any|host) source is the source IP address of the network or host in dotted decimal format.
Source-mask is the network mask. For example, 10.1.1.10/24 indicates the first
24 bits of the source IP are used for matching.
any
any is an abbreviation for source IP of 0.0.0.0 and source-mask bits equal to 0.
host
(log|rule-precedence<1-
5000>||A.B>C.D)
host is an abbreviation for exact source (A.B.C.D) and source-mask bits equal to
32.
NOTE The log option is functional only for router ACLs. The log option results in an
informational logging message about the packet matching the entry sent to the
console.