Related command: display flow-template, flow-template user-defined slot
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
Syntax
user-defined
flow-template user-defined slot slotid template-info
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.
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.
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.
dip wildcard: Destination IP domain in the IP packet header, in the length of 4
■
bytes.
dmac wildcard: Destination MAC domain in the Ethernet packet header, in the
■
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.
ethernet-protocol: Protocol type domain in the Ethernet packet header, in the
■
length of 6 bytes.
exp: EXP field in MPLS packet. dscp, exp, ip-precedence and tos altogether
■
occupy 1 byte.
fragment-flags: Flag field of fragment in IP packed header, no bytes in flow
■
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-protocol: Protocol type domain in the IP packet header, in the length of 1
■
byte.
ACL Commands
221
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers