TAP Series Switch Command Line Reference
| psh | rst | syn | urg |) |) | udp (src-port (range L4_PORT_NUM1 L4_PORT_NUM2 | eq
L4_PORT_NUM | gt L4_PORT_NUM | lt L4_PORT_NUM | any ) | dst-port (range
L4_PORT_NUM1 L4_PORT_NUM2 | eq L4_PORT_NUM | gt L4_PORT_NUM | lt
L4_PORT_NUM | any) | vxlan-vni ( VNI_VALUE VNI_VALUE_WILD | any )|) | icmp | igmp |
gre ( gre-key ( GRE_KEY_VALUE GRE_KEY_WILD | any )| ( erspan ( ERSPAN_KEY_VALUE
ERSPAN_KEY_WILD | any ))|) | nvgre (nvgre-vsid ( NVGRE_VSID_VALUE NVGRE_ VSID _WILD
| any )|) ) (src-ip ( IP_ADDR IP_ADDR_WILD | host IP_ADDR |any) | src-ipv6 ( IPv6_ADDR
IPv6_ADDR_WILD | host IPv6_ADDR |any)) (dst-ip ( IP_ADDR IP_ADDR_WILD | host
IP_ADDR |any) | dst-ipv6 ( IPv6_ADDR IPv6_ADDR_WILD | host IPv6_ADDR |any)) (flow-
label ( FLOW_LABEL LABEL_WILD |any)) (dscp DSCP_VALUE | ip-precedence
PRECEDENCE_VALUE|) ( first-fragment| non-first-fragment| non-fragment| non-or-first-
fragment| small-fragment | any-fragment |) (options|) (truncation|) (vlan (VLAN_ID
VLAN_WILD | any)|) (inner-vlan (VLAN_ID VLAN_WILD |any)|) (cos COS_ID|) (inner-cos
COS_ID|) (ether-type ( ETHER_TYPE_VALUE ETHER_TYPE_WILD_VALUE |any)|) (src-mac
( FLOW_MAC_ADDR FLOW_MAC_ADDR_WILD |any| host FLOW_MAC_ADDR)|) (dest-mac
( FLOW_MAC_ADDR FLOW_MAC_ADDR_WILD |any| host FLOW_MAC_ADDR)|) ( edit-
macda MAC_ADDRESS|) ( edit-macsa MAC_ADDRESS|) ( edit-ipsa IP_ADDRESS|) ( edit-ipda
IP_ADDRESS|) ( edit-ipv6sa IPv6_ADDRESS|) ( edit-ipv6da IPv6_ADDRESS|) ( edit-vlan
VLAN_ID|) ( un-tag|un-tag-outer-vlan|un-tag-inner-vlan) ( mark-source VLAN_ID|) ( strip-
header ( strip-position ( l2 | l3 | l4 )|) ( strip-offset OFFSET_VALUE |)|) (( ipv4-head | l4-
head ) UDF_VALUE UDF_VALUE_WILD UDF_OFFSET|) ( strip-inner-vxlan-header ) ( inner-
match MATCH_NAME|)
sequence-num FLOW_SEQ_NUM
Specify a sequence number to create the
flow rule.
The valid range for sequence number is 1-
65535.
If the sequence number is not specified,
system should automatically assign one
number according to the base number and
the step length. The base number is the
maximum number in the flow (0 for empty
flow), the step length is 10.
Specify the action of the flow rule. Use the