background image

TAP Series Switch Command Line Reference

226

Related Commands

None

Summary of Contents for TAP Series

Page 1: ...FS Network TAP Series Command Line Reference...

Page 2: ...terface 19 1 9 shutdown 19 1 10 description 20 1 11 speed 21 1 12 duplex 22 1 13 unidirectional 24 1 14 fec 25 1 15 static channel group 26 1 16 media type 27 2 FLOW Commands 28 2 1 show interface flo...

Page 3: ...78 6 1 timestamp over ether 78 6 2 show timestamp sync 79 6 3 timestamp sync 80 7 TRUNCATION Commands 82 7 1 truncation 82 8 SSH Commands 84 8 1 show ip ssh server status 84 8 2 ssh 85 8 3 ip ssh serv...

Page 4: ...ar ntp statistics 111 10 7 ntp minimum distance 111 10 8 ntp server 112 10 9 ntp authentication 113 10 10 ntp key 114 10 11 ntp trustedkey 115 11 NETWORK DIAGNOSIS Commands 117 11 1 ping 117 11 2 trac...

Page 5: ...server engineID 147 13 11 snmp server system contact 148 13 12 snmp server system location 149 13 13 snmp server version 150 13 14 snmp server view 151 13 15 snmp server community 152 13 16 snmp serve...

Page 6: ...ey format 184 14 28 key string end 185 14 29 validate 186 14 30 KEYLINE 187 14 31 re activate radius server 188 14 32 show radius server 189 14 33 radius server host 190 14 34 radius server deadtime 1...

Page 7: ...14 62 parity 220 14 63 speed 221 14 64 authorization exec 222 14 65 accounting exec 224 14 66 end 225 15 SFLOW Commands 227 15 1 sflow enable 227 15 2 sflow agent 228 15 3 sflow collector 229 15 4 sf...

Page 8: ...293 18 6 show management ip address 294 18 7 show startup config 295 18 8 write 299 18 9 boot system flash 299 18 10 boot system tftp 300 18 11 show boot 301 18 12 show memory 302 18 13 show memory su...

Page 9: ...5 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 19 10 show device id led 331 19 11 show schedule reboot 332 19 12 stm prefer 333 19 13 te...

Page 10: ...ates and configurations on management interface Examples The following example displays the states configurations and statistics on management interface Switch show management interface Management Int...

Page 11: ...on all interfaces or one interface If the parameter IF_NAME is not specified the command indicates that all interfaces on this device should be displayed otherwise only the specified interface should...

Page 12: ...ast 0 broadcast 0 multicast 0 underruns 0 output errors 0 pause output Related Commands show interface status 1 3 show interface summary Use this command to display the statistics on all interfaces or...

Page 13: ...face summary RXBS rx rate bits sec RXPS rx rate pkts sec TXBS tx rate bits sec TXPS tx rate pkts sec Interface Link RXBS RXPS TXBS TXPS eth 0 1 UP 0 0 0 0 eth 0 2 UP 0 0 0 0 eth 0 3 UP 0 0 0 0 eth 0 4...

Page 14: ...on interfaces Switch show interface status Name Status Duplex Speed Mode Type Description eth 0 1 down auto auto trunk UNKNOWN eth 0 2 down auto auto trunk UNKNOWN eth 0 3 down auto auto trunk UNKNOWN...

Page 15: ...trunk UNKNOWN eth 0 27 down auto auto trunk UNKNOWN eth 0 28 down auto auto trunk UNKNOWN eth 0 29 down auto auto trunk UNKNOWN eth 0 30 down auto auto trunk UNKNOWN eth 0 31 down auto auto trunk UNKN...

Page 16: ...down eth 0 8 down eth 0 9 down eth 0 10 down eth 0 11 down eth 0 12 down eth 0 13 down eth 0 14 down eth 0 15 down eth 0 16 down eth 0 17 down eth 0 18 down eth 0 19 down eth 0 20 down eth 0 21 down e...

Page 17: ...If the parameter IF_NAME is not specified the command indicates that all interfaces statistics counters information on this device should be cleared otherwise only the specified interface should be cl...

Page 18: ...t None Usage Use this command to operate a list of interfaces Physical or link aggregation interfaces are supported Examples The following example shows how to enter interface eth 0 1 eth 0 10 and shu...

Page 19: ...ion Default None Usage The interface name can be either a port name i e eth 0 1 or link agg name i e agg1 Examples This example shows how to enter the interface mode for eth 0 1 Switch config interfac...

Page 20: ...llowing example shows how to shutdown a port Switch config interface eth 0 1 Switch config if eth 0 1 shutdown Related Commands show interface status 1 10 description Use this command to set the descr...

Page 21: ...Switch config interface eth 0 1 Switch config if eth 0 1 description Ethernet The following example deletes the description on the interface Switch config interface eth 0 1 Switch config if eth 0 1 no...

Page 22: ...uto Usage The command is used to set the speed on port Examples This example shows how to set the speed on a port to 1000 Mb s Switch config interface eth 0 1 Switch config if eth 0 1 speed 1000 This...

Page 23: ...Command Mode Interface Configuration Default Auto Usage Use this command to specify the duplex mode of operation for a port Use the no form of this command to restore the default configuration Half m...

Page 24: ...ble unidirectional disable Disable unidirectional rx only Receive only Command Mode Interface Configuration Default Disable Usage Use the command to set unidirectional function for a port Examples The...

Page 25: ...Command Syntax fec enable disable enable Enable fec disable Disable fec Command Mode Interface Configuration Default Disable Usage Use the command to set fec function for a port Examples This example...

Page 26: ...de Interface Configuration Default None Usage 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 The valid range of channel...

Page 27: ...media type as rj45 sfp Set media type as sfp Command Mode Interface Configuration Default auto Usage Use this command to set media type of combo port Different media type of the combo port cannot be a...

Page 28: ...stics This command supports physical or link aggregation interfaces FLOW_SEQ_NUM Specify sequence number to show flow statistics If the sequence number is not specified this command indicates that all...

Page 29: ...ands show flow clear interface flow statistics 2 2 clear interface flow statistics Use this command to clear statistics information which matched the flow on the interface Command Syntax clear interfa...

Page 30: ...f1 sequence num 10 permit any src ip 10 10 10 0 0 0 0 255 dst ip any bytes 0 packets 0 sequence num 20 deny any src ip any dst ip any bytes 0 packets 0 total bytes 0 total packets 0 Related Commands...

Page 31: ...y any src ip any dst ip any flow f2 sequence num 10 permit tcp src port range 10 200 src ip any dst ip any Related Commands flow 2 4 flow Use this command to create Flow and then enter Flow configurat...

Page 32: ...hen configured with parameter type decap means this flow match tunnel decap which flow entries can configure inner match fields Notice Decap only supported at CTC8096 GoldenGate based switch Examples...

Page 33: ...and to add remarks for the flow Use the no form of this command to delete the remarks The remark string length is up to 100 characters The exceed parts will not be stored and will be truncated Example...

Page 34: ...to delete a flow filter with sequence number 10 from flow f1 Switch config flow f1 no sequence num 10 Related Commands show flow sequence num 2 7 sequence num Use this command to add a rule in a flow...

Page 35: ...ID VLAN_WILD any inner vlan VLAN_ID VLAN_WILD any cos COS_ID inner cos COS_ID ether type ETHER_TYPE_VALUE ETHER_TYPE_WILD_VALUE any src mac FLOW_MAC_ADDR FLOW_MAC_ADDR_WILD any host FLOW_MAC_ADDR dest...

Page 36: ...protocol 1 icmp 2 igmp 6 tcp 17 udp 47 gre nvgre gre protocol 0x0800 gre 0x6558 nvgre Parameter any indicates packets with any IP protocol can match this rule src port range L4_PORT_NUM L4_PORT_NUM e...

Page 37: ...the flow rule This filed is valid only if the IP protocol is UDP and L4 destination port 4789 VNI VXLAN Network Identifier is the identifier on the VXLAN network which is similar to the traditional VL...

Page 38: ...ts with any gre key value can match this rule erspan ERSPAN_KEY_VALUE ERSPAN _KEY_WILD any Specify the erspan key value of the flow rule ERSPAN Enhanced Remote SPAN Valid range for ERSPAM key value is...

Page 39: ...0 0 255 If a bit in wildcard is 0 means this bit needs to check otherwise this bit should be ignored Use the parameter host and an IPv4 address to specify an exactly address Use the parameter any to...

Page 40: ...y host IPv6_ADDR Specify the destination IPv6 address of the flow rule Use an IPv6 address and an IPv6 address wildcard to specify a network If a bit in wildcard is 0 means this bit needs to check oth...

Page 41: ...h 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...

Page 42: ...Parameter any indicates packets with any inner vlan id can match this rule cos COS_ID Specify the outer CoS value of the flow rule CoS Class of Service The valid range of Cos is 0 to 7 inner cos COS_I...

Page 43: ...R_WILD any host FLOW_MAC_ADDR Specify the destination mac address in HHHH HHHH HHHH format Use a mac address and wildcard bits to specify a batch of mac addresses If a bit in wildcard is 0 means this...

Page 44: ...nner vlan tag of the packets mark source VLAN_ID Specify additional outer vlan id of the outgoing packets The valid range for vlan id is 1 4094 strip header strip position l2 l3 l4 strip offset OFFSET...

Page 45: ...he packet is parsed at the beginning with the layer4 header Udf value and wildcard bits both have 32 bits If a bit in wildcard is 0 means this bit needs to check otherwise this bit should be ignored T...

Page 46: ...rom 10 10 10 0 to 10 10 10 255 Layer 4 information e g tcp udp port and fragment information are exclusive Notice The parameters gre gre key nvgre nvgre vsid vxlan vni truncation strip header edit ips...

Page 47: ...th a z A Z 0 9 valid characters are 0 9A Za z and maximum length is 20 characters If the parameter INNER_MATCH_NAME is not specified the command indicates that all inner matches on this device should...

Page 48: ...er Inner match configuration mode Use the no form of this command to delete the inner match Command Syntax inner match INNER_MATCH_NAME no inner match INNER_MATCH_NAME NAME_STRING Specify an inner mat...

Page 49: ...nd then enter the inner match configuration mode Switch config inner match im1 Switch config inner match im1 Related Commands show inner match 3 3 remark Use this command to add remarks for the inner...

Page 50: ...elete the remark of the inner match Switch config inner match im1 no remark Related Commands show inner match 3 4 no sequence num Use this command to delete a filter from inner match Command Syntax no...

Page 51: ...M any dst port range L4_PORT_NUM1 L4_PORT_NUM2 eq L4_PORT_NUM gt L4_PORT_NUM lt L4_PORT_NUM any icmp igmp src ip IP_ADDR IP_ADDR_WILD host IP_ADDR any src ipv6 IPv6_ADDR IPv6_ADDR_WILD host IPv6_ADDR...

Page 52: ...L4_PORT_NUM lt L4_PORT_NUM any Specify the layer 4 source port of the inner match rule The valid range for L4 source port number is 0 65535 This filed is valid only if the IP protocol is TCP or UDP T...

Page 53: ...ipv6 IPv6_ADDR IPv6_ADDR_WILD any host IPv6_ADDR Specify the source IPv6 address of the inner match rule Use an IPv6 address and an IPv6 address wildcard to specify a network If a bit in wildcard is...

Page 54: ...ckets with non first fragment small fragment Match packets with small fragment any fragment Match packets with any fragment options Match packets with IP options vlan VLAN_ID VLAN_WILD any Specify the...

Page 55: ...DDR Specify the source mac address in HHHH HHHH HHHH format Use a mac address and wildcard bits to specify a batch of mac addresses If a bit in wildcard is 0 means this bit needs to check otherwise th...

Page 56: ...10 0 wildcard 0 0 0 255 means 256 ip addresses from 10 10 10 0 to 10 10 10 255 Layer 4 information e g tcp udp port and fragment information are exclusive Notice This command does not supported on CT...

Page 57: ...tistics This command supports physical or link aggregation interfaces Command Mode Privileged EXEC Default None Usage Use this command to show egress statistics of ip access list The interface name mu...

Page 58: ...ation interfaces Command Mode Privileged EXEC Default None Usage Use this command to clear egress statistics of ip access list The interface name must be specified Examples This example shows how to c...

Page 59: ...ode Privileged EXEC Default None Usage Use this command to show the configuration of ip access list If the parameter NAME_STRING is not specified the command indicates that all ip access list on this...

Page 60: ...9A Za z and maximum length is 20 characters Command Mode Global Configuration Default None Usage If the system already has an IP ACL with the same name this command will enter the IP ACL configuratio...

Page 61: ...A Za z maximum length is 100 characters Command Mode ACL Configuration Default Default is no remarks of flow or ip access list Usage The remarks are up to 100 characters The exceed parts will not be s...

Page 62: ...ge 1 65535 Command Mode ACL Configuration Default None Usage Use this command to delete a filter from ip access list Examples This example shows how to delete a flow filter with sequence number 10 fro...

Page 63: ...ment options vlan VLAN_ID VLAN_WILD any inner vlan VLAN_ID VLAN_WILD any cos COS_ID inner cos COS_ID ether type ETHER_TYPE_VALUE ETHER_TYPE_WILD_VALUE any src mac ACL_MAC_ADDR ACL_MAC_ADDR_WILD any ho...

Page 64: ...ule The valid range for L4 destination port number is 0 65535 This filed is valid only if the IP protocol is TCP or UDP There are 4 methods to specify the L4 port 1 eq equal to 2 lt less than 3 gt gre...

Page 65: ...IPv6 address wildcard to specify a network If a bit in wildcard is 0 means this bit needs to check otherwise this bit should be ignored Use the parameter host and an IPv6 address to specify an exactl...

Page 66: ...valid range for vlan id is 0 4095 The valid range for vlan id wildcard bits is 0x0 0xFFF Vlan id and wildcard bits both have 12bits if a bit in wildcard is 0 means this bit needs to check otherwise th...

Page 67: ...is 0 means this bit needs to check otherwise this bit should be ignored Use the parameter host and a mac address to specify an exactly mac address Use the parameter any to indicate packets with any d...

Page 68: ...ipv4 head l4 head are not supported on CTC5160 GreatBelt based switch Examples This example shows how to add an acl filter with sequence number 10 to acl test1 Switch config ip access list test1 Switc...

Page 69: ...ccess list on the outbound direction of an interface Use the no form of this command to remove the IPv4 access list This command supports physical or link aggregation interfaces Examples The example s...

Page 70: ...group TAPNAME NUM no tap group TAPNAME TAPNAME Tap Group Name string which should begin with a z A Z valid characters are 0 9A Za z maximum length is 20 characters NUM Tap Group ID range 1 512 Comman...

Page 71: ...nds show tap group 5 2 description Use this command to set the description of the TAP group Use the no form of this command to delete the description Command Syntax description LINE no description LIN...

Page 72: ...ecify Vlan id and edit actions to the packets Use the no form of this command to remove the interface Command Syntax ingress IF_NAME un tag un tag outer vlan un tag inner vlan mark source VLAN_ID trun...

Page 73: ...e outgoing packets in A B C D format edit ipda IP_ADDRESS Specify the destination IP address of the outgoing packets in A B C D format edit vlan VLAN_ID Specify the vlan id of the outgoing packets The...

Page 74: ...Switch config tap group test001 Switch config tap test001 ingress eth 0 1 flow flow001 Switch config tap test001 The following example shows how to add an ingress interface eth 0 1 Switch config tap g...

Page 75: ...physical or link aggregation interfaces Command Mode configure tap view Default None Usage None Examples The following example shows how to add an egress interface eth 0 9 Switch config tap group tap...

Page 76: ...TAPNAME is not specified the command indicates that all TAP groups on this device should be displayed Command Mode Privileged EXEC Default None Usage This command displays the TAP group configuration...

Page 77: ...TAP Series Switch Command Line Reference 77 ID 2 Ingress eth 0 21 Egress eth 0 22 Related Commands tap group ingress egress...

Page 78: ...DA MAC_ADDR_SA ETHTYPE_ID no timestamp over ether MAC_ADDR_DA Ethernet destination MAC address MAC_ADDR_SA Ethernet source MAC address ETHTYPE_ID Ethertype in hexadecimal range is 0x0 0xffff Command M...

Page 79: ...ess eth 0 1 Switch config tap tap1 egress eth 0 10 timestamp Switch config tap tap1 exit Related Commands tap group egress 6 2 show timestamp sync Use this command configure to display timestamp sync...

Page 80: ...ault value Command Syntax timestamp sync systime none no timestamp sync systime Use the system time as time source none Use the chip time as time source Command Mode Global Configuration Default The d...

Page 81: ...TAP Series Switch Command Line Reference 81 Related Commands show timestamp sync...

Page 82: ...ON_LEN Truncation length Valid range is 64 144 Command Mode Global Configuration Default Truncation length is 144 by default Usage CRC should be re calculating after packet is truncated The truncation...

Page 83: ...TAP Series Switch Command Line Reference 83 Switch config tap tap1 ingress eth 0 1 truncation Switch config tap tap1 egress eth 0 10 Related Commands tap group ingress...

Page 84: ...tax show ip ssh server status Command Mode Privileged EXEC Default None Usage Use the show ip ssh server status command to view the version and configuration data Examples The following example shows...

Page 85: ...1 96 o number of password prompts SSHPINPROMPTS mgmt if IP_ADDR STRING NAME_STRING Login name RSAKEYNAME Specify key name L4_PORT_NUM Port of remote system SSHPINPROMPTS Number of password prompts IP_...

Page 86: ...ntax ip ssh server enable Command Mode Global Configuration Default SSH service is enabled Usage To enable SSH service use ip ssh server enable command in global configuration mode Examples The follow...

Page 87: ...H service on your switch Switch config ip ssh server disable Related Commands ip ssh server enable 8 5 ip ssh server version To configure Secure Shell SSH version on your switch use the ip ssh server...

Page 88: ...ig ip ssh server version v1 The following example shows that only SSH Version 2 support is configured Switch config ip ssh server version v2 The following example shows that restore the default config...

Page 89: ...no form of this command to restore the default value of Secure Shell SSH authentication retry times on your switch Examples The following examples configure SSH authentication retry times on your swit...

Page 90: ...t The default value is 120 seconds Usage None Examples The following examples configure SSH authentication timeout on your switch Switch config ip ssh server authentication timeout 100 The following e...

Page 91: ...key Enable public key rsa Enable rsa Command Mode Global Configuration Default The default authentication type is public key and password Usage To configure Secure Shell SSH authentication type on you...

Page 92: ...Use the no form of this command to restore the default value of Secure Shell SSH rekey interval on your switch Command Syntax ip ssh server rekey interval SSHREKEYINTVL no ip ssh server rekey interval...

Page 93: ...To configure Secure Shell SSH host key on your switch use the ip ssh server host key rsa key command in global configuration mode Use the no form of this command to restore the default value of Secur...

Page 94: ...hell SSH host key on your switch Examples The following example shows how to configure SSH host key on the switch Switch config ip ssh server host key rsa key KEY1 The following example shows how to r...

Page 95: ...l group port command to display port information of all of the channel groups or a specified channel group Command Syntax show channel group AGG_GID summary detail port AGG_GID Channel group id Valid...

Page 96: ...balance hash arithmetic xor port channel load balance tunnel hash mode both Port channel load balance hash field select src ip dst ip src port l4 dst port l4 Flags s suspend T standby w wait B in Bun...

Page 97: ...D Related Commands static channel group 9 2 show channel group interface Use this command to display interface link stats of the channel groups Command Syntax show channel group interface IF_NAME IF_N...

Page 98: ...e this command to show the load balance type for the Link Aggregation Control Protocol LACP Command Syntax show port channel load balance Command Mode Privileged EXEC Default None Usage Use this comma...

Page 99: ...GG_GID load balance mode AGG_GID Channel group id Valid minimum ID is 1 Valid maximum id is defined as blow for CTC5160 GreatBelt based system 31 for CTC8096 GoldenGate based system 55 Command Mode Gl...

Page 100: ...d robin is disabled by default Usage Set port channel load balance mode to round robin This command is not supported on CTC5160 GreatBelt based switch Examples This example shows how to set port chann...

Page 101: ...lgorithm for the Link Aggregation Control Protocol LACP Use the no form of this command to restore the default value Examples This example shows how to configure the load balance hash algorithm for Li...

Page 102: ...address dst mac Load balance by destination MAC address src ip Load balance by source IP address dst ip Load balance by destination IP address ip protocol Load balance by ip protocol src port l4 Load...

Page 103: ...on Control Protocol LACP Switch config port channel load balance set src mac Related Commands show port channel load balance 9 8 port channel load balance tunnel hash mode Use this command to configur...

Page 104: ...the load balance type for the Link Aggregation Control Protocol LACP return to the default setting Command Syntax port channel load balance src mac dst mac src ip dst ip src port dst port src dst ip s...

Page 105: ...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 Switch...

Page 106: ...ileged EXEC Default None Usage Use this command to display the NTP configurations Examples The following example shows the configuration of NTP Switch show ntp Unicast peer or server 1 1 1 1 server 10...

Page 107: ...to display the status of the Network Time Protocol NTP Examples The following is sample output from the show ntp status command Switch show ntp status statistics status Switch show ntp status system...

Page 108: ...the Network Time Protocol NTP Command Syntax show ntp statistics Command Mode Privileged EXEC Default None Usage Use this command to display the statistics of the Network Time Protocol NTP Examples T...

Page 109: ...s command to display the status of Network Time Protocol NTP associations Examples The following example shows the status of NTP associations Switch show ntp associations synced symmetric active mode...

Page 110: ...rver 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 Examples The following ex...

Page 111: ...tatistics of the Network Time Protocol NTP Examples The following is the example that clears ntp statistics Switch clear ntp statistics Related Commands show ntp statistics 10 7 ntp minimum distance U...

Page 112: ...ng example shows how to change minimum distance to 1000ms Switch config ntp minimum distance 1000 The following example shows how to change minimum distance to default Switch config if no ntp minimum...

Page 113: ...ow the software clock to be synchronized by a Network Time Protocol NTP time server Use the no form of this command to delete the NTP server Examples The following example shows how to configure a swi...

Page 114: ...ith trusted key only For more information about trusted key please see the ntp trustedkey command Examples The following example shows how to enables NTP authentication Switch config ntp authenticatio...

Page 115: ...onfig ntp key 123 key123 Related Commands show ntp key 10 11 ntp trustedkey Use this command to authenticate the identity of a system to which Network Time Protocol NTP will synchronize Use the no for...

Page 116: ...stem to synchronize to it This function provides protection against accidentally synchronizing the system to a system that is not trusted because the other system must know the correct authentication...

Page 117: ...ess WORD Ping destination address Command Mode Privileged EXEC Default None Usage This command is used to ping a specific IPv4 address with management interface Ping returns one of these responses Nor...

Page 118: ...q 1 ttl 64 time 0 513 ms 64 bytes from 10 10 38 160 icmp_seq 2 ttl 64 time 0 229 ms 64 bytes from 10 10 38 160 icmp_seq 3 ttl 64 time 0 261 ms 64 bytes from 10 10 38 160 icmp_seq 4 ttl 64 time 0 265 m...

Page 119: ...e switch is a multilayer switch that is routing a particular packet this switch shows up as a hop in the traceroute output The traceroute privileged EXEC command uses the Time To Live TTL field in the...

Page 120: ...s command to show configuration of logging Examples The following is sample output from the show logging command Switch show logging Current logging configuration logging buffer 500 logging timestamp...

Page 121: ...ogging 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 Command Sy...

Page 122: ...APP 1 logout vty 1 location 169 254 1 2 by telnet Sep 14 08 49 16 Switch init 6 starting pid 27327 tty dev ttyS0 usr sbin klish Sep 14 08 49 16 Switch init 6 process usr sbin klish pid 27259 exited Sc...

Page 123: ...elated Commands clear logging buffer 12 4 show logging levels Use this command to show the severity level information of logging Command Syntax show logging levels Command Mode Privileged EXEC Default...

Page 124: ...s command to show the facility information of logging Command Syntax show logging facilities Command Mode Privileged EXEC Default None Usage Use this command to show the facility information of loggin...

Page 125: ...eserved for local use 2 19 local3 reserved for local use 3 20 local4 reserved for local use 4 21 local5 reserved for local use 5 22 local6 reserved for local use 6 23 local7 reserved for local use 7 R...

Page 126: ...Command Syntax logging sync Command Mode Privileged EXEC Default None Usage When enabled log merge system will merge all the same logs into one during a specified time range During this time log will...

Page 127: ...number value Command Mode Global Configuration Default default is 500 range is 10 to 1000 Usage None Examples The following shows how to set logging buffer line number to 10 Switch config logging buf...

Page 128: ...nabled Usage If logging file will enabled the log will be saved to flash syslog every 10 minutes Examples The following shows how to enable logging file function Switch config logging file enable Rela...

Page 129: ...mational messages 7 debug Debugging messages LOGSEVERITY Severity level The range is 0 to 7 Command Mode Global Configuration Default Logging file level is warning Usage Specifying a severity level ca...

Page 130: ...notice information debug no logging level module 0 emergency System is unusable 1 alert Immediate action needed 2 critical Critical conditions 3 error Error conditions 4 warning Warning conditions 5...

Page 131: ...lated Commands logging level file 12 12 logging timestamp To configure the system to apply a time stamp to debugging messages or system logging messages use the logging timestamps command in Global Co...

Page 132: ...mp iso The following shows how to set the logging timestamp to default value Switch config no logging timestamp Related Commands show logging 12 13 logging server To enable the logging to the remote l...

Page 133: ...lobal Configuration mode Use the no form of this command to restore the default value Command Syntax logging server severity LOGSEVERITY emergency alert critical error warning notice information debug...

Page 134: ...severity to default level Switch config no logging server severity Related Commands show logging 12 15 logging server facility To configure the syslog facility in which error messages are sent use th...

Page 135: ...obal Configuration Default Default is local4 Usage To configure the syslog facility in which error messages are sent use the logging server facility command in Global Configuration mode Use the no for...

Page 136: ...ver IP address Command Mode Global Configuration Default System logging messages are not sent to any remote server Usage The logging server address command identifies a remote server usually a device...

Page 137: ...fault value Command Syntax logging merge enable disable timeout MERGETIMEOUT fifo size MERGEFSIZE enable Enable logging mergence disable Disable logging mergence fifo size MERGEFSIZE Set fifo size The...

Page 138: ...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 Examples The following shows how to enable logging merge function Swi...

Page 139: ...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 Examples T...

Page 140: ...Usage This command is used to display snmp version information configured by command snmp server version Examples The following example shows how to display the information of snmp server version Swit...

Page 141: ...server community Switch show snmp server community Community Access Community String Security name read write sysname comm1 Related Commands snmp server community 13 4 show snmp server engineID To dis...

Page 142: ...gine ID 00000009020000000c025808 Related Commands snmp server engineID 13 5 show snmp server sys info To display the system information of SNMP use the show snmp server sys info command in privileged...

Page 143: ...ap receiver To display the SNMP traps receiver use the show snmp server trap receiver command in privileged EXEC mode Command Syntax show snmp server trap receiver Command Mode Privileged EXEC Default...

Page 144: ...EC mode Command Syntax show snmp server inform receiver Command Mode Privileged EXEC Default None Usage This command is used to display inform receiver information configured by command snmp server in...

Page 145: ...snmp server view USERNAME USERNAME Specify a view name that want to show WORD Command Mode Privileged EXEC Default None Usage Use this command to display the SNMP view configuration Examples The foll...

Page 146: ...o disable the SNMP server Command Syntax snmp server enable no snmp server enable Command Mode Global Configuration Default SNMP function is disabled Usage The command is used to enable snmp global Ex...

Page 147: ...is generated automatically but is not displayed or stored in the running configuration Default engine ID is 30383038303830383038 You can display the default or configured engine ID by using the show s...

Page 148: ...o snmp server system contact KLINE Specify SNMP system contact parameter Command Mode Global Configuration Default No system contact string is set Usage This command is used to set the system contact...

Page 149: ...no snmp server system location KLINE Specify SNMP system location parameter Command Mode Global Configuration Default No system location string is set Usage This command is used to set the system loca...

Page 150: ...v1 v2c no snmp server version all Support all versions v1 v2c and v3 v1 Support only v1 version v2c Support only v2c version Command Mode Global Configuration Default Support v1 and v2c SNMP versions...

Page 151: ...that you are updating or creating The name is used to reference the record excluded Configures the OID and subtree OIDs specified in sub tree argument to be included in the SNMP view included Configur...

Page 152: ...ple Network Management Protocol SNMP use the snmp server community command in global configuration mode Use the no form of this command to delete the community Command Syntax snmp server community CON...

Page 153: ...config no snmp server community test Related Commands show snmp server community 13 16 snmp server trap enable To enable all Simple Network Management Protocol SNMP notification types that are availab...

Page 154: ...d notifications you must configure at least one snmp server trap target address command Examples The following example shows how to set all traps enable Switch config snmp server trap enable all The f...

Page 155: ...d Mode Global Configuration Default The router does not send any trap messages Usage This command is used to specify the server target address to send the trap Examples The following example shows how...

Page 156: ...kup TRAP_DELAY_TIME no snmp server trap delay linkup TRAP_DELAY_TIME Linkup trap delay time Command Mode Global Configuration Default 0 Usage This command is used to set the trap delay time for link u...

Page 157: ...wn TRAP_DELAY_TIME no snmp server trap delay linkdown TRAP_DELAY_TIME Linkdown trap delay time Command Mode Global Configuration Default 0 Usage This command is used to set the trap delay time for lin...

Page 158: ...rt UDP_PORT IP_ADDR Specify a SNMP IPV4 address COMNAME Specify a SNMP community name UDP_PROT The port number which area is 0 to 65535 the default is 162 Command Mode Global Configuration Default The...

Page 159: ...TAP Series Switch Command Line Reference 159 Related Commands show snmp server inform receiver...

Page 160: ...switch Command Syntax show usernames Command Mode Privileged EXEC Default None Usage Use this command to show local user account names on the switch Examples The following is sample output from the sh...

Page 161: ...mmand to display information about terminal lines Examples The following is sample output from the show users command Switch show users Line Host s Idle Location User 130 vty 0 idle 2d20h16m Local 131...

Page 162: ...mples The following is sample to show web users Switch show web users Session Id Expire Time Client IP User Name 320570bf7624e99f9c01912e82c4515b 2017 01 05 00 53 15 10 10 22 236 admin Related Command...

Page 163: ...rent 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 Command Syntax clear...

Page 164: ...ar line vty VTYID VTYID VTYID First Line number VTYID Last Line number Command Mode Privileged EXEC Default None Usage Use this command to clear virtual terminal line login Line number range is 0 to 7...

Page 165: ...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 Switch clear web session all OK Related Co...

Page 166: ...is sample output from the show console command Switch show console Current console configuration line console 0 speed 115200 parity none databits 8 stopbits 1 exec timeout 10 0 privilege level 4 no l...

Page 167: ...e following is sample output from the show vty command Switch show vty line vty maximum 8 line vty 0 7 exec timeout 35791 0 privilege level 4 no line password no login Related Commands line vty 14 10...

Page 168: ...e this command to show RSA key information Command Syntax show rsa key RSAKEYNAME der pem 3des RSAPASSWORD aes128 RSAPASSWORD aes192 RSAPASSWORD aes256 RSAPASSWORD des RSAPASSWORD RSAKEYNAME Key name...

Page 169: ...11B5 7BA49B7F 1B838AA9 D92003CB 0203 010001 028180 2B45DBA0 484FF1FB E8AF2D8C C853565C 4421BF7D 5F1ABF5A 6F32C7C0 11FEAE7C C5B6BDC6 9C25F953 291486C9 CEB2FBC6 01EE589C 583C5F17 D85A8F81 28597538 2F710...

Page 170: ...1D3168 E4C2F812 394390A1 A1D648BF 50DE534D 718FF606 69DDC302 F005FBC6 A3A3E616 4A9EEF47 9093AD9B 42F436A8 71C3C8D2 ECF14DD1 EEEC83AF 9EC5DF87 832A072F 5C02D463 515753C2 EC610B25 4228B7F0 D9E99DF7 9AD0...

Page 171: ...ult None Usage Use this command to display the details of the current key string Examples The following example shows how to display the current key string Switch config rsa key a Modify private key a...

Page 172: ...C95FA AE967B81 C343F9E0 2D41B59F 45C41197 28F37B3B 0C09D7B6 4867858D 73876AEF 7692CCC6 A7A51A6C 8A1C62E6 FF75E209 75D02A51 E2346F9F 0240 943B3F52 8B0199F1 F0EEE70C C5A686F0 C20FDD69 DB4C6855 34E91E42...

Page 173: ...Dead Secret 2 1 1 1 49 5 3 0 mykey Related Commands tacacs server host 14 15 show aaa status Use this command to show authentication authorization accounting AAA status Command Syntax show aaa status...

Page 174: ...ationship with server privilege Command Syntax show aaa privilege mapping Command Mode Privileged EXEC Default None Usage This command is used to show privilege mapping relationship with server privil...

Page 175: ...rization Authorization information Command Mode Privileged EXEC Default None Usage This command is used to show authentication authorization accounting AAA authentication method lists Examples The fol...

Page 176: ...onsole configuration Command Syntax line console 0 Command Mode Global Configuration Default None Usage Use this command to set console configuration Examples The following is an example of configure...

Page 177: ...et virtual terminal line configuration Examples The following is an example of configure to virtual terminal line 4 to 7 Switch config line vty 4 7 Switch config line Related Commands show vty 14 20 l...

Page 178: ...default value Examples The following is an example of configure to three vty users Switch config line vty maximum 3 The following is an example to reset maximum vty users Switch config no line vty max...

Page 179: ...8 Switch config rsa key test generate 768 Generating RSA private key 768 bit long modulus Please waiting for a moment done Public exponent is 65537 0x10001 Generate RSA key successfully The following...

Page 180: ...import a key Examples The following example imports a key Switch config rsa key importnewk import mgmt if url tftp 10 10 38 160 newk pub public ssh2 Download from URL to temporary file Get file from t...

Page 181: ...pem ssh1 ssh2 The format of the key to export 3des aes128 aes192 aes256 des The encryption transmission algorithm of the exported key file PASSPHRASE Encrypt the key string Command Mode Global Config...

Page 182: ...y RSAKEYNAME RSAKEYNAME Key name Command Mode Global Configuration Default None Usage Use this command to create a key and enter key configuration mode Use the no form of this command to delete the ke...

Page 183: ...e Usage Use the reset command to clear all key configurations Examples The following example shows to clear all configurations for the key KEY1 Switch config rsa key KEY1 Switch config rsa key reset R...

Page 184: ...he key Examples The following example specifies the key type of KEY1 as public key Switch config rsa key KEY1 Switch config rsa key key type public Related Commands rsa key 14 27 key format To specify...

Page 185: ...specifies the key format of KEY1 as pem Switch config rsa key KEY1 Switch config rsa key key format pem Related Commands rsa key 14 28 key string end Use this command to exit the rsa key configuratio...

Page 186: ...KEY1 Switch config rsa key key string end Switch config Related Commands rsa key 14 29 validate To check the validation of the key strings use the validate command in RSA key configuration mode Comman...

Page 187: ...een directly type any strings in RSA key configuration mode except the keywords in this mode Command Syntax KEYLINE Command Mode RSA key Default None Usage To add key strings from the screen directly...

Page 188: ...HDPORT all Re active all radius servers host IP_ADDR Re active the radius server by server ip auth port AUTHDPORT Re active the radius server by server ip and udp port Command Mode Privileged EXEC Def...

Page 189: ...ions 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 Exampl...

Page 190: ...ber default 1812 8 Specifies a hidden password will follow AUTHDKEY RADIUS server key string retransmit AUTHDRETRIES RADIUS server retries default 3 timeout AUTHDTIMEOUT RADIUS server timeout in secon...

Page 191: ...e DEAD_TIME no radius server deadtime DEAD_TIME RADIUS server deadtime in minutes default 5 Command Mode Global Configuration Default 5 minutes Usage Use this command to cause the switch to mark as de...

Page 192: ...store the default value Command Syntax radius server retransmit RETRANSMIT RETRANSMIT RADIUS server retries default 3 Command Mode Global Configuration Default 3 attempts Usage The switch tries all se...

Page 193: ...T TIMEOUT RADIUS server timeout in seconds default 5 Command Mode Global Configuration Default 5 seconds Usage Use this command to set the number of seconds a switch waits for a server host to reply b...

Page 194: ...password will follow STRING RADIUS server key string Command Mode Global Configuration Default None Usage Use this command to set the shared encryption key in a switch Shared encryption key is the fo...

Page 195: ...all Re active all tacacs servers IP_ADDR Set TACACS server IP address AUTHDPORT TACACS server port number default 49 Command Mode Privileged EXEC Default None Usage Use this command to re activate the...

Page 196: ...IP_ADDR IP address of TACACS server AUTHDPORT TACACS server port number default 49 8 Specifies a hidden password will follow AUTHDKEY TACACS server key string retransmit AUTHDRETRIES TACACS server ret...

Page 197: ...NG no username NAME_STRING NAME_STRING User name Command Mode Global Configuration Default None Usage Use this command to create a local user account on the switch Use the no form of this command to d...

Page 198: ...VILEGE NAME_STRING User name 8 Specifies a hidden password will follow PASSWORD User password string privilege PRIVILEGE Set user privilege level Command Mode Global Configuration Default None Usage U...

Page 199: ...ME Key Name Command Mode Global Configuration Default None Usage Use this command to assign a public key to a user Use the no form of this command to remove the configuration Examples This is a sample...

Page 200: ...LEGE Set user privilege level 8 Specifies a hidden password will follow PASSWORD User password string secret PASSWORD User secret string Command Mode Global Configuration Default None Usage Use this c...

Page 201: ...Mode Global Configuration Default None Usage Use username command to create a local user account with secret password Examples This is a sample output from this command displaying how to add a user n...

Page 202: ...n the switch Examples The following example shows how to change user account s name Switch config re username jack mike Related Commands show usernames 14 46 enable password Use this command to set th...

Page 203: ...ssword 654321 Switch config exit Switch disable Switch enable Password Switch The following example shows how to unset the password Switch config no enable password Related Commands enable disable 14...

Page 204: ...Privileged EXEC mode Examples The following example shows how to set the password Switch config enable password privilege 2 abc123 Switch config exit Switch disable Switch enable 2 Password Switch The...

Page 205: ...ded password in the display result of show current configuration should be plain text and the existing password should still be encrypted Examples The following example shows how to set service passwo...

Page 206: ...is disabled Usage Use this command to enable the authentication authorization accounting AAA access control model Use the no form of this command to disable the authentication authorization accounting...

Page 207: ...UTHLISTNAME enable line radius tacplus local none no aaa authentication login default AUTHLISTNAME default Default method list AUTHLISTNAME Named authentication list a zA Z0 9 _ enable Enable password...

Page 208: ...and to set authentication authorization accounting AAA authorization at login Command Syntax aaa authorization exec default AUTHLISTNAME none radius local tacplus no aaa authorization exec default AUT...

Page 209: ...accounting at login Use the no form of this command to delete the configuration Command Syntax aaa accounting exec default AUTHLISTNAME start stop radius tacplus none stop only radius tacplus none non...

Page 210: ...terminal Switch config no aaa accounting exec default Related Commands show aaa method lists accounting 14 53 aaa accounting commands Use this command to set authentication authorization accounting A...

Page 211: ...tch config no aaa accounting commands default Related Commands show aaa method lists accounting 14 54 aaa privilege mapping Use this command to set the mapping range in AAA server and switch Use the n...

Page 212: ...0 15 mapping to switch level 4 Examples The following example shows how to set the mapping range Switch configure terminal Switch config aaa privilege mapping 1 2 3 The following example shows how to...

Page 213: ...ssages for protocol states timer Enable to report aaa debug messages for timer Command Mode Privileged EXEC Default debugging aaa is disabled by default Usage None Examples In the following example sh...

Page 214: ...mmand Mode Line CON Default Default timeout is 10 minutes Usage None Examples The following example shows how to set console exec timeout to 2 minutes 30 seconds Switch configure terminal Switch confi...

Page 215: ...rd checking Usage 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 Examples The followin...

Page 216: ...ult privilege level for line Command Mode Line CON Default Default value is 1 range is from 1 to 4 Usage Use this command to set console privilege level for line Use the no form of this command to res...

Page 217: ...l follow or user password string Use the no form of this command to unset console line password Command Syntax line password 8 NAME_STRING no line password 8 Specifies a hidden password will follow NA...

Page 218: ...wing example shows how to unset console line password Switch configure terminal Switch config line console 0 Switch config line no line password Related Commands show console 14 60 stopbits Use this c...

Page 219: ...xample shows how to set console sync line stop bits to default value Switch configure terminal Switch config line console 0 Switch config line no stopbits Related Commands show console 14 61 databits...

Page 220: ...s per character to 7 bit databits Switch configure terminal Switch config line console 0 Switch config line databits 7 The following example shows how to set console number of data bits per character...

Page 221: ...ing example shows how to set console terminal parity type odd Switch configure terminal Switch config line console 0 Switch config line parity odd The following example shows how to set console termin...

Page 222: ...d to restore the default value Examples The following is an example of set console terminal speed to 115200 Switch config line console 0 Switch config line speed 115200 The following is an example of...

Page 223: ...ion authorization accounting AAA authorization for logins Use the no form of this command to restore the default value Examples The following example shows how to enable authorization for logins Switc...

Page 224: ...unting list LISTNAME An accounting list with this name a zA Z0 9 _ Command Mode Line VTY Default None Usage Use this command to enable authentication authorization accounting AAA accounting for logins...

Page 225: ...Usage This command will bring you back to Privileged EXEC mode regardless of what configuration mode or configuration sub mode you are in This global configuration command can be used in any configura...

Page 226: ...TAP Series Switch Command Line Reference 226 Related Commands None...

Page 227: ...d Syntax sflow enable no sflow enable Command Mode Global Configuration Default Disabled Usage Before any other sFlow command can be configured sFlow services must be enabled globally Use the no param...

Page 228: ...agent Command Syntax sflow agent ip IP_ADDR no sflow agent ip IP_ADDR IPv4 address Command Mode Global Configuration Default 0 0 0 0 Usage Use this command to configure IP address for sflow agent If...

Page 229: ...343 Command Mode Global Configuration Default Default source ip is the ip address of interface which is connected with sflow collector Usage Use this command to add a collector by specifying the combi...

Page 230: ...nterval INTERVAL_VAL Interval value in second Command Mode Global Configuration Default 20 seconds Usage Use this command to set sFlow polling interval for counter sample Use the no parameter with thi...

Page 231: ...ault Disabled Usage Use this command to enable counter sampling on specified port This command can only be configured on a port which is not a link agg group member The port can be either a physical p...

Page 232: ...number When the value is 32768 one packet will be sampled when 32768 packets are passed sFlow uses CPU resources to collect samples and send samples to the collector If a low sampling rate is set CPU...

Page 233: ...flow sampling enable Use this command to enable packet sampling on individual port Use the no form of this command to disable packet sampling Command Syntax sflow flow sampling enable input output bo...

Page 234: ...g if no sflow flow sampling enable input Related Commands show sflow 15 8 debug sflow Use this command to turn on the debug switches of sflow module Use the no form of this command to turn off the deb...

Page 235: ...e shows how to enable debugging sflow all Switch debug sflow all In the following example shows how to enable debugging sflow all Switch no debug sflow all Related Commands show debugging 15 9 show sf...

Page 236: ...Pv4 address 10 0 0 254 Counter Sampling Interval 10 seconds Collector 1 IPv4 Address 10 0 0 254 Port 3000 sFlow Port Information Flow Sample Flow Sample Port Counter Flow Direction Rate eth 0 7 Enable...

Page 237: ...the states of aaa debugging sflow Display the states of sflow debugging detail Display the detailed information of debugging Command Mode Privileged EXEC Default None Usage Use this command to display...

Page 238: ...hes Command Syntax no debug all Command Mode Privileged EXEC Default None Usage Use this command to turn off all debugging switches Examples In the following example shows how to disable all debugging...

Page 239: ...This example shows how to display history commands information of device Switch show history 1 show version 2 debug sflow all 3 no debug sflow all 4 show history 1 show history Related Commands None 1...

Page 240: ...merge disable logging merge timeout 23 ntp authentication enable 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 syste...

Page 241: ...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 enab...

Page 242: ...ce 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 243: ...TAP Series Switch Command Line Reference 243 no login line vty 0 7 exec timeout 35791 0 privilege level 4 no line password no login Related Commands None...

Page 244: ...The result is usually very long and user can print the result into a file on the flash Examples The following example shows how to display the diagnostic information Switch show diagnostic informatio...

Page 245: ...85acb98f85baa7f username admin privilege 4 password 8 56ab359baafb02a3 username test privilege 4 password 8 13f74103eea3d4f5 split interface eth 0 34 10giga logging buffer 11 logging server enable rad...

Page 246: ...ip access list e1 ip access list aaaa inner match imf1 remark vxlan inner match inner match inner vxlan sequence num 1 match any src ip host 1 1 1 1 dst ip any flow vxlan sequence num 10 permit udp d...

Page 247: ...low 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 interface eth 0 13 interface eth 0 14 interface eth...

Page 248: ...edit ipsa 1 2 3 4 egress eth 0 1 timestamp egress eth 0 21 timestamp line console 0 privilege level 4 no line password no login line vty 0 7 exec timeout 35791 0 privilege level 4 no line password no...

Page 249: ...address mgmt if 10 10 27 232 community sysname 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...

Page 250: ...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...

Page 251: ...erface 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 LinkA...

Page 252: ...CK_SESSION 12 393168 12 MEM_LIB_SOCK_DATA 1 12 16 MEM_LIB_SLIST 171 3420 17 MEM_LIB_SLISTNODE 433 5196 22 MEM_TBL_MASTER 141 115932 23 MEM_TBL_INTERFACE 37 28416 24 MEM_TBL_FEA_PORT_IF 36 2304 26 MEM_...

Page 253: ...P_TRAP 1 384 117 MEM_TBL_SNMP_INFORM 1 384 118 MEM_TBL_SYSLOG_CFG 1 384 119 MEM_TBL_NTP_SERVER 3 288 121 MEM_TBL_NTP_KEY 2 80 122 MEM_TBL_NTP_CFG 1 64 123 MEM_TBL_NTP_IF 1 8 124 MEM_TBL_NTP_IF 1 256 1...

Page 254: ..._POLICY 1 16 201 MEM_TBL_AUTHOR 1 192 202 MEM_TBL_ACCOUNT 1 192 203 MEM_TBL_ACCOUNTCMD 1 192 208 MEM_TBL_FEA_PCAP 1 12 210 MEM_TBL_CPU_PACKETS 1 256 211 MEM_TBL_NS_ROUTE 9 576 212 MEM_TBL_NS_ROUTE_IP...

Page 255: ...28 71 MEM_TBL_BOOTIMAGE 1 1024 72 MEM_TBL_CHASSIS 1 64 73 MEM_TBL_IFNAME_INFO 1 768 74 MEM_TBL_CARD 1 4092 75 MEM_TBL_PORT 34 4352 76 MEM_TBL_FIBER 2 1536 77 MEM_TBL_SYS_SPEC 8 3072 78 MEM_TBL_FAN 4...

Page 256: ...ROUP 1 128 160 MEM_TBL_NS_PORT_FORWARDING 4 80 161 MEM_TBL_LOG_GLOBAL 1 12 163 MEM_TBL_SYS_LOAD 1 32 165 MEM_TBL_CLOCK 1 40 166 MEM_TBL_PORT_STATS 36 9216 167 MEM_TBL_PORT_STATS_RATE 36 1440 168 MEM_T...

Page 257: ..._LIB_HASH_BACKET_LIST 54 442152 4 MEM_LIB_HASH_BACKET 351 4212 9 MEM_LIB_SOCK_MASTER 1 192 10 MEM_LIB_SOCK 6 1536 11 MEM_LIB_SOCK_SESSION 6 196584 12 MEM_LIB_SOCK_DATA 1 16 14 MEM_LIB_OPF 9 84 15 MEM_...

Page 258: ...IF 34 26112 169 MEM_TBL_L2_ACTION 1 4 176 MEM_TBL_ERRDISABLE_FLAP 1 20 177 MEM_TBL_OPM_GLOBAL 1 4 180 MEM_TBL_OPM_DEBUG 1 4 187 MEM_TBL_IGSP_INTF 1 96 194 MEM_TBL_DOT1X_GLOBAL 1 768 199 MEM_TBL_CHIP 1...

Page 259: ...MEM_TBL_LOG_GLOBAL 1 12 163 MEM_TBL_SYS_LOAD 1 32 165 MEM_TBL_CLOCK 1 40 177 MEM_TBL_OPM_GLOBAL 1 4 180 MEM_TBL_OPM_DEBUG 1 4 194 MEM_TBL_DOT1X_GLOBAL 1 768 199 MEM_TBL_CHIP 1 4 229 MEM_TBL_SFLOW_GLOB...

Page 260: ...IN 3 1152 161 MEM_TBL_LOG_GLOBAL 1 12 163 MEM_TBL_SYS_LOAD 1 32 165 MEM_TBL_CLOCK 1 40 177 MEM_TBL_OPM_GLOBAL 1 4 180 MEM_TBL_OPM_DEBUG 1 4 194 MEM_TBL_DOT1X_GLOBAL 1 768 198 MEM_TBL_ENABLE 4 3072 199...

Page 261: ...2 1536 77 MEM_TBL_SYS_SPEC 8 3072 78 MEM_TBL_FAN 4 6144 79 MEM_TBL_PSU 2 3072 81 MEM_TBL_SENSOR 4 4096 82 MEM_TBL_REBOOT_INFO 1 96 84 MEM_TBL_MEM_SUMMARY 1 28 85 MEM_TBL_CHSM_DEBUG 1 4 86 MEM_TBL_SWIT...

Page 262: ...384 193 MEM_TBL_FEA_ACL_POLICY_ACTION 1 4 194 MEM_TBL_DOT1X_GLOBAL 1 768 199 MEM_TBL_CHIP 1 4 200 MEM_TBL_CLEAR_ACL_POLICY 1 16 208 MEM_TBL_FEA_PCAP 1 12 210 MEM_TBL_CPU_PACKETS 1 256 213 MEM_TBL_OPEN...

Page 263: ...MEM_LIB_SOCK_MASTER 1 192 10 MEM_LIB_SOCK 4 1024 11 MEM_LIB_SOCK_SESSION 4 131056 12 MEM_LIB_SOCK_DATA 1 16 16 MEM_LIB_SLIST 100 2000 17 MEM_LIB_SLISTNODE 50 600 22 MEM_TBL_MASTER 31 26112 23 MEM_TBL_...

Page 264: ...ry ingress entries 0 2048 Flow entry egress entries 0 255 System Flow configure 7 4096 System Flow entry configure 3 8192 System L4 Port Range entries 0 7 ls Directory of flash total 3304 rw r r 1 137...

Page 265: ...startup config conf empty rw r r 1 1694 Apr 21 17 40 startup config conf_0421 rwxr xr x 1 1015068 Mar 18 2017 stressapptest rw r r 1 1265046 Sep 27 13 43 syslog drwxr xr x 2 4192 Sep 12 06 09 syslogf...

Page 266: ...h Alarm High Warn Low Warn Low Alarm Temperature Threshold Threshold Threshold Threshold Port Celsius Celsius Celsius Celsius Celsius eth 0 21 32 82 110 00 93 00 30 00 40 00 High Alarm High Warn Low W...

Page 267: ...auto trunk UNKNOWN eth 0 20 down auto auto trunk UNKNOWN eth 0 21 up a full a 1000 trunk 1000BASE_SX eth 0 22 down auto auto trunk UNKNOWN eth 0 23 down auto auto trunk UNKNOWN eth 0 24 down auto auto...

Page 268: ...dministratively DOWN Hardware is Port address is 001e 080b e6c2 Description is TenGigabitEthernet Bandwidth 1000000 kbits Index 1 Metric 1 Speed 1000Mb s Duplex auto Metadata Disable Media type is UNK...

Page 269: ...l 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 5 minute output rate 0 bits sec 0 packets sec 0 pa...

Page 270: ...80b e6c2 Bandwidth 1000000 kbits Index 6 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 271: ...ame 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 Interface eth 0 9 Interface current state Administratively...

Page 272: ...s 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 Received 0 unicast 0 broadcast 0 multicas...

Page 273: ...plex auto Metadata Disable Media type is UNKNOWN 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 M...

Page 274: ...oadcast 0 multicast 0 underruns 0 output errors 0 pause output Interface eth 0 17 Interface current state UP Hardware is Port address is 001e 080b e6c2 Bandwidth 1000000 kbits Index 17 Metric 1 Speed...

Page 275: ...its 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 0 frame 0 overrun 0 pause i...

Page 276: ...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 r...

Page 277: ...eth 0 25 Interface current state DOWN Hardware is Port address is 001e 080b e6c2 Bandwidth 1000000 kbits Index 25 Metric 1 Speed auto Duplex auto Metadata Disable Media type is UNKNOWN Link type is au...

Page 278: ...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 0 under...

Page 279: ...l 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 5 minute output rate 0 bits sec 0 packets sec 0 pa...

Page 280: ...2 Bandwidth 40000000 kbits Index 33 Metric 1 Speed 40Gb s Duplex full Metadata Disable Media type is UNKNOWN Link type is force link Admin input flow control is off output flow control is off Oper inp...

Page 281: ...ived 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 0 underruns 0 output...

Page 282: ...ate change to up Sep 27 12 07 53 Switch TRANSCEIVER 4 NORMAL Interface eth 0 21 received power return to normal before is alarm Sep 27 12 07 51 Switch INTERFACE 4 UPDOWN Interface eth 0 21 state chang...

Page 283: ...filenames The name must also follow the rules for ARPANET host names They must start with a letter and have as interior characters only letters digits hyphens and underline Names must be 63 character...

Page 284: ...lowing 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 Are you sure to process with format ye...

Page 285: ...ample umount USB mass storage device Switch config umount udisk Related Commands format udisk 17 5 management ip address Use this command to set the management IP address on the Switch To remove the m...

Page 286: ...The following example unsets the management ipv4 address Switch config no management ip address Related Commands management route gateway 17 6 management route gateway Use this command to set the gat...

Page 287: ...anagement route add gateway 192 168 100 254 The following example sets the gateway of 192 168 100 254 for the switch Switch config no management route gateway Related Commands management ip address 17...

Page 288: ...e terminal Switch config no service telnet enable Connection closed by foreign host Related Commands telnet 17 8 service http Use this command to set service http enable or disable or restart Command...

Page 289: ...ence 289 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 dis...

Page 290: ...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 The prompt for Privileged EXEC mode is...

Page 291: ...mod use the enable command in user EXEC or Privileged EXEC mode The prompt for Privileged EXEC mode is for EXEC mode is Examples In the following example the user enters Privileged EXEC mode using the...

Page 292: ...gout Command Mode Privileged EXEC Default None Usage To logout of the current CLI session enter the logout command in EXEC mode Examples In the following example the user logout of the current CLI ses...

Page 293: ...tion is entered into a file and saved to the startup configuration Examples The following example is sample dialog from the reboot command Switch reboot Building configuration Reboot system confirm y...

Page 294: ...n Switch show file system Type Size Used Free Use flash 887M 56M 827M 7 flash boot 776M 360M 412M 47 udisk 0B 0B 0B 100 Related Commands None 18 6 show management ip address Use this command to show m...

Page 295: ...ement ip address management route gateway 18 7 show startup config Use this command to show contents of startup configuration Command Syntax show startup config Command Mode Privileged EXEC Default No...

Page 296: ...2 44 version 2 snmp server enable snmp server system contact admin example com snmp server view view1 included 1 2 3 4 mask f snmp server trap target address mgmt if 10 10 27 232 community sysname snm...

Page 297: ...h 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...

Page 298: ...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 1...

Page 299: ...e Command Mode Privileged EXEC Default None Usage Use this command to write startup configuration Examples The following example is to write startup configuration Switch write OK Related Commands show...

Page 300: ...e following example is sample dialog from the boot system command Switch boot system flash boot SecPathTAP2000A IMW110 E6601 BIN 01 Are you sure to use flash boot SecPathTAP2000A IMW110 E6601 BIN 01 a...

Page 301: ...ake effect after reboot Examples The following example is sample dialog from the boot system via tftp command Switch boot system tftp mgmt if 10 10 38 160 SecPathTAP2000A IMW110 E6601 BIN 01 Waiting s...

Page 302: ...IN 01 The next running image is tftp 10 10 38 160 SecPathTAP2000A IMW110 E6601 BIN 01 The following is sample output from the show boot image command Switch show boot image Current boot image version...

Page 303: ...rom the show memory appcfg command Switch show memory appcfg AppCfg Memory Information Type Description Alloc Count Alloc Size 0 MEM_TEMP 1 8188 2 MEM_LIB_HASH 16 320 3 MEM_LIB_HASH_BACKET_LIST 16 131...

Page 304: ...192 129 MEM_TBL_LOGIN 3 1152 161 MEM_TBL_LOG_GLOBAL 1 12 163 MEM_TBL_SYS_LOAD 1 32 165 MEM_TBL_CLOCK 1 40 177 MEM_TBL_OPM_GLOBAL 1 4 180 MEM_TBL_OPM_DEBUG 1 4 194 MEM_TBL_DOT1X_GLOBAL 1 768 198 MEM_TB...

Page 305: ...ory summary command Switch show memory summary total Total memory 940428 KB Used memory 259228 KB Freed memory 681200 KB Buffer memory 0 KB Cached memory 125848 KB Memory utilization 27 56 Related Com...

Page 306: ...ess Usage python 3 42 fea 2 62 switch 0 20 appcfg 0 10 cds 0 10 snmpd 0 10 ccs 0 10 kworker 0 10 Others 5 55 Total 12 29 Related Commands None 18 15 terminal length Use this command to set number of t...

Page 307: ...following is sample to unset terminal length lines Switch terminal no length Related Commands None 18 16 terminal monitor To copy debug output to the current terminal line use the terminal monitor co...

Page 308: ...e current terminal line use the no form of this command Examples The following is sample output from the terminal monitor command Switch terminal monitor The following is sample close the debug output...

Page 309: ...ent directory to dir use the cd command in EXEC mode Examples In the following example the cd command is set the flash boot file system to the Flash memory Switch cd flash boot Switch pwd flash boot R...

Page 310: ...newdir in Flash Switch mkdir flash newdir Related Commands rmdir dir 18 19 rmdir To remove an existing directory in a Flash file system or udisk device use the rmdir command in Privileged EXEC mode Co...

Page 311: ...ir Are you sure to delete flash newdir no y Related Commands mkdir 18 20 pwd Use this command to print working directory Command Syntax pwd Command Mode Privileged EXEC Default None Usage Use this com...

Page 312: ...tion Examples The following is sample output from the ls command Switch ls Directory of flash total 3196 rw r r 1 1371 May 31 22 32 001E080BE6C2 1 lic rwxr xr x 1 295938 Aug 15 10 26 AQR G2_v3 2 5_ID1...

Page 313: ...94 Apr 21 17 40 startup config conf_0421 rwxr xr x 1 1015068 Mar 18 2017 stressapptest rw r r 1 1155521 Sep 22 15 56 syslog drwxr xr x 2 4192 Sep 12 06 09 syslogfile Total 887 00M bytes 875 00M bytes...

Page 314: ...config to tftp server or dest file Command Syntax copy startup config mgmt if STRING mgmt if Need to connect to the URL via management interface STRING Copy to URL and local file name Command Mode Pr...

Page 315: ...if SRC_STRING DST_STRING SRC_STRING Copy from URL DST_STRING Copy to local file Command Mode Privileged EXEC Default None Usage Use this command to copy file from tftp server to local Examples This i...

Page 316: ...file to tftp server or local Command Syntax copy SRC_STRING mgmt if DST_STRING SRC_STRING Copy from URL DST_STRING Copy to local file Command Mode Privileged EXEC Default None Usage None Examples This...

Page 317: ...se the more command in EXEC mode Command Syntax more STRING STRING Text file name Command Mode Privileged EXEC Default None Usage The system can only display a file in ASCII format Examples The follow...

Page 318: ...vileged EXEC Default None Usage If you attempt to delete the configuration file or image the system prompts you to confirm the deletion Examples The following example deletes the file named test from...

Page 319: ...conf bak is renamed startup config conf bak1 Switch rename flash startup config conf bak flash startup config conf bak1 Are you sure to rename flash startup config conf bak confirm y File system synch...

Page 320: ...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...

Page 321: ...the hardware and firmware Examples This example shows how to display version information of the hardware and firmware Switch show version FS i Ware Software Version 1 10 ESS 6601 01 Copyright C 2004...

Page 322: ...stem resources for a particular feature Command Syntax show stm prefer current next default current Current profile information next Next profile information default Balance on all kinds of tables siz...

Page 323: ...nfigure 0 8192 System L4 Port Range entries 0 7 Related Commands stm prefer 19 3 show environment Use this command to show the hardware environment information Command Syntax show environment Command...

Page 324: ...Critical Position 1 56 5 65 80 AROUND_CPU Related Commands temperature 19 4 show clock Use this command to show the clock information Command Syntax show clock Command Mode Privileged EXEC Default No...

Page 325: ...information Command Mode Privileged EXEC Default None Usage Use this command to show the interface transceiver information or the transceiver detail information Examples This example shows how to disp...

Page 326: ...igh Warn Low Warn Low Alarm Temperature Threshold Threshold Threshold Threshold Port Celsius Celsius Celsius Celsius Celsius eth 0 21 32 92 110 00 93 00 30 00 40 00 High Alarm High Warn Low Warn Low A...

Page 327: ...on 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...

Page 328: ...ory 260220 KB Freed memory 680208 KB Buffer memory 0 KB Cached memory 125840 KB Memory utilization 27 67 Related Commands None 19 7 show reboot info Use this command to show reboot information Command...

Page 329: ...NUAL 2017 08 15 02 32 37 23 MANUAL 2017 08 15 02 35 11 24 POWER 2017 08 15 07 51 14 25 MANUAL 2017 08 15 08 19 48 26 UNKNOWN 2017 08 15 08 40 01 27 MANUAL 2017 08 15 08 44 19 28 MANUAL 2017 08 16 03 4...

Page 330: ...t info Command Mode Privileged EXEC Default None Usage The clear reboot info command can clear reboot information Examples The following example shows how to clear reboot information Switch clear rebo...

Page 331: ...n set device indicate led force on or force off Examples The following example shows how to set device indicate led force on Switch set device id led on Related Commands show device id led 19 10 show...

Page 332: ...orced on Related Commands set device id led 19 11 show schedule reboot Use this command to show schedule reboot information Command Syntax show schedule reboot Command Mode Privileged EXEC Default Non...

Page 333: ...sses quality of service QoS access control entries ACEs and unicast routes Command Syntax stm prefer default Command Mode Global Configuration Default System use the default profile when first boot up...

Page 334: ..._HIGH High alarm temperature degree Celsius range 50 to 85 TEMP_CRIT Critical temperature degree Celsius range 55 to 90 Command Mode Global Configuration Default The default threshold is low temperatu...

Page 335: ...CLOCK_MONTH Month of the year ABS_DAY Day of the month ABS_YEAR Year Command Mode Global Configuration Default The default time is based from UTC Usage If no other source of time is available you can...

Page 336: ...Z_NAME add minus TZ_HOURS TZ_MIN TZ_SEC no clock set timezone Z_NAME Zone name must be less than 32 characters add Specify the time offset is positive from UTC minus Specify the time offset is negati...

Page 337: ...Related Commands show clock 19 16 update bootrom Use this command to upgrade bootrom image Command Syntax update bootrom STRING STRING Source file direction Command Mode Global Configuration Default N...

Page 338: ...t interface IF_NAME_E IF_NAME_E Interface name 10giga Split to 10G port 40giga Split to 40G port Command Mode Global Configuration Default None Usage Need to save configuration and reboot to make this...

Page 339: ...te YEAR_MON_DAY Specify the date for current year year range is 2000 2037 Command Mode Global Configuration Default None Usage The reboot time could select time with format HH MM and optional date wit...

Page 340: ..._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 Examples The following example shows h...

Reviews: