Use this command to display the description information on all interfaces.
Command Syntax
show interface description
Command Mode
Privileged EXEC
Default
None
Usage
Use this command to display the description information on all interfaces.
Page 16
TAP Series Switch Command Line Reference
16
Examples
1.6 clear counters
The following example shows how to display the description information of all interfaces:
Switch# show interface description
NameStatusDescription
----------+-----------+--------------------------------------------------------eth-0-1downTenGigabitEthernet
eth-0-2down
eth-0-3down
eth-0-4down
eth-0-5down
eth-0-6down
eth-0-7down
eth-0-8down
eth-0-9down
eth-0-10 down
eth-0-11 down
eth-0-12 down
eth-0-13 down
eth-0-14 down
eth-0-15 down
eth-0-16 down
eth-0-17 down
eth-0-18 down
eth-0-19 down
eth-0-20 down
eth-0-21 down
eth-0-22 down
eth-0-23 down
eth-0-24 down
eth-0-25 down
eth-0-26 down
eth-0-27 down
eth-0-28 down
eth-0-29 down
eth-0-30 down
eth-0-31 down
eth-0-32 down
FGE0/33 down
FGE0/34 down
agg5downLinkAgg5
Related Commands
Show interface
Use this command to clear the counters on the interfaces.
Page 17
TAP Series Switch Command Line Reference
17
Command Syntax
IF_NAME
Specify the interface name to clear the
statistics counters.
This command supports physical or link
aggregation interfaces.
clear counters (IF_NAME |)
Command Mode
Privileged EXEC
Default
None
Usage
Use this command to clear the counters on the interfaces.
If the parameter“IF_NAME”is not specified, the command indicates that all interfaces
statistics counters information on this device should be cleared; otherwise only the specified
interface should be cleared.
Examples
This example shows how to clear the counters on all interfaces:
Switch# clear counters
This example shows how to clear the counters on the interface eth-0-1:
Switch# clear counters eth-0-1
This example shows how to clear the counters on the agg10:
Switch# clear counters agg10
Related Commands
’
show interface
Page 18
TAP Series Switch Command Line Reference
18
1.7 interface range
Use this command to operate a list of interfaces.
KLINE
Specify a range of interfaces to operate. The
interfaces’ names are joined by '-' or ','
e.g.: “eth-0-1 – 8” or “eth-0-1, eth-0-2”
Command Syntax
interface range KLINE
Command Mode
Global Configuration
Default
None
Usage
Use this command to operate a list of interfaces. Physical or link aggregation interfaces are
supported.
Examples
The following example shows how to enter interface eth-0-1 ~ eth-0-10 and shutdown these
10 interfaces:
Switch(config)# interface range eth-0-1 - 10
Switch(config-if-range)# shutdown
The following example shows how to enter interface eth-0-8 and eth-0-10, and shutdown
these 2 interfaces:
Switch(config)# interface range eth-0-8,eth-0-10
Switch(config-if-range)# shutdown
Related Commands
interface
Page 19
TAP Series Switch Command Line Reference
19
1.8 interface
Use this command to enter interface mode.
IF_NAME
Specify the interface name to enter the mode.
This command supports physical or link
aggregation interfaces.
1.9 shutdown
Command Syntax
interface IF_NAME
Command Mode
Global Configuration
Default
None
Usage
The interface name can be either a port name (i.e. eth-0-1) or link-agg name (i.e. agg1).
Examples
This example shows how to enter the interface mode for eth-0-1:
Switch(config)# interface eth-0-1
This example shows how to enter the interface mode for agg1:
Switch(config)# interface agg1
Related Commands
interface range
Use this command to shutdown an interface administratively.
Use the no form of this command to turn on an interface administratively.
Page 20
TAP Series Switch Command Line Reference
20
Command Syntax
1.10 description
LINE
Interface description string, which should
begin with a-z/A-Z, valid characters are 0-9A-
shutdown
no shutdown
Command Mode
Interface Configuration
Default
The interfaces are turned on by default.
Usage
Use the command to shutdown a port.
Examples
The following example shows how to shutdown a port:
This example shows how to remove interface eth-0-1 from static channel group:
Switch(config)# interface eth-0-1
Switch(config-if-eth-0-1)# no static-channel-group
Page 27
TAP Series Switch Command Line Reference
27
Related Commands
1.16 media-type
auto
Automatically select media type of combo
port
rj45
Set media type as rj45
sfp
Set media type as sfp
show interface
Use this command to set media type of combo port.
Command Syntax
media-type (auto| rj45| sfp)
Command Mode
Default
Usage
Examples
Interface Configuration
auto
Use this command to set media type of combo port. Different media type of the combo port
cannot be active at the same time.
This example shows how to set media type of combo port:
Switch(config-if-eth-0-1) media-type auto
Switch(config-if-eth-0-1) media-type rj45
Switch(config-if-eth-0-1) media-type sfp
Related Commands
show interface
Page 28
TAP Series Switch Command Line Reference
28
2FLOW Commands
2.1 show interface flow statistics
Use this command to show statistics information which matched the flow on the interface.
IF_NAME
Specify an interface name to show flow
statistics.
This command supports physical or link
aggregation interfaces.
FLOW_SEQ_NUM
Specify sequence-number to show flow
statistics.
If the sequence-number is not specified, this
command indicates that all rules on this
interface should be shown.
Command Syntax
show interface flow statistics IF_NAME (FLOW_SEQ_NUM|)
Command Mode
Privileged EXEC
Default
None
Usage
Use this command to show statistics information which matched the flow on the interface.
Interface name must be specified.
Examples
The following example shows how to display the flow statistic on interface eth-0-1:
Page 29
TAP Series Switch Command Line Reference
29
Switch# show interface flow statistics eth-0-1
2.2 clear interface flow statistics
IF_NAME
Specify an interface name to clear flow
statistics.
This command supports physical or link
aggregation interfaces.
TAP group name: g1
flow name: f1
sequence-num 10 permit any src-ip 10.10.10.0 0.0.0.255 dst-ip any ( bytes 100 packets 1 )
sequence-num 20 deny any src-ip any dst-ip any ( bytes 86 packets 1 )
(total bytes 186 total packets 2 )
Related Commands
show flow
clear interface flow statistics
Use this command to clear statistics information which matched the flow on the interface.
Command Syntax
clear interface flow statistics IF_NAME
Command Mode
Default
Usage
Privileged EXEC
None
Use this command to clear statistics information which matched the flow on the interface.
Interface name must be specified.
Page 30
TAP Series Switch Command Line Reference
30
Examples
2.3 show flow
NAME_STRING
Flow name, up to 20 characters.
If the flow name is not specified, this
command indicates that all flows should be
shown.
The following example shows how to clear statistics information which matched the flow on
the interface:
Switch# clear interface flow statistics eth-0-1
The following example shows the result after using the command in the example above:
Switch# show interface flow statistics eth-0-1
TAP group name: g1
flow name: f1
sequence-num 10 permit any src-ip 10.10.10.0 0.0.0.255 dst-ip any ( bytes 0 packets 0 )
sequence-num 20 deny any src-ip any dst-ip any ( bytes 0 packets 0 )
(total bytes 0 total packets 0 )
Related Commands
show interface flow statistics
Use this command to show the configuration of flow.
Command Syntax
show flow (NAME_STRING|)
Command Mode
Privileged EXEC
Default
None
Usage
Use this command to show the configuration of flow.
Page 31
TAP Series Switch Command Line Reference
31
If the flow name is not specified, this command indicates that all flows should be shown.
2.4 flow
NAME_STRING
Flow name, up to 20 characters
type decap
Set the flow type as tunnel decap.
Flow with “type decap” parameter can use
“inner-match” fields.
Examples
This example shows the configuration of flow:
Switch# show flow
flow f1
remark flow1ipdeny
sequence-num 10 permit any src-ip 10.10.10.0 0.0.0.255 dst-ip any
sequence-num 20 deny any src-ip any dst-ip any
flow f2
sequence-num 10 permit tcp src-port range 10 200 src-ip any dst-ip any
Related Commands
flow
Use this command to create Flow and then enter Flow configuration mode.
Use the no form of this command to delete the flow.
Command Syntax
flow NAME_STRING (type decap|)
no flow NAME_STRING
Command Mode
Global Configuration
Default
None
Page 32
TAP Series Switch Command Line Reference
32
Usage
2.5 remark
Examples
Use this command to create Flow and then enter Flow configuration mode.
Use the no form of this command to delete the flow.
If the system already has a flow with the same name, this command will enter the flow
configuration mode.
When the name is not used by any flow, this command is to create the flow and then enter
the flow configuration mode. When configured with parameter”type decap”means this
flow match tunnel decap, which flow entries can configure “inner-match” fields.
Notice: Decap only supported at CTC8096 (GoldenGate) based switch.
This example shows how to create a flow named f1 and then enter the flow configuration
mode.
Switch(config)# flow f1
Switch(config-flow-f1)#
The following example shows how to delete the flow
Switch(config)# no flow f1
Related Commands
show flow
Use this command to add remarks for the flow.
Use the no form of this command to delete the remarks.
Command Syntax
remark NAME_STRING
no remark
Page 33
TAP Series Switch Command Line Reference
33
NAME_STRING
Remark string for the flow, which should
begin with a-z/A-Z/0-9, valid characters are
0-9A-Za-z.-, and maximum length is 100
characters.
Command Mode
2.6 no sequence-num
Default
Usage
Examples
Flow Configuration
There is no remark of flow by default.
Use this command to add remarks for the flow.
Use the no form of this command to delete the remarks.
The remark string length is up to 100 characters. The exceed parts will not be stored and will
be truncated.
This example shows how to add a remark to describe the flow:
Switch(config-flow-f1)# remark flow1ipdeny
This example shows how to delete the remark of the flow.
Switch(config-flow-f1)# no remark
Related Commands
show flow
Use this command to delete a filter from flow.
Page 34
TAP Series Switch Command Line Reference
34
Command Syntax
FLOW_SEQ_NUM
Sequence-number with the valid range 1
–
65535.
2.7 sequence-num
no sequence-num FLOW_SEQ_NUM
Command Mode
Flow Configuration.
Default
None
Usage
Use this command to delete a filter from flow or ip access-list.
Examples
This example shows how to delete a flow filter with sequence number 10 from flow f1:
head ) UDF_VALUE UDF_VALUE_WILD UDF_OFFSET|) ( strip-inner-vxlan-header ) ( inner-
match MATCH_NAME|)
Page 36
TAP Series Switch Command Line Reference
36
parameter“permit”to indicate packets
match this rule is allowed to forward.
deny
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
Page 37
TAP Series Switch Command Line Reference
37
L4_PORT_NUM | eq L4_PORT_NUM | gt
L4_PORT_NUM | lt L4_PORT_NUM | any )
flow rule.
The valid range for L4 destination 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.
vxlan-vni ( VNI_VALUE VNI_VALUE_WILD |
any )
Specify the vxlan vni number of the flow
rule.
This filed is valid only if the IP protocol is
UDP and L4 destination port 4789.
VNI (VXLAN Network Identifier) is the
identifier on the VXLAN network, which is
similar to the traditional VLAN. Terminals in
different VXLANs cannot connect with each
other based on L2 network. One tenant uses
one VNI (even if several terminals are in
same VNI, they are regarding as one tenant).
The valid range for VNI value is 0-16777215.
The valid range for VNI wildcard bits is range
0x0-0xFFFFFF.
VNI value and VNI wildcard bits both have
24bits. If a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
Parameter“any”indicates packets with any
Page 38
TAP Series Switch Command Line Reference
38
VNI value can match this rule.
gre-key ( GRE_KEY_VALUE GRE_KEY_WILD
| any )
Specify the gre key of the flow rule.
This filed is valid only if the IP protocol is gre
(Generic Routing Encapsulation).
The valid range for gre key value is 0-
4294967295.
The valid range for gre key wildcard bits is
range 0x0- 0xFFFFFFFF.
Gre key value and wildcard bits both have
32bits, If a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
Parameter “any” indicates packets with any
gre key value can match this rule.
erspan ( ERSPAN_KEY_VALUE ERSPAN
_KEY_WILD | any )
Specify the erspan key value of the flow rule.
ERSPAN = Enhanced Remote SPAN.
Valid range for ERSPAM key value is 0-1023
Valid range for ERSPAM key wildcard bits is
0x0-0x3FF
ERSPAN key value and wildcard bits both
have 10bits, If a bit in wildcard is 0 means
this bit needs to check, otherwise this bit
should be ignored.
Parameter “any” indicates packets with any
erspan key value can match this rule.
nvgre-vsid ( NVGRE_VSID_VALUE
NVGRE_VSID_WILD | any )
Specify the nvgre vsid value of the flow rule.
Nvgre = Network Virtualization using Generic
Routing Encapsulation.
Valid range for NVGRE VSID value is 0-
16777215. Valid range for NVGRE VSID
Page 39
TAP Series Switch Command Line Reference
39
wildcard bits is 0x0-0xFFFFFF
VSID is located in the low 24 bit of GRE head.
VSID value and wildcard bits both have 24
bits, If a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
Parameter“any”indicates packets with any
nvgre vsid value can match this rule.
src ip ( IP_ADDR IP_ADDR_WILD | any |
host IP_ADDR )
Specify the source IPv4 address of the flow
rule.
Use an IPv4 address and an IPv4 address
wildcard to specify a network (e.g.
192.168.1.1 0.0.0.255). If a bit in wildcard is
0 means this bit needs to check, otherwise
this bit should be ignored.
Use the parameter“host”and an IPv4
address to specify an exactly address.
Use the parameter“any”to indicate packets
with any source IPv4 address value can
match this rule.
dst ip ( IP_ADDR IP_ADDR_WILD | any |
host IP_ADDR )
Specify the destination IPv4 address of the
flow rule.
Use an IPv4 address and an IPv4 address
wildcard to specify a network (e.g.
192.168.1.1 0.0.0.255). If a bit in wildcard is
0 means this bit needs to check, otherwise
this bit should be ignored.
Use the parameter “host” and an IPv4
address to specify an exactly address.
Use the parameter “any” to indicate packets
with any destination IPv4 address value can
Page 40
TAP Series Switch Command Line Reference
40
match this rule.
src ipv6 ( IPv6_ADDR IPv6_ADDR_WILD |
any | host IPv6_ADDR )
Specify the source IPv6 address of the flow
rule.
Use an IPv6 address and an IPv6 address
wildcard to specify a network. If a bit in
wildcard is 0 means this bit needs to check,
otherwise this bit should be ignored.
Use the parameter“host”and an IPv6
address to specify an exactly address.
Use the parameter “any” to indicate packets
with any source IPv6 address value can
match this rule.
dst ipv6 ( IPv6_ADDR IPv6_ADDR_WILD |
any | host IPv6_ADDR )
Specify the destination IPv6 address of the
flow rule.
Use an IPv6 address and an IPv6 address
wildcard to specify a network. If a bit in
wildcard is 0 means this bit needs to check,
otherwise this bit should be ignored.
Use the parameter“host”and an IPv6
address to specify an exactly address.
Use the parameter“any”to indicate packets
with any destination IPv6 address value can
match this rule.
flow-label ( FLOW_LABEL LABEL_WILD |
any )
Specify the IPv6 Flow label of the flow rule.
Valid range for flow label is 0-1048575. Valid
range for flow-label wildcard bits is 0x0-
0xFFFFF
Flow label value and wildcard bits both have
20bits, if a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
Page 41
TAP Series Switch Command Line Reference
41
Parameter“any”indicates ipv6 packets with
any flow label value can match this rule.
dscp DSCP_VALUE
Specify the DSCP in IPv4 packets value of the
flow rule.
DSCP = Differentiated Services Code Point.
Valid range of DSCP value is 0 – 63.
ip-precedence PRECEDENCE_VALUE
Specify the IP precedence in IPv4 packets of
the flow rule.
Valid range of IP precedence value is 0 – 7.
DSCP & ip precedence configurations are
exclusive
first-fragment
Match packets with first fragment
non-first-fragment
Match packets with non first fragment
non-fragment
Match packets with non fragment
non-or-first-fragment
Match packets with non first fragment
small-fragment
Match packets with small fragment
any-fragment
Match packets with any fragment
options
Match packets with IP options
truncation
Use this parameter to truncate the packets
matched this rule.
The length of truncation is configured by the
“truncation” command in global
configuration mode.
vlan ( VLAN_ID VLAN_WILD | any )
Specify the outer vlan id of the flow rule.
The valid range for vlan id is 0-4095.
The valid range for vlan id wildcard bits is
0x0-0xFFF.
Vlan id and wildcard bits both have 12bits, if
Page 42
TAP Series Switch Command Line Reference
42
a bit in wildcard is 0 means this bit needs to
check, otherwise this bit should be ignored.
Parameter“any”indicates packets with any
outer vlan id can match this rule.
inner-vlan ( VLAN_ID VLAN_WILD | any )
Specify the inner vlan id of the flow rule.
The valid range for vlan id is 0-4095.
The valid range for vlan id wildcard bits is
0x0-0xFFF.
Vlan id and wildcard bits both have 12bits, if
a bit in wildcard is 0 means this bit needs to
check, otherwise this bit should be ignored.
Parameter “any” indicates packets with any
inner vlan id can match this rule.
cos COS_ID
Specify the outer CoS value of the flow rule.
CoS = Class of Service.
The valid range of Cos is 0 to 7.
inner-cos COS_ID
Specify the inner CoS value of the flow rule.
CoS = Class of Service.
The valid range of Cos is 0 to 7.
ether-type ( ETHER_TYPE_VALUE
ETHER_TYPE_WILD_VALUE | any )
Specify the ether-type of the flow rule.
The valid range for ether-type is 0x600-
0xFFFF.
The valid range for wildcard bits is 0x600-
0xFFFF.
Ether-type value and wildcard bits both
have 16bits, if a bit in wildcard is 0 means
this bit needs to check, otherwise this bit
should be ignored.
Parameter“any”indicates packets with any
ethertype value can match this rule.
Page 43
TAP Series Switch Command Line Reference
43
src-mac ( FLOW_MAC_ADDR
FLOW_MAC_ADDR_WILD | any | host
FLOW_MAC_ADDR )
Specify the source mac address in
HHHH.HHHH.HHHH format.
Use a mac address and wildcard bits to
specify a batch of mac addresses. If a bit in
wildcard is 0 means this bit needs to check,
otherwise this bit should be ignored.
Use the parameter “host” and a mac address
to specify an exactly mac address.
Use the parameter“any”to indicate packets
with any source mac address value can
match this rule.
dest-mac ( FLOW_MAC_ADDR
FLOW_MAC_ADDR_WILD | any| host
FLOW_MAC_ADDR )
Specify the destination mac address in
HHHH.HHHH.HHHH format.
Use a mac address and wildcard bits to
specify a batch of mac addresses. If a bit in
wildcard is 0 means this bit needs to check,
otherwise this bit should be ignored.
Use the parameter “host” and a mac address
to specify an exactly mac address.
Use the parameter“any”to indicate packets
with any destination mac address value can
match this rule.
edit-macda MAC_ADDRESS
Specify the destination mac address of the
outgoing packets in HHHH.HHHH.HHHH
format.
edit-macsa MAC_ADDRESS
Specify the source mac address of the
outgoing packets in HHHH.HHHH.HHHH
format.。
edit-ipsa IP_ADDRESS
Specify the source IP address of the outgoing
packets in A.B.C.D format.。
Page 44
TAP Series Switch Command Line Reference
44
edit-ipda IP_ADDRESS
Specify the destination IP address of the
outgoing packets in A.B.C.D format.。
edit-ipv6sa IPv6_ADDRESS
Specify the source IPv6 address of the
outgoing packets.
edit-ipv6da IPv6_ADDRESS
Specify the destination IPv6 address of the
outgoing packets.
edit-vlan VLAN_ID
Specify the vlan id of the outgoing packets.
The valid range for vlan id is 1 – 4094.
un-tag
Remove vlan tags of the packets.
un-tag-outer-vlan
Remove outer vlan tag of the packets.
un-tag-inner-vlan
Remove inner vlan tag of the packets.
mark-source VLAN_ID
Specify additional outer vlan id of the
outgoing packets.
The valid range for vlan id is 1 – 4094.
strip-header [ strip-position ( l2 | l3 | l4 ) ]
[ strip-offset OFFSET_VALUE ]
Remove the outer header of the tunnel
packets.
This parameter is only valid when the packet
is gre/nvgre/vxlan.
The parameter“strip-position”specifies the
begging of the outer header.“l2”means
begin with the layer 2 tunnel header. “l3”
means begin with the layer 3 tunnel header.
“l4”
means begin with the layer 4 tunnel
header.
The parameter “strip-offset” specifies the
user- defined offset to strip the tunnel outer
header. The valid range for strip-offset is 0-
30.
strip-inner-vxlan-header
Remove the inner vxlan header in the erspan
Page 45
TAP Series Switch Command Line Reference
45
packets.
This parameter is only valid when the packet
is ERSPAN + VXLAN.
( ipv4-head | l4-head ) UDF_VALUE
UDF_VALUE_WILD UDF_OFFSET
UDF = User Define Format.
The parameter“ipv4-head”indicates the
packet is parsed at the beginning with the
IPv4 header.
The parameter“l4-head”indicates the
packet is parsed at the beginning with the
layer4 header.
Udf value and wildcard bits both have 32
bits, If a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
The parameter“UDF_OFFSET”specifies the
offset bits from the beginning. The valid
range of the offset is 0 -60.
inner-match MATCH_NAME
Specify the inner match profile of the flow
rule.
The inner-match profile is created by “inner-
match” command in global configuration
mode.
Command Mode
Flow Configuration Mode
Default
None
Page 46
TAP Series Switch Command Line Reference
46
Usage
Examples
Wildcard bits in this command are used as reversed. That means value and wildcard bits have
same length, If a bit in wildcard is 0 means this bit needs to check, otherwise this bit should
be ignored.
E.g. IP address 10.10.10.0 wildcard 0.0.0.255 means 256 ip addresses from 10.10.10.0 to
10.10.10.255.
Layer 4 information(e.g. tcp/udp port)and fragment information are exclusive.
Notice:
The parameters“gre, gre-key, nvgre, nvgre-vsid, vxlan-vni, truncation, strip-header, edit-ipsa,
ipv4-head, l4-head, inner-match” are not supported on CTC5160 (GreatBelt) based switch.
This example shows how to add a flow filter with sequence number 10 to flow f1:
Switch(config)# flow f1
Switch(config-flow-f1)# sequence-num 10 permit any src-ip 10.10.10.0 0.0.0.255 dst-ip any
Related Commands
no sequence-num
Page 47
TAP Series Switch Command Line Reference
47
3INNER-MATCH Commands
3.1 show inner-match
Use this command to show the configuration of inner-match.
INNER_MATCH_NAME
Specify an inner-match name to display.
The inner match name should begin with az/A-Z/0-9, valid characters are 0-9A-Za-z.-, and
maximum length is 20 characters.
If the parameter“INNER_MATCH_NAME”is
not specified, the command indicates that all
inner-matches on this device should be
displayed; otherwise only the specified one
should be displayed
Command Syntax
show inner-match (INNER_MATCH_NAME |)
Command Mode
Privileged EXEC
Default
None
Usage
The inner-match name can be specified or not.
This command is not supported on CTC5160 (GreatBelt) based switch.
Examples
This example shows the configuration of all inner-match:
Page 48
TAP Series Switch Command Line Reference
48
Switch# show inner-match
3.2 inner-match
NAME_STRING
Specify an inner-match name to create and
enter the mode.
The inner match name should begin with a-
z/A-Z/0-9, valid characters are 0-9A-Za-z.-,
and maximum length is 20 characters.
inner-match im1
sequence-num 1 match icmp src-ip any dst-ip any vlan any
inner-match im2
sequence-num 1 match udp dst-port eq 4758 src-ip any dst-ip host 2.2.2.2
Related Commands
inner-match
Use this command to create inner-match and then enter Inner-match configuration mode.
Use the no form of this command to delete the inner-match.
Command Syntax
inner-match INNER_MATCH_NAME
Command Mode
Default
Usage
no inner-match INNER_MATCH_NAME
Global Configuration
None
If the system already has an inner-match with the same name, this command will enter the
inner-match configuration mode.
Page 49
TAP Series Switch Command Line Reference
49
When the name is not used by any inner-match, this command is to create the inner-match
3.3 remark
NAME_STRING
Remark string for the inner-match, which
should begin with a-z/A-Z/0-9, valid characters
are 0-9A-Za-z.-, maximum length is 100
characters.
firstly and then enter the inner-match configuration mode.
This command dose not supported on CTC5160 (GreatBelt) based switch.
Examples
This example shows how to create a inner-match named im1 and then enter the inner-match
configuration mode.
Switch(config)# inner-match im1
Switch(config-inner-match-im1)#
Related Commands
show inner-match
Use this command to add remarks for the inner-match.
Command Syntax
remark NAME_STRING
no remark
Command Mode
Inner-match Configuration
Default
Default is no remarks of inner-match.
Usage
The remarks are up to 100 characters.
Page 50
TAP Series Switch Command Line Reference
50
This command does not supported on CTC5160 (GreatBelt) based switch.
3.4 no sequence-num
MATCH_SEQ_NUM
Sequence-number with the valid range 1 –
65535.
Examples
This example shows how to add a remark to describe the inner-match:
mac ( MATCH_MAC_ADDR MATCH_MAC_ADDR_WILD |any| host MATCH_MAC_ADDR)|)
Page 52
TAP Series Switch Command Line Reference
52
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 inner-match (0 for
empty inner-match), the step length is 10.
match
Match the packets according to the rule
PROTOCOL_NUM | any | tcp | udp | icmp |
igmp
Specify the IP protocol number of the innermatch 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.
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 innermatch 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
L4_PORT_NUM | eq L4_PORT_NUM | gt
L4_PORT_NUM | lt L4_PORT_NUM | any )
Specify the layer 4 destination port of the
inner-match rule.
The valid range for L4 destination 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.
src-ip ( IP_ADDR IP_ADDR_WILD | any | host
IP_ADDR )
Specify the source IPv4 address of the innermatch rule.
Page 53
TAP Series Switch Command Line Reference
53
Use an IPv4 address and an IPv4 address
wildcard to specify a network (e.g.
192.168.1.1 0.0.0.255). If a bit in wildcard is 0
means this bit needs to check, otherwise this
bit should be ignored.
Use the parameter “host” and an IPv4 address
to specify an exactly address.
Use the parameter“any”to indicate packets
with any source IPv4 address value can match
this rule.
dst-ip ( IP_ADDR IP_ADDR_WILD | any | host
IP_ADDR )
Specify the destination IPv4 address of the
inner-match rule.
Use an IPv4 address and an IPv4 address
wildcard to specify a network (e.g.
192.168.1.1 0.0.0.255). If a bit in wildcard is 0
means this bit needs to check, otherwise this
bit should be ignored.
Use the parameter “host” and an IPv4 address
to specify an exactly address.
Use the parameter“any”to indicate packets
with any destination IPv4 address value can
match this rule.
src-ipv6 ( IPv6_ADDR IPv6_ADDR_WILD | any |
host IPv6_ADDR )
Specify the source IPv6 address of the innermatch rule.
Use an IPv6 address and an IPv6 address
wildcard to specify a network. If a bit in
wildcard is 0 means this bit needs to check,
otherwise this bit should be ignored.
Use the parameter “host” and an IPv6 address
to specify an exactly address.
Use the parameter “any” to indicate packets
with any source IPv6 address value can match
this rule.
dst-ipv6 ( IPv6_ADDR IPv6_ADDR_WILD | any
| host IPv6_ADDR )
Specify the destination IPv6 address of the
inner-match rule.
Use an IPv6 address and an IPv6 address
wildcard to specify a network. If a bit in
wildcard is 0 means this bit needs to check,
otherwise this bit should be ignored.
Use the parameter “host” and an IPv6 address
to specify an exactly address.
Use the parameter “any” to indicate packets
with any destination IPv6 address value can
match this rule.
flow-label ( FLOW_LABEL LABEL_WILD | any )
Specify the IPv6 Flow label of the inner-match
rule.
Valid range for flow label is 0-1048575. Valid
range for flow-label wildcard bits is 0x00xFFFFF
Page 54
TAP Series Switch Command Line Reference
54
Flow label value and wildcard bits both have
20bits, if a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
Parameter“any”indicates ipv6 packets with
any flow label value can match this rule.
dscp DSCP_VALUE
Specify the DSCP in IPv4 packets value of the
inner-match rule.
DSCP = Differentiated Services Code Point.
Valid range of DSCP value is 0 – 63.
ip-precedence PRECEDENCE_VALUE
Specify the IP precedence in IPv4 packets of
the inner-match rule.
Valid range of IP precedence value is 0–7.
DSCP & ip precedence configurations are
exclusive
first-fragment
Match packets with first fragment
non-first-fragment
Match packets with non first fragment
non-fragment
Match packets with non fragment
non-or-first-fragment
Match packets with non first fragment
small-fragment
Match packets with small fragment
any-fragment
Match packets with any fragment
options
Match packets with IP options
vlan ( VLAN_ID VLAN_WILD | any )
Specify the outer vlan id of the inner-match
rule.
The valid range for vlan id is 0-4095.
The valid range for vlan id wildcard bits is 0x00xFFF.
Vlan id and wildcard bits both have 12bits, if a
bit in wildcard is 0 means this bit needs to
check, otherwise this bit should be ignored.
Parameter “any” indicates packets with any
outer vlan id can match this rule.
inner-vlan ( VLAN_ID VLAN_WILD | any )
Specify the inner vlan id of the inner-match
rule.
The valid range for vlan id is 0-4095.
The valid range for vlan id wildcard bits is 0x00xFFF.
Vlan id and wildcard bits both have 12bits, if a
bit in wildcard is 0 means this bit needs to
check, otherwise this bit should be ignored.
Parameter“any”indicates packets with any
inner vlan id can match this rule.
cos COS_ID
Specify the outer CoS value of the inner-match
rule.
Page 55
TAP Series Switch Command Line Reference
55
CoS = Class of Service.
The valid range of Cos is 0 to 7.
inner-cos COS_ID
Specify the inner CoS value of the inner-match
rule.
CoS = Class of Service.
The valid range of Cos is 0 to 7.
ether-type ( ETHER_TYPE_VALUE
ETHER_TYPE_WILD_VALUE | any )
Specify the ether-type of the inner-match rule.
The valid range for ether-type is 0x6000xFFFF.
The valid range for wildcard bits is 0x6000xFFFF.
Ether-type value and wildcard bits both have
16bits, if a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
Parameter“any”indicates packets with any
ethertype value can match this rule.
src-mac ( MATCH_MAC_ADDR
MATCH_MAC_ADDR_WILD | any | host
MATCH_MAC_ADDR )
Specify the source mac address in
HHHH.HHHH.HHHH format.
Use a mac address and wildcard bits to specify
a batch of mac addresses. If a bit in wildcard is
0 means this bit needs to check, otherwise
this bit should be ignored.
Use the parameter“host”and a mac address
to specify an exactly mac address.
Use the parameter “any” to indicate packets
with any source mac address value can match
this rule.
Specify the destination mac address in
HHHH.HHHH.HHHH format.
Use a mac address and wildcard bits to specify
a batch of mac addresses. If a bit in wildcard is
0 means this bit needs to check, otherwise
this bit should be ignored.
Use the parameter“host”and a mac address
to specify an exactly mac address.
Use the parameter “any” to indicate packets
with any destination mac address value can
match this rule.
Command Mode
Inner-match Configuration
Page 56
TAP Series Switch Command Line Reference
56
Default
Usage
None
Wildcard bits in this command are used as reversed. That means value and wildcard bits have
same length, If a bit in wildcard is 0 means this bit needs to check, otherwise this bit should
be ignored.
E.g.: ip address 10.10.10.0 wildcard 0.0.0.255 means 256 ip addresses from 10.10.10.0 to
10.10.10.255.
Layer 4 information (e.g. tcp/udp port)and fragment information are exclusive.
Notice:
This command does not supported on CTC5160 (GreatBelt) based switch.
Examples
This example shows how to add an inner-match filter with sequence number 10 to im1:
Switch(config)# inner-match im1
Switch(config-inner-match-im1)# sequence-num 10 match icmp src-ip 10.10.10.0 0.0.0.255 dst-ip
any
Related Commands
no sequence-num
Page 57
TAP Series Switch Command Line Reference
57
4ACL Commands
4.1 show interface egress ip access-list
Use this command to show egress statistics of ip access-list on an interface.
IF_NAME
Specify the interface name to show IP ACL
statistics.
This command supports physical or link
aggregation interfaces.
Command Syntax
show interface egress ip access-list statistics IF_NAME
Command Mode
Privileged EXEC
Default
None
Usage
Use this command to show egress statistics of ip access-list. The interface name must be
specified.
Examples
This example shows the egress ip access-list statistic of interface eth-0-1:
Switch# show interface egress ip access-list statistics eth-0-1
egress flow f2
sequence-num 10 permit tcp src-port range 10 200 src-ip any dst-ip any ( bytes 124 packets 1 )
(total bytes 124 total packets 1 )
Page 58
TAP Series Switch Command Line Reference
58
Related Commands
4.2 clear interface egress ip access-list
IF_NAME
Specify the interface name to clear IP ACL
statistics.
This command supports physical or link
aggregation interfaces.
clear interface egress ip access-list
Use this command to clear egress statistics of ip access-list on an interface.
Command Syntax
clear interface egress ip access-list statistics IF_NAME
Command Mode
Default
Usage
Examples
Privileged EXEC
None
Use this command to clear egress statistics of ip access-list. The interface name must be
specified.
This example shows how to clear the egress ip access-list statistic of interface eth-0-1:
Switch# clear interface egress ip access-list statistics eth-0-1
This example shows the egress ip access-list statistic of interface eth-0-1:
Switch# show interface egress ip access-list statistics eth-0-1
egress flow f2
sequence-num 10 permit tcp src-port range 10 200 src-ip any dst-ip any ( bytes 0 packets 0 )
(total bytes 0 total packets 0 )
Page 59
TAP Series Switch Command Line Reference
59
Related Commands
4.3 show ip access-list
NAME_STRING
Ip access-list name, up to 20 characters
show interface egress ip access-list
Use this command to show the configuration of ip access-list.
Command Syntax
show ip access-list (NAME_STRING|)
Command Mode
Privileged EXEC
Default
None
Usage
Use this command to show the configuration of ip access-list.
If the parameter“NAME_STRING”is not specified, the command indicates that all ip access-
list on this device should be displayed; otherwise only the specified one should be displayed.
Examples
This example shows the configuration of ip access-list:
Switch# show ip access-list
ip access-list f2
sequence-num 10 permit tcp src-port range 10 200 src-ip any dst-ip any
Related Commands
ip access-list
Page 60
TAP Series Switch Command Line Reference
60
4.4 ip access-list
Use this command to create IP ACL and then enter IP ACL configuration mode.
NAME_STRING
IP access-list name string, which should begin
with a-z/A-Z/0-9, valid characters are 0-9A-Zaz.-, and maximum length is 20 characters.
Use the no form of this command to delete the IP ACL.
Command Syntax
ip access-list NAME_STRING
Command Mode
Global Configuration
Default
None
Usage
If the system already has an IP ACL with the same name, this command will enter the IP ACL
configuration mode
When the name is not used by any ACL, this command is to create the IP ACL firstly and then
enter the IP ACL configuration mode.
Examples
This example shows how to create an IP ACL named f1 and then enter the IP ACL
configuration mode:
Switch(config)# ip access-list f1
Switch(config-acl-f1)#
Related Commands
show ip access-list
Page 61
TAP Series Switch Command Line Reference
61
4.5 remark
Use this command to add remarks for the flow or ip access-list.
NAME_STRING
Remark string for the IP ACL which should
begin with a-z/A-Z/0-9, valid characters are
0-9A-Za-z.-, maximum length is 100
characters.
Command Syntax
remark NAME_STRING
Command Mode
ACL Configuration
Default
Default is no remarks of flow or ip access-list.
Usage
The remarks are up to 100 characters. The exceed parts will not be stored and will be
truncated.
Examples
This example shows how to add a remark to describe the IP ACL:
Switch(config-acl-acl1)# remark acl1ipdeny
This example shows how to remove the remark:
Switch(config-acl-acl1)# no remark
Related Commands
show ip access-list
Page 62
TAP Series Switch Command Line Reference
62
4.6 no sequence-num
Use this command to delete a filter from ip access-list.
ACL_SEQ_NUM
Sequence-number with the valid range 1
–
65535.
4.7 sequence-num acl_seq
Command Syntax
no sequence-num ACL_SEQ_NUM
Command Mode
ACL Configuration
Default
None
Usage
Use this command to delete a filter from ip access-list.
Examples
This example shows how to delete a flow filter with sequence number 10 from ip acl acl1:
Switch(config-acl-acl1)# no sequence-num 10
Related Commands
show ip access-list
sequence-num
Use this command to permit or deny packets matching the ip access-list filter.
Page 63
TAP Series Switch Command Line Reference
63
Command Syntax
sequence-num ACL_SEQ_NUM
Specify a sequence number to create the acl
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.
permit
Specify the action of the acl rule. Use the
parameter “permit” to indicate packets match
this rule is allowed to forward.
deny
Specify the action of the acl 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 layer 4 destination port of the acl
rule.
The valid range for L4 destination 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.
src-ip ( IP_ADDR IP_ADDR_WILD | any | host
IP_ADDR )
Specify the source IPv4 address of the acl rule.
Use an IPv4 address and an IPv4 address
wildcard to specify a network (e.g. 192.168.1.1
0.0.0.255). If a bit in wildcard is 0 means this
bit needs to check, otherwise this bit should
be ignored.
Use the parameter“host”and an IPv4 address
to specify an exactly address.
Use the parameter“any”to indicate packets
with any source IPv4 address value can match
this rule.
dst-ip ( IP_ADDR IP_ADDR_WILD | any | host
IP_ADDR )
Specify the destination IPv4 address of the acl
rule.
Use an IPv4 address and an IPv4 address
wildcard to specify a network (e.g. 192.168.1.1
0.0.0.255). If a bit in wildcard is 0 means this
Page 65
TAP Series Switch Command Line Reference
65
bit needs to check, otherwise this bit should
be ignored.
Use the parameter “host” and an IPv4 address
to specify an exactly address.
Use the parameter“any”to indicate packets
with any destination IPv4 address value can
match this rule.
src-ipv6 ( IPv6_ADDR IPv6_ADDR_WILD | any
| host IPv6_ADDR )
Specify the source IPv6 address of the acl rule.
Use an IPv6 address and an IPv6 address
wildcard to specify a network. If a bit in
wildcard is 0 means this bit needs to check,
otherwise this bit should be ignored.
Use the parameter “host” and an IPv6 address
to specify an exactly address.
Use the parameter“any”to indicate packets
with any source IPv6 address value can match
this rule.
dst-ipv6 ( IPv6_ADDR IPv6_ADDR_WILD | any
| host IPv6_ADDR )
Specify the destination IPv6 address of the acl
rule.
Use an IPv6 address and an IPv6 address
wildcard to specify a network. If a bit in
wildcard is 0 means this bit needs to check,
otherwise this bit should be ignored.
Use the parameter“host”and an IPv6 address
to specify an exactly address.
Use the parameter “any” to indicate packets
with any destination IPv6 address value can
match this rule.
flow-label ( FLOW_LABEL LABEL_WILD | any )
Specify the IPv6 Flow label of the acl rule.
Valid range for flow label is 0-1048575. Valid
range for flow-label wildcard bits is 0x00xFFFFF
Flow label value and wildcard bits both have
20bits, if a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
Parameter “any” indicates ipv6 packets with
any flow label value can match this rule.
dscp DSCP_VALUE
Specify the DSCP in IPv4 packets value of the
acl rule.
DSCP = Differentiated Services Code Point.
Valid range of DSCP value is 0 – 63.
ip-precedence PRECEDENCE_VALUE
Specify the IP precedence in IPv4 packets of
the acl rule.
Valid range of IP precedence value is 0 – 7.
DSCP & ip precedence configurations are
exclusive
Page 66
TAP Series Switch Command Line Reference
66
first-fragment
Match packets with first fragment
non-first-fragment
Match packets with non first fragment
non-fragment
Match packets with non fragment
non-or-first-fragment
Match packets with non first fragment
small-fragment
Match packets with small fragment
any-fragment
Match packets with any fragment
options
Match packets with IP options
vlan ( VLAN_ID VLAN_WILD | any )
Specify the outer vlan id of the acl rule.
The valid range for vlan id is 0-4095.
The valid range for vlan id wildcard bits is 0x00xFFF.
Vlan id and wildcard bits both have 12bits, if a
bit in wildcard is 0 means this bit needs to
check, otherwise this bit should be ignored.
Parameter“any”indicates packets with any
outer vlan id can match this rule.
inner-vlan ( VLAN_ID VLAN_WILD | any )
Specify the inner vlan id of the acl rule.
The valid range for vlan id is 0-4095.
The valid range for vlan id wildcard bits is 0x00xFFF.
Vlan id and wildcard bits both have 12bits, if a
bit in wildcard is 0 means this bit needs to
check, otherwise this bit should be ignored.
Parameter“any”indicates packets with any
inner vlan id can match this rule.
cos COS_ID
Specify the outer CoS value of the acl rule.
CoS = Class of Service.
The valid range of Cos is 0 to 7.
inner-cos COS_ID
Specify the inner CoS value of the acl rule.
CoS = Class of Service.
The valid range of Cos is 0 to 7.
ether-type ( ETHER_TYPE_VALUE
ETHER_TYPE_WILD_VALUE | any )
Specify the ether-type of the acl rule.
The valid range for ether-type is 0x600-0xFFFF.
The valid range for wildcard bits is 0x6000xFFFF.
Ether-type value and wildcard bits both have
16bits, if a bit in wildcard is 0 means this bit
needs to check, otherwise this bit should be
ignored.
Parameter “any” indicates packets with any
ethertype value can match this rule.
src-mac ( ACL_MAC_ADDR
ACL_MAC_ADDR_WILD | any | host
Specify the source mac address in
HHHH.HHHH.HHHH format.
Page 67
TAP Series Switch Command Line Reference
67
ACL_MAC_ADDR )
Use a mac address and wildcard bits to specify
a batch of mac addresses. If a bit in wildcard is
0 means this bit needs to check, otherwise this
bit should be ignored.
Use the parameter“host”and a mac address
to specify an exactly mac address.
Use the parameter “any” to indicate packets
with any source mac address value can match
this rule.
Specify the destination mac address in
HHHH.HHHH.HHHH format.
Use a mac address and wildcard bits to specify
a batch of mac addresses. If a bit in wildcard is
0 means this bit needs to check, otherwise this
bit should be ignored.
Use the parameter“host”and a mac address
to specify an exactly mac address.
Use the parameter “any” to indicate packets
with any destination mac address value can
match this rule.
( ipv4-head | l4-head ) UDF_VALUE
UDF_VALUE_WILD UDF_OFFSET
UDF = User Define Format.
The parameter “ipv4-head” indicates the
packet is parsed at the beginning with the IPv4
header.
The parameter “l4-head” indicates the packet
is parsed at the beginning with the layer4
header.
Udf value and wildcard bits both have 32 bits,
If a bit in wildcard is 0 means this bit needs to
check, otherwise this bit should be ignored.
The parameter“UDF_OFFSET”specifies the
offset bits from the beginning. The valid range
of the offset is 0 -60.
Command Mode
ACL Configuration Mode
Default
None
Page 68
TAP Series Switch Command Line Reference
68
Usage
4.8 egress
NAME_STRING
IP access-list name string, which should begin
with a-z/A-Z/0-9, valid characters are 0-9A-Za-
Examples
Wildcard bits in this command are used as reversed. That means value and wildcard bits have
same length, If a bit in wildcard is 0 means this bit needs to check, otherwise this bit should
be ignored.
E.g.: ip address 10.10.10.0 wildcard 0.0.0.255 means 256 ip addresses from 10.10.10.0 to
10.10.10.255.
Layer 4 information(e.g. tcp/udp port)and fragment information are exclusive.
Notice:
The parameters“ipv4-head, l4-head”are not supported on CTC5160 (GreatBelt) based
switch.
This example shows how to add an acl filter with sequence number 10 to acl test1:
Switch(config)# ip access-list test1
Switch(config-acl-test1)# sequence-num 10 permit any src-ip 10.10.10.0 0.0.0.255 dst-ip any
Related Commands
no sequence-num
show ip access-list
Use this command to apply IPv4 access list on the outbound direction of an interface
Use the no form of this command to remove the IPv4 access list.
Command Syntax
egress NAME_STRING
no egress
Page 69
TAP Series Switch Command Line Reference
69
z.-, maximum length is 20 characters.
Command Mode
Default
Usage
Examples
Interface Configuration
None.
Use this command to apply IPv4 access list on the outbound direction of an interface
Use the no form of this command to remove the IPv4 access list.
This command supports physical or link aggregation interfaces.
The example shows how to apply the access list f1 to egress direction eth-0-9
Switch(config)# interface eth-0-19
Switch(config-if-eth-0-19)# egress f1
Related Commands
ip access-list
Page 70
TAP Series Switch Command Line Reference
70
5TAP Commands
5.1 tap-group
Use this command to create a TAP group and enter the tap configuration mode.
TAPNAME
Tap Group Name string, which should begin
with a-z/A-Z, valid characters are 0-9A-Za-z.-
, maximum length is 20 characters.
NUM
Tap Group ID, range 1-512
Use the no form of this command to delete the TAP group.
Command Syntax
tap-group TAPNAME (NUM |)
no tap-group TAPNAME
Command Mode
Global Configuration
Default
None
Usage
Use this command to create a TAP group and enter the tap configuration mode.
Use the no form of this command to delete the TAP group.
This device supports at most 512 TAP groups.
Page 71
TAP Series Switch Command Line Reference
71
Examples
5.2 description
LINE
TAP group description string, which should
begin with a-z/A-Z, valid characters are 0-9AZa-z.-, maximum length is 80 characters.
The following example shows how to create a tap-group:
agg5(SD) SLB Static eth-0-5(D)
agg10(SD) SLB Static eth-0-3(D)eth-0-4(D)
This example shows how to display summary information of the channel group 10:
Switch# show channel-group 10 summary
port-channel load-balance hash-arithmetic: xor
port-channel load-balance tunnel-hash-mode: both
Port-channel load-balance hash-field-select: