TAP Series Switch Command Line Reference
parameter
“
permit
”
to indicate packets
match this rule is allowed to forward.
Specify the action of the flow rule. Use the
parameter “deny” to indicate packets match
this rule is not allowed to forward.
PROTOCOL_NUM | any | tcp | udp | icmp
| igmp | gre | nvgre
Specify the IP protocol number of the flow
rule.
The valid range for IP protocol number is 0-
255.
Well known IP protocols can also be
specified by name.
e.g. IP protocol 1 = icmp, 2 = igmp, 6 = tcp,
17 = udp, 47 = gre/nvgre (gre protocol
0x0800 = gre, 0x6558 = nvgre).
Parameter “any” indicates packets with any
IP protocol can match this rule.
src-port ( range L4_PORT_NUM
L4_PORT_NUM | eq L4_PORT_NUM | gt
L4_PORT_NUM | lt L4_PORT_NUM | any )
Specify the layer 4 source port of the flow
rule.
The valid range for L4 source port number is
0
–
65535.
This filed is valid only if the IP protocol is TCP
or UDP.
There are 4 methods to specify the L4 port:
1, eq (equal to)
2, lt (less than)
3, gt (greater than)
4, range
Parameter
“
any
”
indicates packets with any
L4 port can match this rule.
dst-port ( range L4_PORT_NUM
Specify the layer 4 destination port of the