brocade-communications-sy rfs6000 用户手册

下载
页码 839
478
Brocade Mobility RFS4000, RFS6000 and RFS7000 CLI Reference Guide 
53-1001931-01
Standard ACL config commands
15
mark
Specifies packets to mark
Supported in the following platforms:
Mobility RFS4000 Controller
Mobility RFS6000 Controller
Mobility RFS7000 Controller
Syntax
mark 
[8021p|dscp|tos]
mark 8021p
 <vlan-priority-value>
mark dscp
 <dscp-codepoint-value>
mark tos 
<tos-value> [<source-IP/Mask>|any|host <IP>] 
{log} {rule-precedence 
<1-5000>}
Parameters
Usage Guidelines
Use this command to mark traffic from the source network/host. Use the mark option to specify 
the type of service (TOS) and priority value. The TOS value is marked in the IP header. The 802.1p 
priority value is marked in the frame. 
When the interface receives the packet, its content is checked against the ACEs in the ACL. It is 
marked based on the ACL configuration.
8021p 
<vlan-priority-value>
Sets the 802.1p VLAN user priority value to <vlan-priority-value> 
(0-7).
dscp 
<dscp-codepoint-value>
Sets the Differentiated Services Code Point code-point value to 
<dscp-codepoint-value> (0-63)
tos <tos-value>
Sets the TOS value to <tos-value>. The least significant two bits of 
the <tos-value> must be 0. 
[<source-IP/Mask>|
any|host <IP>] {log} 
{rule-precedence 
<1-5000>}
Use with a mark command to mark packets
<source-IP/Mask>|any|host <IP> – The keyword 
<source-IP> is the source IP address of the network or host 
in dotted decimal format. The <Mask> is the network mask. 
For example, 10.1.1.10/24 indicates the first 24 bits of the 
source IP is used for matching.
any – any is an abbreviation for a source IP of 0.0.0.0 and 
source-mask bits equal to 0
host – host is an abbreviation for the exact source <IP> 
(A.B.C.D format) and source-mask bits equal to 32
log – Optional.Generates log messages when the packet 
coming from the interface matches an ACL entry. Log 
messages are generated only for router ACLs.
rule-precedence <1-5000> – Optional. Defines an integer 
value between 1-5000. This value sets the rule precedence 
in the ACL.