3Com Switch 8800 Family Configuration Guide
172 CHAPTER 21: ACL CONFIGURATION
TCP ports, and then only those traffic rules including all these elements can be
sent to target hardware and referenced for such QoS functions as packet filtering,
traffic policing, priority re-labeling. Otherwise, the rules cannot be activated on the
hardware and referenced.
Perform the following configurations in system view.
Note that the sum of all elements should not be more than 16 bytes in length. The
following table lists the length of the elements involved.
Tabl e 148 Define/Delete flow template
Operation Command
Define flow template
flow-template user-defined slot slotid
template-info
Delete flow template
undo flow-template user-defined slot
slotid
Tabl e 149 Length of template elements
Name Description Length in template
bt-flag BT flag bit 6 bytes
cos
The 802.1p priority in the most external
802.1QTag carried by the packet
2 bytes
s-tag-vlan
VLAN ID in the most exterior
802.1QTag carried by the packet
dip Destination IP field in IP packet header 4 bytes
dmac
Destination MAC field in Ethernet
packet header
6 bytes
dport Destination port field 2 bytes
dscp DSCP field in IP packet header
1 byte
ip-precedence IP precedence field in IP packet header
tos ToS field in IP packet header
exp EXP field in MPLS packet
ethernet-protocol Protocol field in Ethernet packet header 6 bytes
fragment-flags
Flag field of fragment in IP packed
header
No bytes
icmp-code ICMP code field 1 byte
icmp-type ICMP type field 1 byte
mac-type MAC-TYPE field in the packet No bytes
c-tag-cos
The 802.1p priority in the internal
802.1QTag carried by the packet
2 bytes
c-tag-vlanid
The VLAN ID in the internal 802.1QTag
carried by the packet
ip-protocol Protocol field in IP packet header 1 byte
sip Source IP field in IP packet header 4 bytes
smac MAC field in Ethernet packet header 6 bytes
sport Source port field 2 bytes
tcp-flag Flag field in TCP packet header 1 byte