3com 8807 Guia De Referência

Página de 1099
222
C
HAPTER
 16: ACL C
OMMANDS
Mac-type: MAC-TYPE field of a specified packet, no bytes in the flow template.
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.
sip wildcard : Source IP domain in the IP packet header, in the length of 4 bytes.
smac wildcard: Source MAC domain in the Ethernet packet header, in the 
length of 6 bytes.
sport: Source port domain, in the length of 2 bytes.
tcp-flag: Flag domain in the TCP packet header, in the length of 1 byte.
tos: TOS (type of service) domain in the IP packet header. dscp, exp, 
ip-precedence and tos
 altogether occupy 1 byte.
vlanid: VLAN ID which the switch assigns to the packet , in the length of 2 
bytes.
vpn: the flow template which is pre-defined for the MPLS L2VPN, in the length 
of 2 bytes.
The above mentioned information about how many bytes a field occupies 
applies to traffic templates instead of IP packets. For example, DSCP field 
occupies one byte in flow template, but six bits in IP packets. You can 
determines whether the total length of template elements exceeds 16 bytes 
using these numbers.
The dscp, exp, ip-precedence and tos fields jointly occupy one byte no matter 
you define any one of these four fields or the ip-precedence and tos field 
simultaneously.
The cos and s-tag-vlan fields jointly occupy two bytes no matter you define one 
or both of these two fields. The c-tag-cos and c-tag-vlanid fields occupy two 
bytes in the same way.
The fragment-flags and mac-type fields occupy no byte in the flow template, 
so just ignore them when you determine whether the total length of template 
elements exceeds 16 bytes.
slot slotid: Specifies the slot on which the flow template applied.
Description
Use the flow-template user-defined slot slotid template-info command to 
define a flow template.
Use the undo flow-template user-defined slot slotid command to delete a flow 
template.
In defining a flow template, the total length of all elements should not be more 
than 16 bytes.
Currently, the default flow template is as follows: 
ip-protocol tcp-flag sport dport icmp-type icmp-code sip 0.0.0.0 dip 0.0.0.0 vlanid
You cannot modify or delete the default flow template, but those you have 
defined.