FS TAP Series Reference Manual

FS TAP Series Reference Manual

Command line reference
Table of Contents

Advertisement

FS Network TAP Series
Command Line Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TAP Series and is the answer not in the manual?

Questions and answers

Summary of Contents for FS TAP Series

  • Page 1 FS Network TAP Series Command Line Reference...
  • Page 2: Table Of Contents

    TAP Series Switch Command Line Reference Table of Contents 1 INTERFACE Commands........................10 1.1 show management interface....................10 1.2 show interface........................... 11 1.3 show interface summary......................12 1.4 show interface status........................ 14 1.5 show interface description......................15 1.6 clear counters..........................16 1.7 interface range...........................18 1.8 interface.............................19...
  • Page 3 TAP Series Switch Command Line Reference 4.1 show interface egress ip access-list ..................57 4.2 clear interface egress ip access-list ................... 58 4.3 show ip access-list........................59 4.4 ip access-list..........................60 4.5 remark............................61 4.6 no sequence-num........................62 4.7 sequence-num acl_seq......................62 4.8 egress............................68 5 TAP Commands ..........................
  • Page 4 TAP Series Switch Command Line Reference 9.4 no port-channel ......................... 99 9.5 port-channel load-balance-mode ................... 100 9.6 port-channel load-balance hash-arithmetic................100 9.7 port-channel load-balance set....................101 9.8 port-channel load-balance tunnel-hash-mode...............103 9.9 port-channel load-balance...................... 104 10 NTP Commands...........................106 10.1 show ntp..........................106 10.2 show ntp status........................
  • Page 5 TAP Series Switch Command Line Reference 12.15 logging server facility ......................134 12.16 logging server address ......................136 12.17 logging merge........................137 13 SNMP Commands........................139 13.1 show snmp..........................139 13.2 show snmp-server version ....................140 13.3 show snmp-server community ....................140 13.4 show snmp-server engineID....................141...
  • Page 6 TAP Series Switch Command Line Reference 14.12 show key config ........................170 14.13 show key string ........................171 14.14 show tacacs......................... 172 14.15 show aaa status........................173 14.16 show aaa privilege mapping....................174 14.17 show aaa method-lists......................175 14.18 line console..........................176 14.19 line vty..........................
  • Page 7 TAP Series Switch Command Line Reference 14.49 aaa new-model ........................205 14.50 aaa authentication login ...................... 207 14.51 aaa authorization exec......................208 14.52 aaa accounting exec......................209 14.53 aaa accounting commands....................210 14.54 aaa privilege mapping......................211 14.55 debug aaa..........................212 14.56 exec-timeout........................213...
  • Page 8 TAP Series Switch Command Line Reference 17.3 format udisk: ......................... 283 17.4 umount udisk: ........................284 17.5 management ip address......................285 17.6 management route gateway....................286 17.7 service telnet enable......................287 17.8 service http..........................288 18 SYSTEM CONFIGURATION Commands..................290 18.1 disable............................290 18.2 enable............................
  • Page 9 TAP Series Switch Command Line Reference 19 DEVICE Commands........................321 19.1 show version .......................... 321 19.2 show stm prefer........................322 19.3 show environment.........................323 19.4 show clock..........................324 19.5 show transceiver........................325 19.6 show system summary......................327 19.7 show reboot-info........................328 19.8 clear reboot-info........................330 19.9 set device id-led........................330...
  • Page 10: Interface Commands

    TAP Series Switch Command Line Reference INTERFACE Commands 1.1 show management interface Use this command to display the status and configurations on management interface. Command Syntax show management interface Command Mode Privileged EXEC Default None Usage Use this command to display the states and configurations on management interface.
  • Page 11: Show Interface

    TAP Series Switch Command Line Reference Related Commands show interface status 1.2 show interface Use this command to display the configurations and statistics on all interfaces or one interface. Command Syntax show interface (IF_NAME |) IF_NAME Specify the interface name to show.
  • Page 12: Show Interface Summary

    TAP Series Switch Command Line Reference Admin input flow-control is off, output flow-control is off Oper input flow-control is off, output flow-control is off The Maximum Frame Size is 1632 bytes 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec...
  • Page 13 TAP Series Switch Command Line Reference Examples The following example shows how to display the statistic of interface eth-0-1: Switch# show interface summary eth-0-1 RXBS: rx rate (bits/sec) RXPS: rx rate (pkts/sec) TXBS: tx rate (bits/sec) TXPS: tx rate (pkts/sec)
  • Page 14: Show Interface Status

    TAP Series Switch Command Line Reference 1.4 show interface status Use this command to display the brief information on all physical and link aggregation interfaces. Command Syntax show interface status Command Mode Privileged EXEC Default None Usage Use this command to display the brief information on all physical and link aggregation interfaces.
  • Page 15: Show Interface Description

    TAP Series Switch Command Line Reference eth-0-16 down auto auto trunk UNKNOWN eth-0-17 down auto auto trunk UNKNOWN eth-0-18 down auto auto trunk UNKNOWN eth-0-19 down auto auto trunk UNKNOWN eth-0-20 down auto auto trunk UNKNOWN eth-0-21 down auto auto...
  • Page 16: Clear Counters

    TAP Series Switch Command Line Reference Examples The following example shows how to display the description information of all interfaces: Switch# show interface description Name Status Description ----------+-----------+--------------------------------------------------------- eth-0-1 down TenGigabitEthernet eth-0-2 down eth-0-3 down eth-0-4 down eth-0-5 down eth-0-6...
  • Page 17 TAP Series Switch Command Line Reference Command Syntax clear counters (IF_NAME |) IF_NAME Specify the interface name to clear the statistics counters. This command supports physical or link aggregation interfaces. Command Mode Privileged EXEC Default None Usage Use this command to clear the counters on the interfaces.
  • Page 18: Interface Range

    TAP Series Switch Command Line Reference 1.7 interface range Use this command to operate a list of interfaces. Command Syntax interface range KLINE KLINE Specify a range of interfaces to operate. The interfaces’ names are joined by '-' or ',' e.g.: “eth-0-1 –...
  • Page 19: Interface

    TAP Series Switch Command Line Reference 1.8 interface Use this command to enter interface mode. Command Syntax interface IF_NAME IF_NAME Specify the interface name to enter the mode. This command supports physical or link aggregation interfaces. Command Mode Global Configuration...
  • Page 20: Description

    TAP Series Switch Command Line Reference Command Syntax 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:...
  • Page 21: Speed

    TAP Series Switch Command Line Reference Za-z.-, and maximum length is 64 characters. Command Mode Interface Configuration Default The interface has no description by default. Usage Use this command to set the description on the interface. Examples The following example sets the description on the interface:...
  • Page 22: Duplex

    TAP Series Switch Command Line Reference Force 10Mb/s Force 100Mb/s 1000 Force 1000Mb/s 2.5G Force 2.5Gb/s Force 5Gb/s Force 10Gb/s Force 40Gb/s 100G Force 100Gb/s Command Mode Interface Configuration Default Auto Usage The command is used to set the speed on port.
  • Page 23 TAP Series Switch Command Line Reference Use the no form of this command to restore the default configuration. Command Syntax duplex (auto| full| half) no duplex auto Enable auto negotiation for the duplex of a port. The duplex mode should depend on both local and remote device, the port should get the mode automatically.
  • Page 24: Unidirectional

    TAP Series Switch Command Line Reference Switch(config-if-eth-0-1)# no duplex Related Commands show interface status show interface 1.13 unidirectional Use the command to set unidirectional function for a port. Command Syntax unidirectional (enable | disable | rx-only) enable Enable unidirectional disable...
  • Page 25: Fec

    TAP Series Switch Command Line Reference Related Commands show interface status show interface 1.14 fec Use the command to set fec function for a port. Command Syntax fec (enable| disable) enable Enable fec disable Disable fec Command Mode Interface Configuration...
  • Page 26: Static-Channel-Group

    TAP Series Switch Command Line Reference 1.15 static-channel-group Use this command to assign a port to a static channel group. Use the no form of this command to remove it from the channel group. Command Syntax static-channel-group AGG_GID no static-channel-group AGG_GID Channel group id.
  • Page 27: Media-Type

    TAP Series Switch Command Line Reference Related Commands show interface 1.16 media-type Use this command to set media type of combo port. Command Syntax media-type (auto| rj45| sfp) auto Automatically select media type of combo port rj45 Set media type as rj45...
  • Page 28: Flow Commands

    TAP Series Switch Command Line Reference FLOW Commands 2.1 show interface flow statistics Use this command to show statistics information which matched the flow on the interface. Command Syntax show interface flow statistics IF_NAME (FLOW_SEQ_NUM|) IF_NAME Specify an interface name to show flow statistics.
  • Page 29: Clear Interface Flow Statistics

    TAP Series Switch Command Line Reference 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 100 packets 1 ) sequence-num 20 deny any src-ip any dst-ip any ( bytes 86 packets 1 )
  • Page 30: Show Flow

    TAP Series Switch Command Line Reference Examples 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:...
  • Page 31: Flow

    TAP Series Switch Command Line Reference If the flow name is not specified, this command indicates that all flows should be shown. 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...
  • Page 32: Remark

    TAP Series Switch Command Line Reference Usage 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.
  • Page 33: No Sequence-Num

    TAP Series Switch Command Line Reference 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 Flow Configuration Default There is no remark of flow by default.
  • Page 34: Sequence-Num

    TAP Series Switch Command Line Reference Command Syntax no sequence-num FLOW_SEQ_NUM FLOW_SEQ_NUM Sequence-number with the valid range 1 – 65535. Command Mode Flow Configuration. Default None Usage Use this command to delete a filter from flow or ip access-list. Examples...
  • Page 35 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...
  • Page 36 TAP Series Switch Command Line Reference 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.
  • Page 37 TAP Series Switch Command Line Reference L4_PORT_NUM | eq L4_PORT_NUM | gt flow rule. L4_PORT_NUM | lt L4_PORT_NUM | any ) The valid range for L4 destination port number is 0 – 65535. This filed is valid only if the IP protocol is TCP or UDP.
  • Page 38 TAP Series Switch Command Line Reference VNI value can match this rule. gre-key ( GRE_KEY_VALUE GRE_KEY_WILD Specify the gre key of the flow rule. | any ) This filed is valid only if the IP protocol is gre (Generic Routing Encapsulation).
  • Page 39 TAP Series Switch Command Line Reference 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.
  • Page 40 TAP Series Switch Command Line Reference match this rule. src ipv6 ( IPv6_ADDR IPv6_ADDR_WILD | Specify the source IPv6 address of the flow any | host IPv6_ADDR ) 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.
  • Page 41 TAP Series Switch Command Line Reference 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.
  • Page 42 TAP Series Switch Command Line Reference 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.
  • Page 43 TAP Series Switch Command Line Reference src-mac ( FLOW_MAC_ADDR Specify the source mac address in FLOW_MAC_ADDR_WILD | any | host HHHH.HHHH.HHHH format. FLOW_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.
  • Page 44 TAP Series Switch Command Line Reference 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.
  • Page 45 TAP Series Switch Command Line Reference packets. This parameter is only valid when the packet is ERSPAN + VXLAN. ( ipv4-head | l4-head ) UDF_VALUE UDF = User Define Format. UDF_VALUE_WILD UDF_OFFSET The parameter “ipv4-head” indicates the packet is parsed at the beginning with the IPv4 header.
  • Page 46 TAP Series Switch Command Line Reference Usage 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.
  • Page 47: Inner-Match Commands

    TAP Series Switch Command Line Reference INNER-MATCH Commands 3.1 show inner-match Use this command to show the configuration of inner-match. Command Syntax show inner-match (INNER_MATCH_NAME |) INNER_MATCH_NAME Specify an inner-match name to display. The inner match name should begin with a- z/A-Z/0-9, valid characters are 0-9A-Za-z.-, and...
  • Page 48: Inner-Match

    TAP Series Switch Command Line Reference Switch# show inner-match 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 3.2 inner-match Use this command to create inner-match and then enter Inner-match configuration mode.
  • Page 49: Remark

    TAP Series Switch Command Line Reference When the name is not used by any inner-match, this command is to create the inner-match firstly and then enter the inner-match configuration mode. This command dose not supported on CTC5160 (GreatBelt) based switch.
  • Page 50: No Sequence-Num

    TAP Series Switch Command Line Reference This command does not supported on CTC5160 (GreatBelt) based switch. Examples This example shows how to add a remark to describe the inner-match: Switch(config-inner-match-im1)# remark inner-match-1 This example shows how to delete the remark of the inner-match.
  • Page 51: Sequence-Num

    TAP Series Switch Command Line Reference Examples This example shows how to delete an inner-match filter with sequence number 10 from im1: Switch(config-inner-match-im1)# no sequence-num 10 Related Commands show inner-match match 3.5 sequence-num Use this command to set matching rules for the inner-match filter.
  • Page 52 TAP Series Switch Command Line Reference 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.
  • Page 53 TAP Series Switch Command Line Reference 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.
  • Page 54 TAP Series Switch Command Line Reference 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.
  • Page 55 TAP Series Switch Command Line Reference 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.
  • Page 56 TAP Series Switch Command Line Reference Default None Usage 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.
  • Page 57: Acl Commands

    TAP Series Switch Command Line Reference ACL Commands 4.1 show interface egress ip access-list Use this command to show egress statistics of ip access-list on an interface. Command Syntax show interface egress ip access-list statistics IF_NAME IF_NAME Specify the interface name to show IP ACL statistics.
  • Page 58: Clear Interface Egress Ip Access-List

    TAP Series Switch Command Line Reference Related Commands clear interface egress ip access-list 4.2 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...
  • Page 59: Show Ip Access-List

    TAP Series Switch Command Line Reference Related Commands show interface egress ip access-list 4.3 show ip access-list Use this command to show the configuration of ip access-list. Command Syntax show ip access-list (NAME_STRING|) NAME_STRING Ip access-list name, up to 20 characters...
  • Page 60: Ip Access-List

    TAP Series Switch Command Line Reference 4.4 ip access-list Use this command to create IP ACL and then enter IP ACL configuration mode. Use the no form of this command to delete the IP ACL. Command Syntax ip access-list NAME_STRING...
  • Page 61: Remark

    TAP Series Switch Command Line Reference 4.5 remark Use this command to add remarks for the flow or ip access-list. Command Syntax remark NAME_STRING 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.
  • Page 62: No Sequence-Num

    TAP Series Switch Command Line Reference 4.6 no sequence-num Use this command to delete a filter from ip access-list. Command Syntax no sequence-num ACL_SEQ_NUM ACL_SEQ_NUM Sequence-number with the valid range 1 – 65535. Command Mode ACL Configuration Default None Usage Use this command to delete a filter from ip access-list.
  • Page 63 TAP Series Switch Command Line Reference Command Syntax (sequence-num ACL_SEQ_NUM|) ( permit| deny) ( PROTOCOL_NUM| any | tcp (src-port (range L4_PORT_NUM L4_PORT_NUM | eq L4_PORT_NUM | gt L4_PORT_NUM | lt L4_PORT_NUM | any) | dst-port (range L4_PORT_NUM L4_PORT_NUM | eq L4_PORT_NUM...
  • Page 64 TAP Series Switch Command Line Reference 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.
  • Page 65 TAP Series Switch Command Line Reference 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.
  • Page 66 TAP Series Switch Command Line Reference 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...
  • Page 67 TAP Series Switch Command Line Reference 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.
  • Page 68: Egress

    TAP Series Switch Command Line Reference Usage 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.
  • Page 69 TAP Series Switch Command Line Reference z.-, maximum length is 20 characters. Command Mode Interface Configuration Default None. Usage 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.
  • Page 70: Tap Commands

    TAP Series Switch Command Line Reference TAP Commands 5.1 tap-group 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. Command Syntax tap-group TAPNAME (NUM |)
  • Page 71: Description

    TAP Series Switch Command Line Reference Examples The following example shows how to create a tap-group: Switch(config)# tap-group tap1 Switch(config-tap-tap1)# The following example shows how to delete a tap-group: Switch(config)# no tap-group tap1 Switch(config)# Related Commands show tap-group 5.2 description Use this command to set the description of the TAP group.
  • Page 72: Ingress

    TAP Series Switch Command Line Reference Use the no form of this command to delete the description. Examples The following example shows how to config description: Switch(config)# tap-group test001 Switch(config-tap-test001)# description test Switch(config-tap-test001)# Related Commands tap-group show tap-group 5.3 ingress Use this command to add a physical or link aggregation interface to the ingress direction of the TAP group.
  • Page 73 TAP Series Switch Command Line Reference 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.
  • Page 74 TAP Series Switch Command Line Reference Examples The following example shows how to add an ingress-interface with mark-source 100: Switch(config)# tap-group test001 Switch(config-tap-test001)# ingress eth-0-1 mark-source 100 Switch(config-tap-test001)# The following example shows how to add an ingress-interface with un-tag: Switch(config)# tap-group test001...
  • Page 75: Egress

    TAP Series Switch Command Line Reference 5.4 egress Use this command to add a physical or link aggregation interface to the egress direction of the TAP group. Use the no form of this command to remove the interface. Command Syntax...
  • Page 76: Show Tap-Group

    TAP Series Switch Command Line Reference Related Commands tap-group 5.5 show tap-group This command displays the TAP group configurations. Command Syntax show tap-group (TAPNAME |) TAPNAME Specify a TAP group name to display. If the parameter “TAPNAME” is not specified, the command indicates that all TAP groups on this device should be displayed.
  • Page 77 TAP Series Switch Command Line Reference ID: 2 Ingress: eth-0-21 Egress: eth-0-22 Related Commands tap-group ingress egress...
  • Page 78: Timestamp Commands

    TAP Series Switch Command Line Reference TIMESTAMP Commands 6.1 timestamp-over-ether Use this command to configure the TAP timestamp outer header information. Use the no form of this command to remove the TAP timestamp configuration. Command Syntax timestamp-over-ether MAC_ADDR_DA MAC_ADDR_SA ETHTYPE_ID...
  • Page 79: Show Timestamp Sync

    TAP Series Switch Command Line Reference Switch# configure terminal Switch(config)# timestamp-over-ether 1.1.1 2.2.2 0xff12 The following example shows how add timestamp for packets going out from tap1/interface eth-0-10: Switch(config)# tap-group tap1 Switch(config-tap-tap1)# ingress eth-0-1 Switch(config-tap-tap1)# egress eth-0-10 timestamp Switch(config-tap-tap1)# exit...
  • Page 80: Timestamp Sync

    TAP Series Switch Command Line Reference Sync Count Last Sync Time : Fri Mar 10 09:02:11 2017 Related Commands timestamp sync 6.3 timestamp sync Use this command configure to timestamp sync. Use the no form of this command to restore the default value.
  • Page 81 TAP Series Switch Command Line Reference Related Commands show timestamp sync...
  • Page 82: Truncation Commands

    TAP Series Switch Command Line Reference TRUNCATION Commands 7.1 truncation Use this command to configure the truncation length information. Use the no form of this command to restore the default value. Command Syntax truncation TRUNCATION_LEN TRUNCATION_LEN Truncation length. Valid range is 64-144.
  • Page 83 TAP Series Switch Command Line Reference Switch(config-tap-tap1)# ingress eth-0-1 truncation Switch(config-tap-tap1)# egress eth-0-10 Related Commands tap-group ingress...
  • Page 84: Ssh Commands

    TAP Series Switch Command Line Reference SSH Commands 8.1 show ip ssh server status To display the version and configuration data for Secure Shell (SSH), use the show ip ssh server status command in Privileged EXEC mode. Command Syntax show ip ssh server status...
  • Page 85: Ssh

    TAP Series Switch Command Line Reference Related Commands 8.2 ssh To connect to the remote SSH server, use the ssh command in Privileged EXEC mode. Command Syntax ssh -l NAME_STRING(-i RSAKEYNAME|) (-p L4_PORT_NUM|) (-v ( 1| 2) |) (-c (3des|) (des|)
  • Page 86: Ip Ssh Server Enable

    TAP Series Switch Command Line Reference Switch# Related Commands ip ssh server enable 8.3 ip ssh server enable To enable SSH service, use ip ssh server enable command in global configuration mode. Command Syntax ip ssh server enable Command Mode...
  • Page 87: Ip Ssh Server Version

    TAP Series Switch Command Line Reference Command Syntax ip ssh server disable Command Mode Global Configuration Default SSH service is enabled. Usage None Examples The following example disable the SSH service on your switch: Switch(config)# ip ssh server disable Related Commands ip ssh server enable 8.5 ip ssh server version...
  • Page 88: Ip Ssh Server Authentication-Retries

    TAP Series Switch Command Line Reference Support SSH version 2 Support SSH version 1 and 2 Command Mode Global Configuration Default The default SSH version is v2. Usage SSH server and client will negotiate about the version when connecting. Server and client should select a higher version both supported.
  • Page 89: Ip Ssh Server Authentication-Timeout

    TAP Series Switch Command Line Reference Command Syntax ip ssh server authentication-retries SSHAUTHRETRIES no ip ssh server authentication-retries SSHAUTHRETRIES Retry times(default: 6) Command Mode Global Configuration Default The default retry time is 6. Usage To configure Secure Shell (SSH) authentication retry times on your switch, use the ip ssh server authentication-retries command in global configuration mode.
  • Page 90: Ip Ssh Server Authentication-Type

    TAP Series Switch Command Line Reference Use the no form of this command to restore the default value of Secure Shell (SSH) authentication timeout on your switch Command Syntax ip ssh server authentication-timeout SSHAUTHTIMEOUT no ip ssh server authentication-timeout SSHAUTHTIMEOUT...
  • Page 91 TAP Series Switch Command Line Reference Use the no form of this command to restore the default value of Secure Shell (SSH) authentication type on your switch. Command Syntax ip ssh server authentication-type ( all | ( password | public-key | rsa ) )
  • Page 92: Ip Ssh Server Rekey-Interval

    TAP Series Switch Command Line Reference The following examples restore SSH authentication type to default value: Switch(config)# no ip ssh server authentication-type Related Commands show ip ssh server status 8.9 ip ssh server rekey-interval To configure Secure Shell (SSH) rekey interval on your switch, use the ip ssh server rekey- interval command in global configuration mode.
  • Page 93: Ip Ssh Server Host-Key

    TAP Series Switch Command Line Reference Examples The following examples configure SSH rekey interval on your switch: Switch(config)# ip ssh server rekey-interval 30 The following examples restore SSH rekey interval to default value: Switch(config)# no ip ssh server rekey-interval Related Commands show ip ssh server status 8.10 ip ssh server host-key...
  • Page 94 TAP Series Switch Command Line Reference Use the no form of this command to restore the default value of Secure Shell (SSH) host-key on your switch. Examples The following example shows how to configure SSH host key on the switch:...
  • Page 95: Lacp Commands

    TAP Series Switch Command Line Reference LACP Commands 9.1 show channel-group Use show channel-group summary command to display a summary of all of the channel groups, or a specified channel group. Use show channel-group detail command to display detailed information of all of the channel groups, or a specified channel group. Use show channel-group port command to display port information of all of the channel groups, or a specified channel group.
  • Page 96 TAP Series Switch Command Line Reference Examples This example shows how to display detailed information of the channel group 10: Switch# show channel-group 10 detail Group: 10 ---------------------------- Mode : switch Ports Maxports : 16 Bundle Ports : 0 Protocol...
  • Page 97: Show Channel-Group Interface

    TAP Series Switch Command Line Reference Flags: s - suspend T - standby w - wait B - in Bundle R - Layer3 S - Layer2 D - down/admin down U - in use Mode: SLB - static load balance...
  • Page 98: Show Port-Channel Load-Balance

    TAP Series Switch Command Line Reference Switch# show channel-group interface eth-0-3 Port : eth-0-3 ---------------------------- State : Down Out-Bundle Channel group : 10 Protocol : static Port index : 3 Related Commands static-channel-group 9.3 show port-channel load-balance Use this command to show the load balance type for the Link Aggregation Control Protocol (LACP).
  • Page 99: No Port-Channel

    TAP Series Switch Command Line Reference src-port-l4 dst-port-l4 Related Commands port-channel load-balance set 9.4 no port-channel Use this command to set port-channel load balance mode to default static mode which is supported at CTC8096 (GoldenGate) based switch. Command Syntax no port-channel AGG_GID load-balance-mode AGG_GID Channel group id.
  • Page 100: Port-Channel Load-Balance-Mode

    TAP Series Switch Command Line Reference 9.5 port-channel load-balance-mode Use this command to set port-channel load balance mode from static to round-robin 。 Command Syntax port-channel AGG_GID load-balance-mode round-robin AGG_GID Channel group id. Valid minimum ID is 1. Valid maximum id is 55.
  • Page 101: Port-Channel Load-Balance Set

    TAP Series Switch Command Line Reference Command Syntax port-channel load-balance hash-arithmetic (crc| xor) no port-channel load-balance hash-arithmetic Use algorithm of crc to compute hash value Use algorithm of exclusive or to compute hash value Command Mode Global Configuration Default Usage Use this command to configure the load balance hash algorithm for the Link Aggregation Control Protocol (LACP).
  • Page 102 TAP Series Switch Command Line Reference Command Syntax port-channel load-balance set (src-mac | dst-mac | src-ip | dst-ip | ip-protocol | src-port-l4 | dst-port-l4 | inner-dst-mac | inner-src-mac | inner-src-ip | inner-dst-ip | vxlan-vni | gre- key | nvgre-vsid | nvgre-flow-id )
  • Page 103: Port-Channel Load-Balance Tunnel-Hash-Mode

    TAP Series Switch Command Line Reference Usage The no form of this command with the hash field means delete the load balance type. The no form of this command without the hash field means restore the default value. This command is not supported on CTC5160 (GreatBelt) based switch.
  • Page 104: Port-Channel Load-Balance

    TAP Series Switch Command Line Reference Usage Use this command to configure the tunnel hash load balance. This command is not supported on CTC5160 (GreatBelt) based switch. Examples This example shows how to set inner-filed hash load balance: Switch(config)# port-channel tunnel-hash-mode inner...
  • Page 105 TAP Series Switch Command Line Reference Command Mode Global Configuration Default src-ip, dst-ip, src-port, dst-port are enabled by default. Usage This command is only supported on CTC5160 (GreatBelt) switch. Examples This example shows how to set port-channel load-balance to dst-port:...
  • Page 106: Ntp Commands

    TAP Series Switch Command Line Reference NTP Commands 10.1 show ntp This command displays the NTP configurations. Command Syntax show ntp Command Mode Privileged EXEC Default None Usage Use this command to display the NTP configurations. Examples The following example shows the configuration of NTP:...
  • Page 107: Show Ntp Status

    TAP Series Switch Command Line Reference Related Commands ntp server ntp authentication 10.2 show ntp status This command displays the status of the Network Time Protocol (NTP). Command Syntax show ntp status Command Mode Privileged EXEC Default None Usage Use this command to display the status of the Network Time Protocol (NTP).
  • Page 108: Show Ntp Statistics

    TAP Series Switch Command Line Reference system flags : auth monitor ntp kernel stats jitter : 0.000000 s stability : 18.062 ppm broadcastdelay : 3.000000 s authdelay : 0.000000 s Related Commands ntp minimum-distance 10.3 show ntp statistics This command displays the statistics of the Network Time Protocol (NTP).
  • Page 109: Show Ntp Associations

    TAP Series Switch Command Line Reference packets not sent interrupts handled :19081 received by int :333 Related Commands ntp server clear ntp statistics 10.4 show ntp associations This command displays the status of Network Time Protocol (NTP) associations. Command Syntax...
  • Page 110: Show Ntp Key

    TAP Series Switch Command Line Reference =1.1.1.1 169.254.2.1 16 1024 0 0.00000 0.000000 3.99217 Related Commands ntp server 10.5 show ntp key This command displays the NTP keys. Command Syntax show ntp key Command Mode Privileged EXEC Default None Usage Use this command to display the NTP keys.
  • Page 111: Clear Ntp Statistics

    TAP Series Switch Command Line Reference 10.6 clear ntp statistics This command clears the statistics of the Network Time Protocol (NTP). Command Syntax clear ntp statistics Command Mode Privileged EXEC Default None Usage Use this command to clear the statistics of the Network Time Protocol (NTP).
  • Page 112: Ntp Server

    TAP Series Switch Command Line Reference NTP_MIN_DISP Distance value time interval in milliseconds, default is 1 Command Mode Global Configuration Default The default value should be 1 millisecond. Usage Use this command to configure the change the minimum distance between the switch and the NTP server.
  • Page 113: Ntp Authentication

    TAP Series Switch Command Line Reference IP_ADDR IP address of the time server or peer key NTP_KEYID Authentication key to use when sending packets to this peer (1 to 64000) version NTP_VERSION Defines the Network Time Protocol (NTP) version number...
  • Page 114: Ntp Key

    TAP Series Switch Command Line Reference Command Syntax ntp authentication (enable| disable) Command Mode Global Configuration Default Authentication is disabled by default. Usage When NTP authentication is enabled, the switch will synchronize the time with NTP servers with trusted key only.
  • Page 115: Ntp Trustedkey

    TAP Series Switch Command Line Reference Command Mode Global Configuration Default There is no ntp key by default Usage Use this command to create a value for a NTP key. Examples In the following example, the value 321 is given to the NTP key 123:...
  • Page 116 TAP Series Switch Command Line Reference Default There is no ntp key is trusted by default. Usage If authentication is enabled, use this command to define one or more key numbers (corresponding to the keys defined with the ntp key command) that a peer NTP system must provide in its NTP packets, in order for this system to synchronize to it.
  • Page 117: Network Diagnosis Commands

    TAP Series Switch Command Line Reference NETWORK DIAGNOSIS Commands 11.1 ping This command is used to ping a specific IPv4 address with management interface. Command Syntax ping mgmt-if (-b|) WORD mgmt-if Send packet from management interface To check a broadcast address.
  • Page 118: Traceroute

    TAP Series Switch Command Line Reference Destination unreachable- If the default gateway cannot reach the specified network, a destination-unreachable message is returned. Network or host unreachable- If there is no entry in the route table for the host or network, a network or host unreachable message is return.
  • Page 119 TAP Series Switch Command Line Reference Default None Usage You can use IP traceroute to identify the path that packets take through the network on a hop-by-hop basis. The command output displays all network layer (Layer 3) devices, such as routers, that the traffic passes through on the way to the destination.
  • Page 120: Syslog Commands

    TAP Series Switch Command Line Reference SYSLOG Commands 12.1 show logging Use this command to show configuration of logging. Command Syntax show logging Command Mode Privileged EXEC Default None Usage Use this command to show configuration of logging. Examples The following is sample output from the show logging command:...
  • Page 121: Show Logging Buffer

    TAP Series Switch Command Line Reference logging merge timeout 10 Related Commands logging buff logging timestamp logging file logging level file logging level module logging server logging server severity logging server facility logging merge 12.2 show logging buffer Use this command to show logging buffer messages.
  • Page 122: Show Logging Buffer Statistics

    TAP Series Switch Command Line Reference Usage Syslog lines are displayed in chronological order when minus added; By default, syslog lines are sorted in reverse chronological order, which means the newest syslog is on top. Examples The following is sample output from the show logging buffer command:...
  • Page 123: Show Logging Levels

    TAP Series Switch Command Line Reference Examples The following is sample output from the show logging buffer statistics command: Switch# show logging buffer statistics Logging buffer statistics: ------------------------------------------------------------ Total processed 314 entries Total dropped 0 entries Current have 50 entries...
  • Page 124: Show Logging Facilities

    TAP Series Switch Command Line Reference critical critical conditions error error conditions warning warning conditions notice normal but significant condition information informational debug debug-level messages Related Commands logging level file 12.5 show logging facilities Use this command to show the facility information of logging.
  • Page 125: Clear Logging Buffer

    TAP Series Switch Command Line Reference syslog messages generated internally by syslogd line printer subsystem news network news subsystem uucp UUCP subsystem cron clock daemon authpriv security/authorization messages (private) ftp daemon local0 reserved for local use 0 local1 reserved for local use 1...
  • Page 126: Logging Sync

    TAP Series Switch Command Line Reference Switch# clear logging buffer Related Commands show logging buffer 12.7 logging sync To sync log to logging buffer, use the logging sync command in privileged EXEC mode. Command Syntax logging sync Command Mode Privileged EXEC...
  • Page 127: Logging Buffer

    TAP Series Switch Command Line Reference 12.8 logging buffer Use this command to specify logging buffer line number. Use the no form of this command to set logging buffer line number to default value. Command Syntax logging buffer CFGLOGLINES CFGLOGLINES...
  • Page 128: Logging Level File

    TAP Series Switch Command Line Reference Command Syntax logging file (enable| disable) enable Write the logs into log file disable Do not write the logs into log file Command Mode Global Configuration Default Logging file is enabled Usage If logging file will enabled, the log will be saved to flash:/syslog every 10 minutes.
  • Page 129 TAP Series Switch Command Line Reference Command Syntax logging level file (LOGSEVERITY| emergency| alert| critical| error| warning| notice| information| debug) no logging level file 0 | emergency System is unusable 1 | alert Immediate action needed 2 | critical Critical conditions...
  • Page 130: Logging Level Module

    TAP Series Switch Command Line Reference Related Commands logging level module 12.11 logging level module To set severity level, use the logging level module command in Global Configuration mode. Use the no form of this command to restore the default value.
  • Page 131: Logging Timestamp

    TAP Series Switch Command Line Reference Examples In the following example, the user specifies that only messages of the levels error, critical, alerts, and emergency should be logged: Switch(config)# logging level module error In the following example shows set the logging level module to default value:...
  • Page 132: Logging Server

    TAP Series Switch Command Line Reference Default Default timestamp format is BSD. Usage This command is used to specify the timestamp in logger message. Examples The following shows how to set the logging timestamp to iso: Switch(config)# logging timestamp iso...
  • Page 133: Logging Server Severity

    TAP Series Switch Command Line Reference Usage This command is used to send logger to a remote server. Examples The following shows how to use logging server command: Switch(config)# logging server enable Related Commands show logging 12.14 logging server severity To set severity level while writing logs into servers, use the logging server severity command in Global Configuration mode.
  • Page 134: Logging Server Facility

    TAP Series Switch Command Line Reference Default Logging server default level is warning. Usage This command is used to set severity level while writing logs into servers. Examples In the following example, the user specifies that only messages of the levels error, critical,...
  • Page 135 TAP Series Switch Command Line Reference 3|daemon System daemon 11|ftp FTP system 0|kern Kernel local0–7 Reserved for locally defined messages 6|lpr Line printer system 2|mail Mail system 7|news USENET news 5|syslog System log 1|user User 8|uucp UNIX-to-UNIX Command Mode Global Configuration Default Default is local4.
  • Page 136: Logging Server Address

    TAP Series Switch Command Line Reference Related Commands None 12.16 logging server address To log system messages and debug output to a remote server, use the logging server address command in Global Configuration mode. Use the no form of this command to delete the address.
  • Page 137: Logging Merge

    TAP Series Switch Command Line Reference Switch(config)# no logging server address mgmt-if 10.10.38.236 Related Commands logging server 12.17 logging merge To enable the logging mergence, use the logging merge command in Global Configuration mode. Use the no form of this command to restore the default value.
  • Page 138 TAP Series Switch Command Line Reference Usage The logging merge command merges all the same logs into one during a specified time range. During this time, the switch buffered these same logs. You can use the timeout keyword to set the time range, and use the fifo-size to set the buffer size.
  • Page 139: Snmp Commands

    TAP Series Switch Command Line Reference SNMP Commands 13.1 show snmp To display the services information of SNMP, use the show snmp command in privileged EXEC mode. Command Syntax show snmp Command Mode Privileged EXEC Default Disable Usage This command is used to display the service information of SNMP (enable or disable).
  • Page 140: Show Snmp-Server Version

    TAP Series Switch Command Line Reference 13.2 show snmp-server version To display the supported version of SNMP, use the show snmp-server version command in privileged EXEC mode. Command Syntax show snmp-server version Command Mode Privileged EXEC Default SNMPv1 and SNMPv2c...
  • Page 141: Show Snmp-Server Engineid

    TAP Series Switch Command Line Reference Command Mode Privileged EXEC Default None Usage This command is used to display the community information configured by command snmp- server community. Examples The following example shows how to display the information of snmp-server community:...
  • Page 142: Show Snmp-Server Sys-Info

    TAP Series Switch Command Line Reference Default None Usage An SNMP engine is a copy of SNMP that can reside on a local or remote device. Examples The following example shows how to display the information of engineID: Switch# show snmp-server engineID...
  • Page 143: Show Snmp-Server Trap-Receiver

    TAP Series Switch Command Line Reference Examples The following example shows how to display the information of snmp-server sys-info: Switch# show snmp-server sys-info Contact: admin@exampledomain.com Location: Sample Place Related Commands snmp-server system-contact snmp-server system-location 13.6 show snmp-server trap-receiver To display the SNMP traps receiver, use the show snmp-server trap-receiver command in privileged EXEC mode.
  • Page 144: Show Snmp-Server Inform-Receiver

    TAP Series Switch Command Line Reference =============================================================== 10.10.27.232 trap sysname 10.10.27.232 trap sysname Related Commands snmp-server trap target-address 13.7 show snmp-server inform-receiver To display the SNMP informs receiver, use the show snmp-server inform-receiver command in privileged EXEC mode. Command Syntax...
  • Page 145: Show Snmp-Server View

    TAP Series Switch Command Line Reference 13.8 show snmp-server view To display the family name, storage types, and status of a Simple Network Management Protocol (SNMP) configuration and associated MIB, use the show snmp-server view command in privileged EXEC mode.
  • Page 146: Snmp-Server Enable

    TAP Series Switch Command Line Reference Related Commands snmp-server view 13.9 snmp-server enable To enable the SNMP function, use the snmp-server enable command in global configuration mode. Use the no form of this command to disable the SNMP-server. Command Syntax...
  • Page 147: Snmp-Server Engineid

    TAP Series Switch Command Line Reference 13.10 snmp-server engineID To specify the Simple Network Management Protocol (SNMP) engine ID on the local device, use the snmp-server engineID command in global configuration mode. Use the no form of this command to restore the default value...
  • Page 148: Snmp-Server System-Contact

    TAP Series Switch Command Line Reference Related Commands show snmp-server engineID 13.11 snmp-server system-contact To set the system contact string, use the snmp-server system-contact command in global configuration mode. Use the no form of this command to delete the contact string.
  • Page 149: Snmp-Server System-Location

    TAP Series Switch Command Line Reference Related Commands show snmp-server sys-info 13.12 snmp-server system-location To set the system location string, use the snmp-server system-location command in global configuration mode. Use the no form of this command to delete the location string.
  • Page 150: Snmp-Server Version

    TAP Series Switch Command Line Reference Related Commands show snmp-server sys-info 13.13 snmp-server version To specify the support of SNMP version, use the snmp-server version command in global configuration mode. Use the no form of this command to restore the default value.
  • Page 151: Snmp-Server View

    TAP Series Switch Command Line Reference Related Commands show snmp-server version 13.14 snmp-server view To create or update a view entry, use the snmp-server view command in global configuration mode. Use the no form of this command to delete the view.
  • Page 152: Snmp-Server Community

    TAP Series Switch Command Line Reference Examples The following example shows how to create a snmp-server view: Switch(config)# snmp-server view abc excluded 1.3.6.2 The following example shows how to delete a snmp-server view: Switch(config)# no snmp-server view abc excluded 1.3.6.2...
  • Page 153: Snmp-Server Trap Enable

    TAP Series Switch Command Line Reference Default No SNMP community string is defined. Usage The command is used to set up the community access string to permit access to the Simple Network Management Protocol (SNMP). Examples The following example shows how to create a community named test:...
  • Page 154: Snmp-Server Trap Target-Address

    TAP Series Switch Command Line Reference Command Mode Global Configuration Default No notifications controlled by this command are sent. Usage The snmp-server trap enable command is used in conjunction with the snmp-server trap target-address command. Use the snmp-server trap target-address command to specify which host or hosts receive SNMP notifications.
  • Page 155 TAP Series Switch Command Line Reference Command Syntax snmp-server trap target-address mgmt-if IP_ADDR community COMNAME (udpport UDP_PORT) no snmp-server trap target-address IP_ADDR community COMNAME (udpport UDP_PORT) IP_ADDR Specify a SNMP IPV4 address COMNAME Specify a SNMP community name UDP_PORT The port number which area is 0 to 65535, the default is 162...
  • Page 156: Snmp-Server Trap Delay Linkup

    TAP Series Switch Command Line Reference 13.18 snmp-server trap delay linkup To configure the trap delay linkup time, use the snmp-server trap delay linkup command in global configuration mode. Use the no form of this command to restore the default value.
  • Page 157: Snmp-Server Trap Delay Linkdown

    TAP Series Switch Command Line Reference 13.19 snmp-server trap delay linkdown To configure the trap delay linkdown time, use the snmp-server trap delay linkdown command in global configuration mode. Use the no form of this command to restore the default value.
  • Page 158: Snmp-Server Inform Target-Address

    TAP Series Switch Command Line Reference 13.20 snmp-server inform target-address To specify the recipient of a Simple Network Management Protocol (SNMP) inform message, use the snmp-server inform target-address command in global configuration mode. Use the no form of this command to delete the configuration.
  • Page 159 TAP Series Switch Command Line Reference Related Commands show snmp-server inform-receiver...
  • Page 160: Auth Commands

    TAP Series Switch Command Line Reference AUTH Commands 14.1 show usernames Use this command to show local user account names on the switch. Command Syntax show usernames Command Mode Privileged EXEC Default None Usage Use this command to show local user account names on the switch.
  • Page 161: Show Users

    TAP Series Switch Command Line Reference 14.2 show users Use this command to display information about terminal lines. Command Syntax show users Command Mode Privileged EXEC Default None Usage Use this command to display information about terminal lines. Examples The following is sample output from the show users command:...
  • Page 162: Show Privilege

    TAP Series Switch Command Line Reference Command Mode Privileged EXEC Default None Usage Use this command to display information of the web users。 Examples The following is sample to show web users: Switch# show web users Session Id Expire Time...
  • Page 163: Clear Line Console 0

    TAP Series Switch Command Line Reference Usage Use this command to display the current privilege. Examples The following example shows how to display current privilege: Switch# show privilege Current privilege level is 4 Related Commands username 14.5 clear line console 0 Use this command to clear primary console terminal line login.
  • Page 164: Clear Line Vty

    TAP Series Switch Command Line Reference Related Commands line console 14.6 clear line vty Use this command to clear virtual terminal line login. Line number range is 0 to 7. Command Syntax clear line vty VTYID (VTYID|) VTYID First Line number...
  • Page 165: Show Console

    TAP Series Switch Command Line Reference Command Syntax clear web session (all| WEBSESSION) Clear all sessions WEBSESSION Session ID Command Mode Privileged EXEC Default None Usage Use this command to clear web sessions. Examples The following is sample to clear all web sessions...
  • Page 166: Show Vty

    TAP Series Switch Command Line Reference Command Mode Privileged EXEC Default None Usage Use this command to show the current console configuration. Examples The following is sample output from the show console command: Switch# show console Current console configuration: ------------------------------------------------------------...
  • Page 167: Show Rsa Keys

    TAP Series Switch Command Line Reference Default None Usage Use this command to show the current vty configuration. Examples The following is sample output from the show vty command: Switch# show vty line vty maximum 8 line vty 0 7...
  • Page 168: Show Rsa Key

    TAP Series Switch Command Line Reference Usage Use this command to show RSA key information. Examples The following is sample to show RSA key: Switch# show rsa keys Current RSA key configuration: Name Type Usage Modulus ---------------------------------+--------+-------+--------- private 0 1024...
  • Page 169 TAP Series Switch Command Line Reference Command Mode Privileged EXEC Default None Usage Use the “rsa key generate” command to generate a key. Examples The following is sample to show RSA key: Switch# show rsa key abc RSA key information:...
  • Page 170: Show Key Config

    TAP Series Switch Command Line Reference 9FD333F7 CE990420 0A1981E6 F28CB230 A5246CC2 BD5A0092 3E489346 E33135E5 EE2394D1 39ED949E 6219C96D 82FB22E7 88BDCEBD 7CB6C300 BB2DC869 6AC97809 0240 BEFEFE99 CDBB2AAB BA1EB81B 7B189124 B73700BD 3F40B23A AAE648A4 CF07E99E 58261516 C58A1468 5603B90B 24CFD0FC 2609C215 E30375CA 0764FF71 1BF434FF Public key DER code:...
  • Page 171: Show Key String

    TAP Series Switch Command Line Reference Current key configuration: key type: private key format: pem key password: unspecified Related Commands rsa key 14.13 show key string Use this command to display the details of the current key string. Command Syntax...
  • Page 172: Show Tacacs

    TAP Series Switch Command Line Reference 36828C61 00A518CD F7EEBFBF 68CDB456 DC08BF5F 550A1273 28EF8E7C 0469634F 0203 010001 028180 9321ACDE DE06C4F5 45D14DD2 D5676F08 DE95F73F 546690E9 B472C341 7B3E706A B8ACAAAA D687EFAA A30AD72A 6F7366E9 BDCBD8A6 01D54B64 37BE5104 C579A074 1206CD3C 70BA5E26 D22F0049 EABBCAA3 8AAAA932 C28DF32B 1C75EF5C 0052751C...
  • Page 173: Show Aaa Status

    TAP Series Switch Command Line Reference Usage This command is used to show TACACS+ servers configurations. Examples The following is sample output from the show tacacs command: Switch# show tacacs ================================================================ Host Port Timeout Retries Dead Secret ================================================================ 2.1.1.1 49 5...
  • Page 174: Show Aaa Privilege Mapping

    TAP Series Switch Command Line Reference Switch# show aaa status AAA status: Authentication enable Related Commands aaa new-model 14.16 show aaa privilege mapping Use this command to show privilege mapping relationship with server privilege. Command Syntax show aaa privilege mapping...
  • Page 175: Show Aaa Method-Lists

    TAP Series Switch Command Line Reference 14.17 show aaa method-lists Use this command to show authentication, authorization, accounting (AAA) authentication method lists. Command Syntax show aaa method-lists authentication (accounting | all | authentication | authorization) accounting Accounting information All information...
  • Page 176: Line Console

    TAP Series Switch Command Line Reference Related Commands aaa authentication login aaa authentication exec aaa accounting exec 14.18 line console Use this command to set console configuration. Command Syntax line console 0 Command Mode Global Configuration Default None Usage Use this command to set console configuration.
  • Page 177: Line Vty Maximum

    TAP Series Switch Command Line Reference Command Syntax line vty VTYID (VTYID|) VTYID First Line number VTYID Last Line number Command Mode Global Configuration Default None Usage Use line vty command to set virtual terminal line configuration. Examples The following is an example of configure to virtual terminal line 4 to 7:...
  • Page 178: Rsa Key Generate

    TAP Series Switch Command Line Reference VTYMAX Max Line number Command Mode Global Configuration Default None Usage Use line vty maximum command to set maximum vty users. Use the no form of this command to set maximum vty users to it default value.
  • Page 179: Rsa Key Import

    TAP Series Switch Command Line Reference RSAKEYBITS RSA key bits number Command Mode Global Configuration Default None Usage Use this command to create a key. Use the no form of this command to delete the key. Examples The following example creates a key named test, length is 768:...
  • Page 180: Rsa Key Export

    TAP Series Switch Command Line Reference RSAKEYNAME Key name STRING The url to save the key file private Import from private key public Import from public key der | der-hex | pem | ssh1 | ssh2 The format of the key to import...
  • Page 181 TAP Series Switch Command Line Reference Command Syntax rsa key RSAKEYNAME export mgmt-if url STRING (private | public) (der | der-hex | pem ((3des | aes128 | aes192 | aes256 | des) PASSPHRASE |) | ssh1 ( 3des PASSPHRASE |) | ssh2...
  • Page 182: Rsa Key

    TAP Series Switch Command Line Reference 14.24 rsa key Use this command to create a key and enter key configuration mode. Use the no form of this command to delete the key. Command Syntax rsa key RSAKEYNAME no rsa key RSAKEYNAME...
  • Page 183: Reset

    TAP Series Switch Command Line Reference 14.25 reset To clear all key configurations, use the reset command in RSA key configuration mode. Command Syntax reset Command Mode RSA-key Default None Usage Use the reset command to clear all key configurations.
  • Page 184: Key Format

    TAP Series Switch Command Line Reference Command Mode RSA-key Default public Usage Use the key type command to specify the type of the key. Examples The following example specifies the key type of KEY1 as public key: Switch(config)# rsa key KEY1...
  • Page 185: Key String End

    TAP Series Switch Command Line Reference Command Mode RSA-key Default The default key format is DER. Usage Use the key format command to specify the key format. Examples The following example specifies the key format of KEY1 as pem: witch(config)# rsa key KEY1...
  • Page 186: Validate

    TAP Series Switch Command Line Reference Usage Use the key string end command to exit the rsa key configuration mode. Examples The following example shows exit the rsa key configuration mode: Switch(config)# rsa key KEY1 Switch(config-rsa-key)# key string end Switch(config)#...
  • Page 187: Keyline

    TAP Series Switch Command Line Reference Modify private key a Switch(config-rsa-key)# 00302017 4A7D385B 1234EF29 335FC973 Switch(config-rsa-key)# 2DD50A37 C4F4B0FD 9DADE748 429618D5 Switch(config-rsa-key)# validate % Validated Ok Related Commands rsa key 14.30 KEYLINE To add key strings from the screen directly, type any strings in RSA key configuration mode except the keywords in this mode.
  • Page 188: Re-Activate Radius-Server

    TAP Series Switch Command Line Reference Related Commands rsa key validate None 14.31 re-activate radius-server Use this command to re-activate the specified radius servers. Command Syntax re-activate radius-server (all | host IP_ADDR ( auth-port AUTHDPORT |)|) Re-active all radius-servers Re-active the radius-server by server ip...
  • Page 189: Show Radius-Server

    TAP Series Switch Command Line Reference Related Commands radius-server host 14.32 show radius-server Use this command to display radius server states of each IEEE 802.1 x sessions. Command Syntax show radius-server Command Mode Privileged EXEC Default None Usage Use this command to display the current radius-server and dead radius-servers of each IEEE 802.1x sessions.
  • Page 190: Radius-Server Host

    TAP Series Switch Command Line Reference 14.33 radius-server host Use this command to specify a RADIUS server host. Use the no form of this command to delete the host. Command Syntax radius-server host mgmt-if IP_ADDR (auth-port AUTHDPORT |) (key (8 |) AUTHDKEY |)
  • Page 191: Radius-Server Deadtime

    TAP Series Switch Command Line Reference Switch(config)# no radius-server host 10.0.0.1 Related Commands show radius-server 14.34 radius-server deadtime Use this command to improve RADIUS response times when some servers might be unavailable and cause the unavailable servers to be skipped immediately.
  • Page 192: Radius-Server Retransmit

    TAP Series Switch Command Line Reference This example shows how to set default radius-server dead time: Switch(config-if)# no radius-server deadtime Related Commands show radius-server 14.35 radius-server retransmit Use this command to specify the number of times the switch searches the list of RADIUS server hosts before giving up.
  • Page 193: Radius-Server Timeout

    TAP Series Switch Command Line Reference Switch(config-if)# no radius-server retransmit Related Commands show radius-server 14.36 radius-server timeout Use this command to set the interval for which a switch waits for a server host to reply. Use the no form of this command to restore the default value.
  • Page 194: Radius-Server Key

    TAP Series Switch Command Line Reference Related Commands show radius-server 14.37 radius-server key Use this command to set the shared encryption key of RADIUS server. Use the no form of this command to delete the configuration. Command Syntax radius-server key ( 8 |) STRING...
  • Page 195: Re-Activate Tacacs-Server Host

    TAP Series Switch Command Line Reference Related Commands show radius-server 14.38 re-activate tacacs-server host Use this command to re-activate the specified tacacs servers. Command Syntax re-activate tacacs-server (all | host IP_ADDR (auth-port AUTHDPORT |) |) Re-active all tacacs-servers IP_ADDR Set TACACS server IP address...
  • Page 196: Tacacs-Server Host

    TAP Series Switch Command Line Reference 14.39 tacacs-server host Use this command to set tacacs-server parameters. Use the no form of this command to delete the tacacs server. Command Syntax tacacs-server host mgmt-if IP_ADDR (auth-port AUTHDPORT |) (key (8 |) AUTHDKEY |)
  • Page 197: Username

    TAP Series Switch Command Line Reference Switch(config)# no tacacs-server host 2.1.1.1 Related Commands show tacacs 14.40 username Use this command to create a local user account on the switch. Use the no form of this command to delete the account.
  • Page 198: Username Password

    TAP Series Switch Command Line Reference Switch(config)# no username testName Related Commands show usernames 14.41 username password Use this command to add username and password. Command Syntax username NAME_STRING password (8 |) PASSWORD ( privilege PRIVILEGE |) NAME_STRING User name...
  • Page 199: Username Assign

    TAP Series Switch Command Line Reference 14.42 username assign Use this command to assign a public key to a user. Use the no form of this command to remove the configuration. Command Syntax username NAME_STRING assign rsa key RSAKEYNAME no username USERNAME assign rsa key...
  • Page 200: Username Privilege

    TAP Series Switch Command Line Reference rsa key 14.43 username privilege Use this command to set user privilege level. Command Syntax username NAME_STRING privilege PRIVILEGE (password (8 |) PASSWORD | secret PASSWORD |) NAME_STRING User name PRIVILEGE Set user privilege level...
  • Page 201: Username Secret

    TAP Series Switch Command Line Reference 14.44 username secret Use username command to create a local user account with secret password. Command Syntax username NAME_STRING secret PASSWORD NAME_STRING User name secret PASSWORD User secret string Command Mode Global Configuration Default...
  • Page 202: Enable Password

    TAP Series Switch Command Line Reference OLD_NAME Old user name NEW_NAME New user name Command Mode Global Configuration Default None Usage Use re-username command to modify local user account on the switch. Examples The following example shows how to change user account's name:...
  • Page 203: Enable Password Privilege

    TAP Series Switch Command Line Reference Command Mode Global Configuration Default None Usage If this command is set, user need to provide the password when enter Privileged EXEC mode. Examples The following example shows how to set the password: Switch(config)# enable password 654321...
  • Page 204: Service Password-Encryption

    TAP Series Switch Command Line Reference no enable password privilege PRIVILEGE PRIVILEGE Set user privilege level Specifies a hidden password will follow PASSWORD Enable password string Command Mode Global Configuration Default None Usage If this command is set, user need to provide the password when enter Privileged EXEC mode.
  • Page 205: Aaa New-Model

    TAP Series Switch Command Line Reference Command Syntax service password-encryption no service password-encryption Command Mode Global Configuration Default None Usage After use this command, the password in the display result of “show current-configuration” should be encrypted. After use the no form of this command, the newly added password in the display result of “show current-configuration”...
  • Page 206 TAP Series Switch Command Line Reference Use the no form of this command to disable the authentication, authorization, accounting (AAA) access control model. Command Syntax aaa new-model no aaa new-model Command Mode Global Configuration Default AAA access model is disabled...
  • Page 207: Aaa Authentication Login

    TAP Series Switch Command Line Reference 14.50 aaa authentication login Use the aaa authentication login configuration command to set authentication, authorization, accounting (AAA) authentication at login. Use the no form of this command to delete the configuration. Command Syntax aaa authentication login ( default | AUTHLISTNAME ) ( enable |) ( line |) ( radius |) ( tacplus...
  • Page 208: Aaa Authorization Exec

    TAP Series Switch Command Line Reference Switch(config)# aaa authentication login default local radius none The following example shows how to delete authentication: Switch(config)# no aaa authentication login default Related Commands show aaa method-lists authentication 14.51 aaa authorization exec Use the aaa authorization exec configuration command to set authentication, authorization, accounting (AAA) authorization at login.
  • Page 209: Aaa Accounting Exec

    TAP Series Switch Command Line Reference Examples The following example shows how to set authorization exec: Switch# configure terminal Switch(config)# aaa authorization exec default tacplus none Related Commands show aaa method-lists authorization 14.52 aaa accounting exec Use this command to set authentication, authorization, accounting (AAA) accounting at login.
  • Page 210: Aaa Accounting Commands

    TAP Series Switch Command Line Reference Usage Use this command to set authentication, authorization, accounting (AAA) accounting at login. Examples The following example shows how to set accounting exec: Switch# configure terminal Switch(config)# aaa accounting exec default start-stop tacplus The following example shows how to delete accounting:...
  • Page 211: Aaa Privilege Mapping

    TAP Series Switch Command Line Reference Default None Usage Use this command to set authentication, authorization, accounting (AAA) accounting for commands. Examples The following example shows how to set accounting commands: Switch# configure terminal Switch(config)# aaa accounting commands default tacplus...
  • Page 212: Debug Aaa

    TAP Series Switch Command Line Reference Command Mode Global Configuration Default 0, 1, 10 Usage 0: The server privilege 0 mapping to switch level 1 1: The server privilege 1 mapping to switch level 2 9: The server privilege 2~9 mapping to switch level 3...
  • Page 213: Exec-Timeout

    TAP Series Switch Command Line Reference no debug aaa ( all | packet | event | protocol | timer ) Enable to report all aaa debug messages packet Enable to report aaa debug messages for sending and receiving packets event...
  • Page 214 TAP Series Switch Command Line Reference Command Syntax exec-timeout ETIMEOUTMIN (ETIMEOUTSEC|) no exec-timeout ETIMEOUTMIN Timeout value in minute. Minute range is from 0 to 35791 ETIMEOUTSEC Timeout value in second, and range is from 0 to 2147483 Command Mode Line-CON Default Default timeout is 10 minutes.
  • Page 215: Login

    TAP Series Switch Command Line Reference 14.57 login Use this command to enable console password checking, you can choose local password checking. Use the no form of this command to disable console password checking. Command Syntax login ( local |)
  • Page 216: Privilege Level

    TAP Series Switch Command Line Reference Related Commands show console 14.58 privilege level Use this command to set console privilege level for line. Use the no form of this command to restore the default value. Command Syntax privilege level PRIVILEGE...
  • Page 217: Line-Password

    TAP Series Switch Command Line Reference Switch# configure terminal Switch(config)# line console 0 Switch(config-line)# no privilege level Related Commands show console 14.59 line-password Use this command to set console line-password specifies a hidden password will follow or user password string.
  • Page 218: Stopbits

    TAP Series Switch Command Line Reference Examples The following example shows how to set console line-password specifies a hidden password will follow: Switch# configure terminal Switch(config)# line console 0 Switch(config-line)# line-password 8 test The following example shows how to unset console line-password:...
  • Page 219: Databits

    TAP Series Switch Command Line Reference Usage None Examples The following example shows how to set console sync line stop bits one-bit stop: Switch# configure terminal Switch(config)# line console 0 Switch(config-line)# stopbits 1 The following example shows how to set console sync line stop bits to default value:...
  • Page 220: Parity

    TAP Series Switch Command Line Reference Default Default value is 8-bit databits. Usage Use this command to set console number of data bits. Use the no form of this command to set console number of data bits per character to default value.
  • Page 221: Speed

    TAP Series Switch Command Line Reference even Parity mode even Parity mode odd none No parity Command Mode Line-CON Default Default parity type is none. Usage Use this command to set console terminal parity. Use the no form of this command to restore the default value...
  • Page 222: Authorization Exec

    TAP Series Switch Command Line Reference Command Syntax speed ( 115200| 57600| 38400| 19200| 9600| 4800| 2400| 1200| 600) no speed Command Mode Line-CON Default 115200 for T5800_TAP 9600 for T5850 & T8050_TAP Usage Use this command to set the transmit and receive speeds of console terminal.
  • Page 223 TAP Series Switch Command Line Reference Command Syntax authorization exec ( default | LISTNAME ) no authorization exec default Default authorization list LISTNAME An authorization list with this name (a-zA-Z0- 9._-) Command Mode Line-VTY Default None Usage Use this command to enable authentication, authorization, accounting (AAA) authorization for logins.
  • Page 224: Accounting Exec

    TAP Series Switch Command Line Reference 14.65 accounting exec Use this command to enable authentication, authorization, accounting (AAA) accounting for logins. Use the no form of this command to restore the default value. Command Syntax accounting exec ( default | LISTNAME )
  • Page 225: End

    TAP Series Switch Command Line Reference Switch# configure terminal Switch(config)# line vty 0 7 Switch(config-line)# no accounting exec Related Commands show vty 14.66 end To end the current configuration session and return to Privileged EXEC mode, use the end command in global configuration mode.
  • Page 226 TAP Series Switch Command Line Reference Related Commands None...
  • Page 227: Sflow Commands

    TAP Series Switch Command Line Reference SFLOW Commands 15.1 sflow enable Use this command to enable sFlow globally. Use the no form of this command to disable sFlow. Command Syntax sflow enable no sflow enable Command Mode Global Configuration Default...
  • Page 228: Sflow Agent

    TAP Series Switch Command Line Reference This example shows how to enable sFlow services globally: Switch(config)# no sflow enable Related Commands show sflow 15.2 sflow agent Use this command to configure sFlow agent. Use the no form of this command to delete the sFlow agent.
  • Page 229: Sflow Collector

    TAP Series Switch Command Line Reference Related Commands show sflow 15.3 sflow collector Use this command to configure sFlow collector. Use the no form of this command to delete the sFlow collector. Command Syntax sflow collector mgmt-if IP_ADDR ( UDP_PORT |)
  • Page 230: Sflow Counter Interval

    TAP Series Switch Command Line Reference Related Commands show sflow 15.4 sflow counter interval Use this command to configure sFlow polling-interval for counter sample. Use the no form of this command to restore the default value. Command Syntax sflow counter interval INTERVAL_VAL...
  • Page 231: Sflow Counter-Sampling Enable

    TAP Series Switch Command Line Reference Related Commands show sflow 15.5 sflow counter-sampling enable Use this command to enable counter sampling on specified port. Use the no form of this command to disable counter sampling. Command Syntax sflow counter-sampling enable...
  • Page 232: Sflow Flow-Sampling Rate

    TAP Series Switch Command Line Reference Related Commands show sflow 15.6 sflow flow-sampling rate Use this command to configure flow sampling rate. Use the no form of this command to restore the default value. Command Syntax sflow flow-sampling rate RATE...
  • Page 233: Sflow Flow-Sampling Enable

    TAP Series Switch Command Line Reference Switch(config)# interface eth-0-1 Switch(config-if)# sflow flow-sampling rate 2048 % Warning: sFlow sampling requires high CPU usage, especially with a low rate. Suggested rate not less than 32768. This example shows how to disable sFlow counter sampling on interface eth-0-1...
  • Page 234: Debug Sflow

    TAP Series Switch Command Line Reference Examples This example shows how to enable input packet sampling on route port eth-0-1: Switch# configure terminal Switch(config)# interface eth-0-1 Switch(config-if)# sflow flow-sampling enable input This example shows how to enable input packet sampling on route port eth-0-1:...
  • Page 235: Show Sflow

    TAP Series Switch Command Line Reference Default Debugging sflow is disabled by default. Usage Use this command to turn on the debug switches of sflow module. Examples In the following example shows how to enable debugging sflow all: Switch# debug sflow all...
  • Page 236 TAP Series Switch Command Line Reference Examples This example shows how to show the sflow running information: Switch# show sflow sFlow Version: 4 sFlow Global Information: Agent IPv4 address : 10.0.0.254 Counter Sampling Interval : 10 seconds Collector 1: IPv4 Address: 10.0.0.254...
  • Page 237: Global Commands

    TAP Series Switch Command Line Reference GLOBAL Commands 16.1 show debugging To display the debugging status, use the show debugging command in EXEC mode. Command Syntax show debugging ( aaa | sflow |) (detail |) Display the states of aaa debugging...
  • Page 238: No Debug All

    TAP Series Switch Command Line Reference Related Commands debug aaa debug sflow 16.2 no debug all Use this command to turn off all debugging switches. Command Syntax no debug all Command Mode Privileged EXEC Default None Usage Use this command to turn off all debugging switches.
  • Page 239: Show Running-Config

    TAP Series Switch Command Line Reference Command Syntax show history Command Mode Privileged EXEC Default none Usage Use this command to display the history command lines. Examples This example shows how to display history commands information of device. Switch# show history...
  • Page 240 TAP Series Switch Command Line Reference Default none Usage Use this command to display the current operating configuration. Examples This example shows how to display current operating configuration of device. Switch# show running-config Switch# show current-configuration hostname Switch timestamp sync systime...
  • Page 241 TAP Series Switch Command Line Reference sflow agent ip 10.0.0.254 sflow counter interval 10 interface eth-0-1 description TenGigabitEthernet speed 1000 shutdown interface eth-0-2 shutdown interface eth-0-3 shutdown static-channel-group 10 interface eth-0-4 shutdown static-channel-group 10 interface eth-0-5 shutdown static-channel-group 5 interface eth-0-6...
  • Page 242 TAP Series Switch Command Line Reference interface eth-0-18 interface eth-0-19 interface eth-0-20 interface eth-0-21 interface eth-0-22 interface eth-0-23 interface eth-0-24 interface eth-0-25 interface eth-0-26 interface eth-0-27 interface eth-0-28 interface eth-0-29 interface eth-0-30 interface eth-0-31 interface eth-0-32 interface eth-0-33 interface eth-0-34...
  • Page 243 TAP Series Switch Command Line Reference no login line vty 0 7 exec-timeout 35791 0 privilege level 4 no line-password no login Related Commands None...
  • Page 244: Management Commands

    FS i-Ware Software, Version 1.10, ESS 6601 01 Copyright(C) 2004-2017 New FS Technologies Co., Ltd. All rights Reserved FS SecPath FW uptime is 0 weeks, 0 day, 14 hours, 4 minutes Boot image: flash:/boot/SecPathTAP2000A-IMW110-E6601.BIN.03 Boot image version: 1.10, ESS 6601 01...
  • Page 245 TAP Series Switch Command Line Reference SLOT 1 Hardware Type : CTC5160(GreatBelt) based switch SDRAM size : 1024M Flash size : 2048M Hardware Version : 2.0 EPLD Version : 1.2 BootRom Version : 8.1.3 System serial number : E142GD16107A ------------------ show clock ------------------...
  • Page 246 TAP Series Switch Command Line Reference snmp-server community a1 read-write snmp-server community a123456789012345678901234567890123456 read-write snmp-server trap target-address mgmt-if 3.3.3.3 community public snmp-server inform target-address mgmt-if 10.10.27.233 community sysname management ip address 10.10.39.104/23 management route add gateway 10.10.39.254 port-channel load-balance hash-arithmetic crc...
  • Page 247 TAP Series Switch Command Line Reference interface eth-0-5 shutdown static-channel-group 5 interface eth-0-6 shutdown interface eth-0-7 shutdown sflow counter-sampling enable sflow flow-sampling enable input sflow flow-sampling rate 2048 interface eth-0-8 shutdown interface eth-0-9 shutdown interface eth-0-10 shutdown interface eth-0-11 interface eth-0-12...
  • Page 248 TAP Series Switch Command Line Reference interface eth-0-27 interface eth-0-28 interface eth-0-29 interface eth-0-30 interface eth-0-31 interface eth-0-32 interface eth-0-33 interface eth-0-34 interface agg5 description LinkAgg5 interface agg10 tap-group tap1 1 ingress eth-0-11 mark-source 100 ingress eth-0-12 un-tag edit-macda 000A.000B.000C edit-ipda 2.3.4.5 edit-ipsa 1.2.3.4...
  • Page 249 TAP Series Switch Command Line Reference tacacs-server host mgmt-if 1.1.1.2 tacacs-server host mgmt-if 2.1.1.1 key 8 ba5b94fd90261361 ntp authentication enable ntp key 43 aNickKey ntp trustedkey 43 ntp key 123 ntpkty123 ntp server mgmt-if 1.1.1.1 ntp server mgmt-if 10.10.25.8 ntp server mgmt-if 192.16.22.44 version 2 snmp-server enable snmp-server system-contact admin@example.com...
  • Page 250 TAP Series Switch Command Line Reference radius-server key 8 0670c8c1aa325246 sflow enable sflow agent ip 10.0.0.254 sflow counter interval 10 sflow collector mgmt-if 10.10.39.106 interface eth-0-1 description TenGigabitEthernet speed 1000 shutdown interface eth-0-2 shutdown interface eth-0-3 shutdown static-channel-group 10 interface eth-0-4...
  • Page 251 TAP Series Switch Command Line Reference interface eth-0-15 interface eth-0-16 interface eth-0-17 interface eth-0-18 interface eth-0-19 interface eth-0-20 interface eth-0-21 interface eth-0-22 interface eth-0-23 interface eth-0-24 interface eth-0-25 interface eth-0-26 interface eth-0-27 interface eth-0-28 interface eth-0-29 interface eth-0-30 interface eth-0-31...
  • Page 252 TAP Series Switch Command Line Reference no login line vty 0 7 exec-timeout 35791 0 privilege level 4 no line-password no login ------------------ show memory summary total ------------------ Total memory : 940428 KB Used memory : 265456 KB Freed memory...
  • Page 253 TAP Series Switch Command Line Reference MEM_TBL_FIBER 1536 MEM_TBL_SYS_SPEC 3072 MEM_TBL_FAN 6144 MEM_TBL_PSU 3072 MEM_TBL_SENSOR 4096 MEM_TBL_REBOOT_INFO MEM_TBL_MEM_SUMMARY MEM_TBL_CHSM_DEBUG MEM_TBL_SWITCH_DEBUG MEM_TBL_ROUTE_DEBUG MEM_TBL_QUAGGA_DEBUG MEM_TBL_LSRV_DEBUG MEM_TBL_HSRV_DEBUG MEM_TBL_FEA_LAG MEM_TBL_FEA_GLOBAL MEM_TBL_FEA_ACL_TABLE MEM_TBL_FEA_BRG_IF : 36 6912 100 MEM_TBL_ACL_CONFIG 1344 101 MEM_TBL_ACE_CONFIG 1536 112 MEM_TBL_SSH_CFG 113 MEM_TBL_SNMP_CFG...
  • Page 254 TAP Series Switch Command Line Reference 165 MEM_TBL_CLOCK 166 MEM_TBL_PORT_STATS : 36 9216 167 MEM_TBL_PORT_STATS_RATE : 36 1440 168 MEM_TBL_ACLQOS_IF : 34 26112 169 MEM_TBL_L2_ACTION 170 MEM_TBL_FEA_QOS_DROP_PROFILE : 1 171 MEM_TBL_FEA_QOS_DOMAIN 172 MEM_TBL_FEA_QOS_QUEUE_SHAPE_PROFILE: 1 173 MEM_TBL_FEA_QOS_PORT_SHAPE_PROFILE: 1 176 MEM_TBL_ERRDISABLE_FLAP 177 MEM_TBL_OPM_GLOBAL...
  • Page 255 TAP Series Switch Command Line Reference MEM_LIB_SOCK_SESSION : 10 327640 MEM_LIB_SOCK_DATA MEM_LIB_SLIST : 170 3400 MEM_LIB_SLISTNODE : 432 5184 MEM_TBL_MASTER : 141 115932 MEM_TBL_INTERFACE : 37 28416 MEM_TBL_FEA_PORT_IF : 36 2304 MEM_TBL_CPU_TRAFFIC : 13 MEM_TBL_CPU_TRAFFIC_GROUP MEM_TBL_CPU_UTILIZATION MEM_TBL_BRG_GLOBAL MEM_TBL_LAG_GLOBAL MEM_TBL_MSTP_PORT MEM_TBL_MSTP_GLOBAL...
  • Page 256 TAP Series Switch Command Line Reference 121 MEM_TBL_NTP_KEY 122 MEM_TBL_NTP_CFG 123 MEM_TBL_NTP_IF 124 MEM_TBL_NTP_IF 125 MEM_TBL_USER 1536 126 MEM_TBL_VTY 32736 127 MEM_TBL_CONSOLE 128 MEM_TBL_AUTHEN 129 MEM_TBL_LOGIN 1152 131 MEM_TBL_QOS_DOMAIN 8188 133 MEM_TBL_QOS_DROP_PROFILE 134 MEM_TBL_QOS_QUEUE_SHAPE_PROFILE : 1 135 MEM_TBL_QOS_PORT_SHAPE_PROFILE : 1...
  • Page 257 TAP Series Switch Command Line Reference 212 MEM_TBL_NS_ROUTE_IP 213 MEM_TBL_OPENFLOW_INTERFACE : 97 74496 216 MEM_TBL_PTP_GLOBAL 217 MEM_TBL_PTP_PORT : 34 1360 219 MEM_TBL_FEA_TIME 220 MEM_TBL_BHM_GLOBAL 228 MEM_TBL_COPP_CFG 229 MEM_TBL_SFLOW_GLOBAL 230 MEM_TBL_SFLOW_COLLECTOR 1536 231 MEM_TBL_SFLOW_COUNTER_PORT 234 MEM_DS_BRGIF : 36 27648 235 MEM_DS_LAG...
  • Page 258 TAP Series Switch Command Line Reference 101 MEM_TBL_ACE_CONFIG 1536 113 MEM_TBL_SNMP_CFG 126 MEM_TBL_VTY 32736 131 MEM_TBL_QOS_DOMAIN 8188 133 MEM_TBL_QOS_DROP_PROFILE 134 MEM_TBL_QOS_QUEUE_SHAPE_PROFILE : 1 135 MEM_TBL_QOS_PORT_SHAPE_PROFILE : 1 136 MEM_TBL_QOS_GLOBAL 143 MEM_TBL_TAP_GROUP_INGRESS 145 MEM_TBL_TAP_GROUP_EGRESS 154 MEM_TBL_DHCSNOOPING 1536 156 MEM_TBL_IPTABLES_PREVENT 157 MEM_TBL_ERRDISABLE...
  • Page 259 TAP Series Switch Command Line Reference MEM_LIB_SOCK_SESSION 98292 MEM_LIB_SOCK_DATA MEM_LIB_SLIST : 98 1960 MEM_LIB_SLISTNODE : 51 MEM_TBL_MASTER : 30 13916 MEM_TBL_INTERFACE : 37 28416 MEM_TBL_SYS_GLOBAL MEM_TBL_VERSION MEM_TBL_MANAGE_IF MEM_TBL_BOOTIMAGE 1024 MEM_TBL_CHASSIS MEM_TBL_IFNAME_INFO MEM_TBL_CARD 4092 MEM_TBL_PORT : 34 4352 MEM_TBL_FIBER 1536 MEM_TBL_SYS_SPEC...
  • Page 260 TAP Series Switch Command Line Reference MEM_TBL_SYS_GLOBAL MEM_TBL_VERSION MEM_TBL_CHASSIS MEM_TBL_SYS_SPEC 3072 MEM_TBL_MEM_SUMMARY 112 MEM_TBL_SSH_CFG 113 MEM_TBL_SNMP_CFG 114 MEM_TBL_SNMP_VIEW 115 MEM_TBL_SNMP_COMMUNITY 116 MEM_TBL_SNMP_TRAP 117 MEM_TBL_SNMP_INFORM 118 MEM_TBL_SYSLOG_CFG 119 MEM_TBL_NTP_SERVER 121 MEM_TBL_NTP_KEY 122 MEM_TBL_NTP_CFG 123 MEM_TBL_NTP_IF 124 MEM_TBL_NTP_IF 125 MEM_TBL_USER 1536 126 MEM_TBL_VTY...
  • Page 261 TAP Series Switch Command Line Reference MEM_LIB_SLISTNODE : 273 3276 MEM_TBL_MASTER : 141 115932 MEM_TBL_INTERFACE : 37 28416 MEM_TBL_FEA_PORT_IF : 36 2304 MEM_TBL_CPU_TRAFFIC : 13 MEM_TBL_CPU_TRAFFIC_GROUP MEM_TBL_BRG_GLOBAL MEM_TBL_LAG_GLOBAL MEM_TBL_MSTP_PORT MEM_TBL_MSTP_GLOBAL MEM_TBL_LLDP_GLOBAL MEM_TBL_MLAG 1536 MEM_TBL_MLAG_PEER MEM_TBL_ROUTE_GLOBAL MEM_TBL_SYS_GLOBAL MEM_TBL_VERSION MEM_TBL_MANAGE_IF MEM_TBL_BOOTIMAGE 1024...
  • Page 262 TAP Series Switch Command Line Reference 143 MEM_TBL_TAP_GROUP_INGRESS 145 MEM_TBL_TAP_GROUP_EGRESS 150 MEM_TBL_DHCRELAY 152 MEM_TBL_DHCP_DEBUG 153 MEM_TBL_DHCLIENT 154 MEM_TBL_DHCSNOOPING 1536 156 MEM_TBL_IPTABLES_PREVENT 157 MEM_TBL_ERRDISABLE : 13 159 MEM_TBL_TAP_GROUP 161 MEM_TBL_LOG_GLOBAL 163 MEM_TBL_SYS_LOAD 165 MEM_TBL_CLOCK 166 MEM_TBL_PORT_STATS : 36 9216 168 MEM_TBL_ACLQOS_IF...
  • Page 263 TAP Series Switch Command Line Reference 309 MEM_FEA_HAGT_QOS 311 MEM_FEA_HAGT_STATS 312 MEM_FEA_HAGT_OPENFLOW 319 MEM_FEA_LCM_MODULE 1256 322 MEM_FEA_SFLOW 327 MEM_DRV_PHY : 34 13056 330 MEM_DRV_FIBER : 69 2368 331 MEM_DRV_EPLD 8216 333 MEM_DRV_I2C : 24 334 MEM_DRV_EEPROM 335 MEM_DRV_SENSOR 336 MEM_DRV_POWER...
  • Page 264 TAP Series Switch Command Line Reference 235 MEM_DS_LAG 245 MEM_DS_ACLQOS_IF 3072 247 MEM_DS_DHCLIENT_IF : 36 9216 263 MEM_PM_LIB_MASTER 1024 ------------------ show cpu utilization ------------------ Process Usage(%) --------------------+---------- python 5.37 3.08 switch 0.70 ctcmore 0.40 telnetd 0.30 0.30 chsm 0.10 0.10 syslog-ng 0.10...
  • Page 265 TAP Series Switch Command Line Reference -rw-r--r-- 1 2644 Sep 22 16:19 current-config.conf -rw-r--r-- 1 147 Aug 15 10:31 dhcpsnooping -rw------- 1 151 Aug 15 10:31 dhcpv6snooping drwxr-xr-x 2 728 Sep 4 20:53 info -rw-r--r-- 1 909 Jul 18 13:30 init_flow...
  • Page 266 TAP Series Switch Command Line Reference Transceiver Output Wavelength: N/A Supported Link Type and Length: Link Length for copper: 100 m Digital diagnostic is not implemented. Port eth-0-21 transceiver info: Transceiver Type: 1000BASE-SX Transceiver Vendor Name : FINISAR CORP. Transceiver PN...
  • Page 267 TAP Series Switch Command Line Reference eth-0-1 admin down auto 1000 trunk UNKNOWN TenGigabitEth... eth-0-2 admin down auto auto trunk UNKNOWN eth-0-3 admin down auto auto trunk UNKNOWN eth-0-4 admin down auto auto trunk UNKNOWN eth-0-5 admin down auto auto...
  • Page 268 TAP Series Switch Command Line Reference eth-0-11 DOWN 0 eth-0-12 DOWN 0 eth-0-13 DOWN 0 eth-0-14 DOWN 0 eth-0-15 DOWN 0 eth-0-16 DOWN 0 eth-0-17 UP eth-0-18 DOWN 0 eth-0-19 DOWN 0 eth-0-20 DOWN 0 eth-0-21 UP eth-0-22 DOWN 0...
  • Page 269 TAP Series Switch Command Line Reference Index 2 , Metric 1 Speed - auto , Duplex - auto , Metadata - Disable , Media type is UNKNOWN Link type is autonegotiation Admin input flow-control is off, output flow-control is off...
  • Page 270 TAP Series Switch Command Line Reference 0 underruns, 0 output errors, 0 pause output Interface eth-0-5 Interface current state: Administratively DOWN Hardware is Port, address is 001e.080b.e6c2 Bandwidth 1000000 kbits Index 5 , Metric 1 Speed - auto , Duplex - auto , Metadata - Disable , Media type is UNKNOWN...
  • Page 271 TAP Series Switch Command Line Reference 0 packets input, 0 bytes Received 0 unicast, 0 broadcast, 0 multicast 0 runts, 0 giants, 0 input errors, 0 CRC 0 frame, 0 overrun, 0 pause input 0 packets output, 0 bytes Transmitted 0 unicast, 0 broadcast, 0 multicast...
  • Page 272 TAP Series Switch Command Line Reference Link type is autonegotiation Admin input flow-control is off, output flow-control is off Oper input flow-control is off, output flow-control is off The Maximum Frame Size is 12800 bytes 5 minute input rate 0 bits/sec, 0 packets/sec...
  • Page 273 TAP Series Switch Command Line Reference Interface eth-0-13 Interface current state: DOWN Hardware is Port, address is 001e.080b.e6c2 Bandwidth 1000000 kbits Index 13 , Metric 1 Speed - auto , Duplex - auto , Metadata - Disable , Media type is UNKNOWN...
  • Page 274 TAP Series Switch Command Line Reference 0 runts, 0 giants, 0 input errors, 0 CRC 0 frame, 0 overrun, 0 pause input 0 packets output, 0 bytes Transmitted 0 unicast, 0 broadcast, 0 multicast 0 underruns, 0 output errors, 0 pause output...
  • Page 275 TAP Series Switch Command Line Reference Oper input flow-control is off, output flow-control is off The Maximum Frame Size is 12800 bytes 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes...
  • Page 276 TAP Series Switch Command Line Reference Hardware is Port, address is 001e.080b.e6c2 Bandwidth 1000000 kbits Index 21 , Metric 1 Speed - 1000Mb/s , Duplex - full , Metadata - Disable , Media type is 1000BASE_SX Link type is autonegotiation...
  • Page 277 TAP Series Switch Command Line Reference 0 packets output, 0 bytes Transmitted 0 unicast, 0 broadcast, 0 multicast 0 underruns, 0 output errors, 0 pause output Interface eth-0-24 Interface current state: DOWN Hardware is Port, address is 001e.080b.e6c2 Bandwidth 1000000 kbits...
  • Page 278 TAP Series Switch Command Line Reference 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes Received 0 unicast, 0 broadcast, 0 multicast 0 runts, 0 giants, 0 input errors, 0 CRC...
  • Page 279 TAP Series Switch Command Line Reference Index 29 , Metric 1 Speed - auto , Duplex - auto , Metadata - Disable , Media type is UNKNOWN Link type is autonegotiation Admin input flow-control is off, output flow-control is off...
  • Page 280 TAP Series Switch Command Line Reference 0 underruns, 0 output errors, 0 pause output Interface eth-0-32 Interface current state: DOWN Hardware is Port, address is 001e.080b.e6c2 Bandwidth 1000000 kbits Index 32 , Metric 1 Speed - auto , Duplex - auto , Metadata - Disable , Media type is UNKNOWN...
  • Page 281 TAP Series Switch Command Line Reference 0 packets input, 0 bytes Received 0 unicast, 0 broadcast, 0 multicast 0 runts, 0 giants, 0 input errors, 0 CRC 0 frame, 0 overrun, 0 pause input 0 packets output, 0 bytes Transmitted 0 unicast, 0 broadcast, 0 multicast...
  • Page 282: Hostname

    TAP Series Switch Command Line Reference Port-channel load-balance hash-field-select: src-ip dst-ip src-port-l4 dst-port-l4 vxlan-vni inner-dst-mac Flags: s - suspend T - standby w - wait B - in Bundle R - Layer3 S - Layer2 D - down/admin down U - in use...
  • Page 283: Format Udisk

    TAP Series Switch Command Line Reference Command Syntax hostname NAME_STRING no hostname NAME_STRING This system's network name, must not exceed 63 characters Command Mode Global Configuration Default The default host name is “Switch”. Usage The host name is used in prompts and default configuration filenames.
  • Page 284: Umount Udisk

    TAP Series Switch Command Line Reference Command Syntax format udisk: Command Mode Global Configuration Default None. Usage Format the USB mass storage device (MSDOS file system) Examples The following shows an example to format USB mass storage device: Switch(config)# format udisk: WARNING: All data on udisk: will be lost!!! And format operation may take a while.
  • Page 285: Management Ip Address

    TAP Series Switch Command Line Reference Default None. Usage USB mass storage device must exist in the system. You can use the “umount” command to uninstall the USB mass storage device. Examples The following example umount USB mass storage device:...
  • Page 286: Management Route Gateway

    TAP Series Switch Command Line Reference Usage User cannot connect to the device via telnet and only console port is available for management after removing the IP address. Examples The following example sets the management ipv4 address. Switch(config)# management ip address 10.10.39.104/23 The following example unsets the management ipv4 address.
  • Page 287: Service Telnet Enable

    TAP Series Switch Command Line Reference Usage Use this command to set the gateway on the Switch for management ip. Use no form of this command to delete the gateway on the Switch for management ip Examples The following example sets the gateway of 192.168.100.254 for the switch.
  • Page 288: Service Http

    TAP Series Switch Command Line Reference Examples The following example set telnet service enable for the switch. Switch# configure terminal Switch(config)# service telnet enable The following example set telnet service disable for the switch. Switch# configure terminal Switch(config)# no service telnet enable Connection closed by foreign host.
  • Page 289 TAP Series Switch Command Line Reference Examples The following example set http service enable for the switch. Switch(config)# service http enable The following example set http service disable for the switch. Switch(config)# service disable Related Commands show web users...
  • Page 290: System Configuration Commands

    TAP Series Switch Command Line Reference SYSTEM CONFIGURATION Commands 18.1 disable To exit Privileged EXEC mode and return to user EXEC mode, enter the disable command in EXEC mode. Command Syntax disable Command Mode Privileged EXEC Default None Usage To exit Privileged EXEC mode and return to user EXEC mode, enter the disable command in EXEC mode.
  • Page 291: Enable

    TAP Series Switch Command Line Reference Related Commands enable 18.2 enable To enter Privileged EXEC mod, use the enable command in user EXEC or Privileged EXEC mode. Command Syntax enable Command Mode Privileged EXEC Default None Usage To enter Privileged EXEC mod, use the enable command in user EXEC or Privileged EXEC mode.
  • Page 292: Logout

    TAP Series Switch Command Line Reference Related Commands disable enable password 18.3 logout To logout of the current CLI session, enter the logout command in EXEC mode. Command Syntax logout Command Mode Privileged EXEC Default None Usage To logout of the current CLI session, enter the logout command in EXEC mode.
  • Page 293: Show File System

    TAP Series Switch Command Line Reference Command Syntax reboot Command Mode Privileged EXEC Default None Usage The reboot command halts the system. Use the reboot command after configuration information is entered into a file and saved to the startup configuration.
  • Page 294: Show Management Ip Address

    TAP Series Switch Command Line Reference Default None Usage Use this command to show file system information. Examples The following example is to show file system information: Switch# show file system Type Size Used Free Use% ====================================================================== flash:/ 887M 827M...
  • Page 295: Show Startup-Config

    TAP Series Switch Command Line Reference Examples The following example is to show management interface ip address: Switch# show management ip address Management IP address: 10.10.39.131/23 Gateway: 0.0.0.0 Related Commands management ip address management route gateway 18.7 show startup-config Use this command to show contents of startup configuration.
  • Page 296 TAP Series Switch Command Line Reference username admin privilege 4 password admin username test privilege 4 password test logging server enable radius-server host mgmt-if 1.1.1.1 tacacs-server host mgmt-if 1.1.1.2 tacacs-server host mgmt-if 2.1.1.1 key mykey ntp authentication enable ntp key 43 aNickKey...
  • Page 297 TAP Series Switch Command Line Reference description TenGigabitEthernet speed 1000 shutdown interface eth-0-2 shutdown interface eth-0-3 shutdown static-channel-group 10 interface eth-0-4 shutdown static-channel-group 10 interface eth-0-5 shutdown static-channel-group 5 interface eth-0-6 shutdown interface eth-0-7 shutdown sflow counter-sampling enable sflow flow-sampling enable input...
  • Page 298 TAP Series Switch Command Line Reference interface eth-0-20 interface eth-0-21 interface eth-0-22 interface eth-0-23 interface eth-0-24 interface eth-0-25 interface eth-0-26 interface eth-0-27 interface eth-0-28 interface eth-0-29 interface eth-0-30 interface eth-0-31 interface eth-0-32 interface eth-0-33 interface eth-0-34 interface agg5 description LinkAgg5...
  • Page 299: Write

    TAP Series Switch Command Line Reference no line-password no login Related Commands None 18.8 write Use this command to write startup configuration. Command Syntax write Command Mode Privileged EXEC Default None Usage Use this command to write startup configuration. Examples...
  • Page 300: Boot System Tftp

    TAP Series Switch Command Line Reference Command Syntax boot system flash STRING STRING System image file for next booting Command Mode Privileged EXEC Default None Usage Use this command to specify an image to boot system. This command will take effect after reboot.
  • Page 301: Show Boot

    TAP Series Switch Command Line Reference IP_ADDR Server IP STRING Image file name Command Mode Privileged EXEC Default None Usage Management IP address in startup-config file will be used as source address when system boot via TFTP. This command will take effect after reboot.
  • Page 302: Show Memory

    TAP Series Switch Command Line Reference Command Mode Privileged EXEC Default None Usage Use this command to display the current image and the image the next startup will load. Examples The following is sample output from the show boot command: Switch# show boot The current boot image version is: 1.10, ESS 6601...
  • Page 303 TAP Series Switch Command Line Reference Configure center service Data center service switch Switch process chsm Chassis manage process appcfg Application configure process Forwarding process authd Authentication daemon process All processes Command Mode Privileged EXEC Default None Usage None Examples...
  • Page 304: Show Memory Summary

    TAP Series Switch Command Line Reference MEM_TBL_MEM_SUMMARY 112 MEM_TBL_SSH_CFG 113 MEM_TBL_SNMP_CFG 114 MEM_TBL_SNMP_VIEW 116 MEM_TBL_SNMP_TRAP 117 MEM_TBL_SNMP_INFORM 118 MEM_TBL_SYSLOG_CFG 119 MEM_TBL_NTP_SERVER 121 MEM_TBL_NTP_KEY 122 MEM_TBL_NTP_CFG 123 MEM_TBL_NTP_IF 124 MEM_TBL_NTP_IF 125 MEM_TBL_USER 1536 126 MEM_TBL_VTY 32736 127 MEM_TBL_CONSOLE 128 MEM_TBL_AUTHEN 129 MEM_TBL_LOGIN...
  • Page 305: Show Cpu Utilization

    TAP Series Switch Command Line Reference Command Mode Privileged EXEC Default None Usage None Examples The following is sample output from the show memory summary command Switch# show memory summary total Total memory : 940428 KB Used memory : 259228 KB...
  • Page 306: Terminal Length

    TAP Series Switch Command Line Reference Default None Usage Use this command to show utilizations of cpu. Examples The following is sample output from the show cpu utilization command: Switch# show cpu utilization Process Usage(%) --------------------+---------- python 3.42 2.62 switch 0.20...
  • Page 307: Terminal Monitor

    TAP Series Switch Command Line Reference Command Mode Privileged EXEC Default 0 (no pausing) Usage None Examples The following is sample to set terminal length lines: Switch# terminal length 100 The following is sample to unset terminal length lines: Switch# terminal no length...
  • Page 308 TAP Series Switch Command Line Reference Default Debug output to the current terminal line is closed Usage To copy debug output to the current terminal line, use the terminal monitor command in Privileged EXEC mode. To close the debug output to the current terminal line, use the no form of this command.
  • Page 309: Mkdir

    TAP Series Switch Command Line Reference Default The initial default file system is flash:. If you do not specify a directory on a file system, the default is the root directory on that file system. Usage Change the current directory to dir, use the cd command in EXEC mode.
  • Page 310: Rmdir

    TAP Series Switch Command Line Reference Usage This command is valid only for local file systems. Examples The following example creates a directory named newdir in Flash. Switch# mkdir flash:/newdir Related Commands rmdir 18.19 rmdir To remove an existing directory in a Flash file system or udisk device, use the rmdir command in Privileged EXEC mode.
  • Page 311: Pwd

    TAP Series Switch Command Line Reference Examples The following example deletes a directory named newdir. Switch# rmdir flash:/newdir Are you sure to delete flash:/newdir ? [no]y Related Commands mkdir 18.20 pwd Use this command to print working directory. Command Syntax...
  • Page 312 TAP Series Switch Command Line Reference 18.21 ls To display a list of files on a file system, use the ls command in EXEC mode. Command Syntax ls ( flash: | flash:/boot | udisk: |) ( STRING |) flash: File system on the flash flash:/boot File path “flash:/boot”...
  • Page 313: Copy Running-Config

    TAP Series Switch Command Line Reference -rw-r--r-- 1 2180 Jul 13 16:09 liujy_lab.conf drwxr-xr-x 2 288 Jul 1 2016 log drwxr-xr-x 7 488 Aug 23 2016 monitor drwxr-xr-x 2 232 May 2 19:03 reboot-info -rw-r--r-- 1 11963 Mar 30 18:21 route.txt -rw-r--r-- 1 2624 Sep 22 14:41 startup-config.conf...
  • Page 314: Copy Startup-Config

    TAP Series Switch Command Line Reference Examples Switch# copy running-config flash:/current-config.conf flash:/current-config.conf [OK] Related Commands delete 18.23 copy startup-config Use this command to copy startup-config to tftp server or dest file. Command Syntax copy startup-config ( mgmt-if |) ( STRING |)
  • Page 315: Copy Mgmt-If

    TAP Series Switch Command Line Reference Name of the TFTP file to access [] startup-config Send file to tftp://10.10.38.160/startup-config Sent 2337 bytes in 0.0 seconds Related Commands delete 18.24 copy mgmt-if Use this command to copy file from tftp server to local.
  • Page 316: Copy

    TAP Series Switch Command Line Reference Received 25403 bytes in 0.2 seconds Copy the temporary file to its destination. File system synchronization. Please waiting... 25403 bytes in 0.1 seconds, 248 kbytes/second Related Commands delete 18.25 copy Use this command to copy file from local file to tftp server or local.
  • Page 317: More

    TAP Series Switch Command Line Reference Sent 2177 bytes in 0.1 seconds Related Commands delete 18.26 more To display the contents of a file, use the more command in EXEC mode. Command Syntax more STRING STRING Text file name Command Mode...
  • Page 318: Delete

    TAP Series Switch Command Line Reference 18.27 delete To delete a file on the flash, use the delete command in Privileged EXEC mode. Command Syntax delete STRING STRING File name for delete Command Mode Privileged EXEC Default None Usage If you attempt to delete the configuration file or image, the system prompts you to confirm the deletion.
  • Page 319: Source

    TAP Series Switch Command Line Reference Command Syntax rename OLD_STRING NEW_STRING Command Mode Privileged EXEC Default None Usage This command is valid only for local file systems. Examples In the following example, the file named startup-config.conf-bak is renamed startup- config.conf-bak1.
  • Page 320 TAP Series Switch Command Line Reference Default None Usage None Examples The following is show how to source commands from a file: Switch# source flash:/bash_shutdown.txt Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface range eth-0-5 - 7...
  • Page 321: Device Commands

    FS i-Ware Software, Version 1.10, ESS 6601 01 Copyright(C) 2004-2017 New FS Technologies Co., Ltd. All rights Reserved FS SecPath FW uptime is 0 weeks, 1 day, 1 hours, 16 minutes Boot image: flash:/boot/SecPathTAP2000S-IMW110-E6601.BIN Boot image version: 1.10, ESS 6601 01 Next running image : flash:/boot/SecPathTAP2000S-IMW110-E6601.BIN...
  • Page 322: Show Stm Prefer

    TAP Series Switch Command Line Reference SDRAM size : 2048M Flash size : 2048M Hardware Version : 1.2 EPLD Version : 2.1 BootRom Version : 6.1.1 System serial number : E101ZB142025 Related Commands None 19.2 show stm prefer Use the show stm prefer privileged EXEC command to display information about the profiles that can be used to maximize system resources for a particular feature.
  • Page 323: Show Environment

    TAP Series Switch Command Line Reference number of tap group : 1/512 number of tap trunction : 0/4 number of link aggregation(static) : 0/31 number of Flow features: Flow entry ingress entries : 0/1024 Flow entry egress entries : 0/255...
  • Page 324: Show Clock

    TAP Series Switch Command Line Reference AUTO Power status: Index Status Power Type Alert ----------+------------+------------+------------+------------ PRESENT ABSENT Sensor status (Degree Centigrade): Index Temperature Lower_alarm Upper_alarm Critical Position ----------+------------+------------+------------+------------+------------ AROUND_CPU Related Commands temperature 19.4 show clock Use this command to show the clock information.
  • Page 325: Show Transceiver

    TAP Series Switch Command Line Reference Related Commands clock set datetime clock set timezone 19.5 show transceiver Use this command to show the transceiver information. Command Syntax show transceiver (IF_NAME_E|) (detail|) IF_NAME_E Ethernet interface name detail Show detailed information Command Mode...
  • Page 326 TAP Series Switch Command Line Reference Link Length for copper: 100 m Digital diagnostic is not implemented. Port eth-0-21 transceiver info: Transceiver Type: 1000BASE-SX Transceiver Vendor Name : FINISAR CORP. Transceiver PN : FTLF8519P3BTL Transceiver S/N : PPB2DL1 Transceiver Output Wavelength: 850 nm...
  • Page 327: Show System Summary

    FS i-Ware Software, Version 1.10, ESS 6601 01 Copyright(C) 2004-2017 New FS Technologies Co., Ltd. All rights Reserved FS SecPath FW uptime is 0 weeks, 0 day, 0 hours, 52 minutes Boot image: flash:/boot/SecPathTAP2000A-IMW110-E6601.BIN.03 Boot image version: 1.10, ESS 6601 01 Next running image : flash:/boot/SecPathTAP2000A-IMW110-E6601.BIN.03...
  • Page 328: Show Reboot-Info

    TAP Series Switch Command Line Reference ########## Users Table ########## Line Host(s) Idle Location User ---------------+----------+----------+---------------+---------- 130 vty 0 idle 00:51:05 Local 131 vty 1 idle 00:50:30 10.10.25.25 *132 vty 2 idle 00:00:00 10.10.25.25 ########## Memory Summary Table ########## Total memory...
  • Page 329 TAP Series Switch Command Line Reference ----------+---------------+-------------------- MANUAL 2017-06-27 06:46:19 MANUAL 2017-06-28 02:12:28 MANUAL 2017-06-30 08:34:57 MANUAL 2017-07-05 09:45:01 MANUAL 2017-07-13 08:12:08 POWER 2017-07-23 09:47:32 POWER 2017-07-30 05:47:48 POWER 2017-07-30 08:37:03 POWER 2017-08-03 02:14:48 MANUAL 2017-08-03 12:07:06 MANUAL 2017-08-05 03:41:58...
  • Page 330: Clear Reboot-Info

    TAP Series Switch Command Line Reference Related Commands clear reboot-info 19.8 clear reboot-info Use this command to clear reboot information. Command Syntax clear reboot-info Command Mode Privileged EXEC Default None Usage The clear reboot-info command can clear reboot information. Examples...
  • Page 331: Show Device Id-Led

    TAP Series Switch Command Line Reference Turn on the led Turn off the led Command Mode Privileged EXEC Default None Usage The command can set device indicate led force on or force off. Examples The following example shows how to set device indicate led force on:...
  • Page 332: Show Schedule Reboot

    TAP Series Switch Command Line Reference Usage Use this command to show device indicate led information. Examples The following example shows the device indicates led information: Switch# show device id-led Indicate led is forced on Related Commands set device id-led 19.11 show schedule reboot...
  • Page 333: Stm Prefer

    TAP Series Switch Command Line Reference Related Commands schedule reboot delay schedule reboot at 19.12 stm prefer Use the stm prefer Global Configuration command to configure the profile used in Switch Table Management (STM) resource allocation. You can use profile to allocate system memory to best support the features being used in your application.
  • Page 334: Temperature

    TAP Series Switch Command Line Reference show stm prefer next 19.13 temperature Use this command to specify the system temperature monitor threshold. Use the no form of this command to restore the default value. Command Syntax temperature TEMP_LOW TEMP_HIGH TEMP_CRIT...
  • Page 335: Clock Set Datetime

    TAP Series Switch Command Line Reference This example shows how to specify the temperature thresholds to default value: Switch(config)# no temperature Related Commands show environment 19.14 clock set datetime Use this command to set system current date and time on the Switch.
  • Page 336: Clock Set Timezone

    TAP Series Switch Command Line Reference Switch(config)# clock set datetime 22:43:23 9 26 2017 Related Commands show clock 19.15 clock set timezone Use this command to set timezone. Use the no form of this command to restore the default value.
  • Page 337: Update Bootrom

    TAP Series Switch Command Line Reference Switch(config)# clock set timezone Beijing add 8 This example shows how to recover the clock timezone : Switch(config)# no clock set timezone Related Commands show clock 19.16 update bootrom Use this command to upgrade bootrom image.
  • Page 338: Split Interface

    TAP Series Switch Command Line Reference 19.17 split interface Use the command to split physic port to 10G ports or 40G ports. Use the no form of this command to set the interface to un-split the physic port. Command Syntax...
  • Page 339: Schedule Reboot At

    TAP Series Switch Command Line Reference 19.18 schedule reboot at Use this command to set schedule reboot at a time. Use the no form of this command to cancel the schedule. Command Syntax schedule reboot at HOUR_MIN (YEAR_MON_DAY|) no schedule reboot...
  • Page 340 TAP Series Switch Command Line Reference Command Syntax schedule reboot delay DELAY_TIME no schedule reboot DELAY_TIME Specify the delay time Command Mode Global Configuration Default None Usage The reboot delay time could select be format HH:MM, or minutes in range of [1,720].

Table of Contents

Save PDF