3com 8807 参照ガイド
ACL Commands
221
Related command: display flow-template, flow-template user-defined slot
slotid template-info.
slotid template-info.
Example
# Apply the user-defined flow template to current port Ethernet4/1/1.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] interface Ethernet2/1/1
[3Com-Ethernet4/1/1] flow-template user-defined
flow-template
user-defined
template-info
Syntax
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:
■
bt-flag: BT flag bit, in the length of 6 bytes.
■
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.
the length of 2 bytes together with c-tag-vlanid in the flow template.
■
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.
length of 2 bytes together with c-tag-cos in the flow template.
■
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.
the length of 2 bytes together with s-tag-vlan in the flow template.
■
dip wildcard: Destination IP domain in the IP packet header, in the length of 4
bytes.
bytes.
■
dmac wildcard: Destination MAC domain in the Ethernet packet header, in the
length of 6 bytes.
length of 6 bytes.
■
dport: Destination port domain, in the length of 2 bytes.
■
dscp: DSCP domain in the IP packet header. dscp, exp, ip-precedence and tos
altogether occupy 1 byte.
altogether occupy 1 byte.
■
ethernet-protocol: Protocol type domain in the Ethernet packet header, in the
length of 6 bytes.
length of 6 bytes.
■
exp: EXP field in MPLS packet. dscp, exp, ip-precedence and tos altogether
occupy 1 byte.
occupy 1 byte.
■
fragment-flags: Flag field of fragment in IP packed header, no bytes in flow
template.
template.
■
icmp-code: ICMP code domain, in the length of 1 byte.
■
icmp-type: ICMP type domain, in the length of 1 byte.
■
ip-precedence: IP priority domain in the IP packet header. dscp, exp,
ip-precedence and tos altogether occupy 1 byte.
ip-precedence and tos altogether occupy 1 byte.
■
ip-protocol: Protocol type domain in the IP packet header, in the length of 1
byte.
byte.