Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Chapter 1 ACL Commands
Huawei Technologies Proprietary
1-9
flow-template user-defined
slot slotid template-info
undo flow-template user-defined slot slotid
View
System view
Parameter
template-info:
Information available in defining a traffic template, its value can be:
z
bt-flag: BT flag bit, in the length of 6 bytes.
z
c-tag-cos: 802.1p priority in the internal 802.1QTag carried by the packet, in the
length of 2 bytes together with c-tag-vlanid in the flow template.
z
c-tag-vlan: the VLAN ID in the internal 802.1QTag carried by the packet, in the
length of 2 bytes together with c-tag-cos in the flow template.
z
cos: 802.1p priority in the most external 802.1QTag carried by the packet, in the
length of 2 bytes together with s-tag-vlan in the flow template.
z
dip
wildcard
: Destination IP domain in the IP packet header, in the length of 4
bytes.
z
dmac
wildcard
: Destination MAC domain in the Ethernet packet header, in the
length of 6 bytes.
z
dport: Destination port domain, in the length of 2 bytes.
z
dscp: DSCP domain in the IP packet header.
dscp, exp, ip-precedence and tos
altogether occupy 1 byte.
z
ethernet-protocol: Protocol type domain in the Ethernet packet header, in the
length of 6 bytes.
z
exp: EXP field in MPLS packet.
dscp, exp, ip-precedence and tos
altogether
occupy 1 byte.
z
fragment-flags: Flag field of fragment in IP packed header, no bytes in flow
template.
z
icmp-code: ICMP code domain, in the length of 1 byte.
z
icmp-type: ICMP type domain, in the length of 1 byte.
z
ip-precedence: IP priority domain in the IP packet header.
dscp, exp,
ip-precedence and tos
altogether occupy 1 byte.
z
ip-protocol: Protocol type domain in the IP packet header, in the length of 1 byte.
z
s-tag-vlan: The VLAN ID in the most external 802.1QTag that the packet carries, in
the length of 2 bytes together with cos in the flow template.
z
sip
wildcard
: Source IP domain in the IP packet header, in the length of 4 bytes.
z
smac
wildcard
: Source MAC domain in the Ethernet packet header, in the length
of 6 bytes.
z
sport: Source port domain, in the length of 2 bytes.
z
tcp-flag: Flag domain in the TCP packet header, in the length of 1 byte.
z
tos: TOS (type of service) domain in the IP packet header.
dscp, exp,
ip-precedence and tos
altogether occupy 1 byte.