3Com Switch 8800 Configuration Guide
Chapter 32 ACL Configuration
32-6
Table 32-6
Length of template elements
Name
Description
Length in template
cos
802.1p priority
1 byte
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
ip-precedence
IP precedence field in IP packet header
tos
ToS field in IP packet header
exp
EXP field in MPLS packet
1 byte
ethernet-protocol Protocol field in Ethernet packet header
4 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
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
vlanid
Vlan ID of the packet
2 bytes
c-tag-cos
802.1p priority in the Internal 802.1Q tag
(internal tag of QinQ tag-in-tag
application)
2 bytes
c-tag-vlanid
Vlan ID in the internal 802.1Q tag
(internal tag of QinQ tag-in-tag
application)
2 bytes
bt-flag
Flag for Bit Torrent peer-to-peer service
2 bytes
Note:
The numbers listed in the table are not the actual length of these elements in IP packets,
but their length in flow template. DSCP field is one byte in flow template, but six bits in
IP packets. You can judge the total length of template elements using these numbers.
The dscp, exp, ip-precedence and tos fields jointly occupy one byte. One byte is
occupied no matter you define one, two or three of these fields.