Commands For Show

14.1 Commands for Show

14.1.1 clear history all-users

Command: clear history all-users
Function: Clear the command history of all users.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Use this command to clear the command history of all users.
Example:? Clear the command history of all users.

active500EM#clear history all-users

 

14.1.2 clear logging

Command: clear logging {sdram | nvram}
Function: Clear all information in the log buffer zone.
Parameters: None.
Command mode:? Admin Mode
Default: None
Usage guide: When the old information in the log buffer zone is no longer required, this command can clear all information.
Example: Clear all information in the log buffer zone sdram.

active500EM#clear logging sdram

Related Command: show logging buffered
 

14.1.3 history all-users max-length

Command: history all-users max-length <count>
Function: Set the max saved command history?for all users.
Parameter:

  • <count>: command history number that can be saved. The valid range is from 100 to 1000.

Command mode: Global Mode
Default: 100.
Usage guide: This command can set the maximum history number.
Example: Set the max saved command history?for all users.

active500EM(config)#history all-users max-length 500

 

14.1.4 logging

Command: logging { <ipv4-addr>| <ipv6-addr>} [facility <local-number>] [level <severity>] no logging { <ipv4-addr>| <ipv6-addr>} [facility <local-number>]
Function: Configure the output channel of the log host. The no command disables the output at the log host output channel.
Parameters:

  • <ipv4-addr>: IPv4 address of the host.
  • <ipv6-addr>: IPv6 address of the host.
  • <local-number>:recording equipment of the host. The valid range is local0 to local7 in accordance with the facility defined in the RFC3164.
  • <severity>: the severity threshold of the log information severity level. Only those with a level equal to or higher than the threshold will be output.

Command mode: Global Mode
Default: No log information output to the log host. The default recorder of the log host is local0. The default severity level is warnings.
Usage guide: This command is only available when the log host is configured by the logging command. MultipleIPv4 and IPv6 log hosts can be configured.
Example: Send the log information with a severity level equal to or higher than warning to the log server with an IPv4 address of 100.100.100.5 and save to the log recording equipment local.

active500EM(config)#logging 100.100.100.5 facility local1 level warnings

Send the log information with a severity level equal to or higher than informational to the log server with an IPv6 address of 3ffe:506:1:2::3 and save to the log recording equipment local5.

active500EM(config)#logging 3ffe:506:1:2::3 facility local1 level informational

 

14.1.5 logging executed-commands

Command: logging executed-commands {enable | disable}
Function: Enable or disable the logging executed-commands.
Parameters: None.
Command mode: Global Mode
Default: Disable.
Usage guide: After enabling logging with this command, the commands executed by the user at the console, Telnet, or SSH terminal will record the log. It should be used with the logging LOGHOST command.
Example: Enable the command and send the commands executed by user into log host (10.1.1.1).

active500EM(config)#logging 10.1.1.1
active500EM(config)#logging executed-commands enable

 

14.1.6 logging loghost sequence-number

Command: logging loghost sequence-number
no logging loghost sequence-number
Function: Add the loghost sequence-number for the log. The no command removes the loghost sequence-number.
Parameters: None.
Command mode: Port Mode
Default: Do not include the sequence-number.
Usage guide: Use the logging command to configure the loghost before this command is set.
Example: Open the loghost sequence-number.

active500EM(config)#logging loghost sequence-number

 

14.1.7 logging source-ip

Command: logging source-ip {<ipv4-address> | <ipv6-address>}
no logging source-ip {<ipv4-address> | <ipv6-address>}
Function?Configure the IPv4 or IPv6 address used in sending the log. The no command deletes the address.
Parameters?

  • <ipv4-address>: IPv4 address used in sending the log. The format is dotted decimal format.
  • <ipv6-address>: IPv6 address used in the sending log. The valid format is hexadecimal divided by colons.

Command mode?Global Mode
Default?The log sent to the log host selects a source address according to the interface address sent by the log packets.
Usage guide?Select the source address according to the interface address sent by the log packets. When it is configured, adopt the configured source address as the source address of the log packets.
Example: Configure the IP address used in sending the log.

active500EM(config)#logging source-ip 1.1.1.1

Delete the configured resource address used in sending ipv6 log packets.

active500EM(config)#no logging source-ip2001::1

 

14.1.8 logging source-ip flags

Command: logging source-ip flags
no logging source-ip flags
Function?Set the source IPv4 or IPv6 address of the source sending the log to the log host. The no command removes the source IPv4 or IPv6 address.
Parameters: None.
Command mode?Global Mode
Default?The log sent to the log host does not include the source IPv4 or IPv6 address.
Usage guide?Before using this command, use the logging command to configure the log host and configure the source IPv4 or IPv6 address used in sending the log. When configured, this command configures the source IPv4 or IPv6 address at the same time. The content of the log will include the configured source address. Otherwise, the log sent to the log host does not include the source IPv4 or IPv6 address used by the sending log.
Example?Enable the source IPv4 or IPv6 address to be added to the source sending the log.

active500EM(config)#logging source-ip flags

 

14.1.9 logging loghost sequence-number

Command: logging loghost sequence-number
no logging loghost sequence-number
Function: Add the loghost sequence-number for the log. The no command does not include the loghost sequence-number.
Parameters: None.
Command mode: Port Mode
Default: Do not include the sequence-number.
Usage guide: Use the logging command to configure the loghost before this command is used.
Example: Open the loghost sequence-number.

active500EM(config)#logging loghost sequence-number

 

14.1.10 ping

Command: ping [src <source-address>] {<destination-address>|host <hostname>}
Function: Issue ICMP request to remote devices. Check whether the remote device can be reached by the switch.
Parameters:

  • <source-address>: source IP address where the ping command is issued. The valid format is dotted decimal format.
  • <destination-address>: target IP address of the ping command. The valid format is dotted decimal format.
  • <hostname>: target host name of the ping command. The valid length should not exceed 64 characters.

Command mode: Admin Mode
Default: 5 ICMP echo requests will be sent. The default packet size is 56 bytes and the default timeout is 2 seconds.
Usage guide: When the ping command is entered without any parameters, interactive configuration mode will be invoked. Ping parameters can be entered interactively.
Example: Ping 10.1.128.160 with default parameters.

active500EM#ping 10.1.128.160
Type ^c to abort.
Sending 5 56-byte ICMP Echos to 10.1.128.160, timeout is 2 seconds.
...!!
Success rate is 40 percent (2/5), round-trip min/avg/max = 0/0/0 ms

In the example above, the switch is made to ping the device at 10.1.128.160. The command did not receive ICMP reply packets for the first 3 ICMP echo requests within the default 2 second timeout. The ping failed for the first three tries; however, the last two pings succeeded. So, the success rate is 40 percent. Ping failure is noted on the switch with a period to signify an unreachable link, while exclamation marks indicate ping success because the link was reached.
Ping 10.1.128.160 with source address configuration, and leave other fields at default:

active500EM#ping src 10.1.128.161 10.1.128.160
Type ^c to abort.
Sending 5 56-byte ICMP Echos to 10.1.128.160, using source address 10.1.128.161, timeout is 2 seconds.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms

In the example above, 10.1.128.161 is configured as the source address of the ICMP echo requests, while the destination device is configured to be at 10.1.128.160. The command receives all the ICMP reply packets for all of the five ICMP echo requests. The success rate is 100 percent.
Ping with parameters entered interactively:

active500EM#ping
VRF name?
Use IP Address[y]: y
Target IP address?10.1.128.160
Use source address option[n]: y
Source IP address: 10.1.128.161
Repeat count [5]: 10
Datagram size in byte [56]?500
Timeout in milliseconds [2000]: 1000
Extended commands [n]: n
Type ^c to abort.
Sending 10 500-byte ICMP Echos to 10.1.128.160, using source address 10.1.128.161, timeout is 1 seconds.
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 0/0/0 ms
Displayed Information Explanation
VRF name VRM name. If MPLS is not enabled, this field will be left empty.
Use IP Address[y] Identifies whether or not to use ping with a target IP address; answering no will give a prompt for the target Host Name.
Target IP address? The IP address of the target device.
Use source address option[n] Identifies whether or not to use ping with a source address.
Source IP address Specifies the source IP address for ping.
Repeat count [5] Number of ping requests to be sent. The default value is 5.
Datagram size in byte [56] The size of the ICMP echo requests. The default value is 56 bytes.
Timeout in milliseconds [2000]: Timeout in milliseconds. The default value is 2 seconds.
Extended commands [n]: Identifies whether to use other extended options.

 

14.1.11 ping6

Command: ping6 [src <src-ipv6-address>] {<dst-ipv6-address> | host <hostname>}
Function: Check whether the destination network can be reached.
Parameters:

  • <src-ipv6-address>: source IPv6 address where the ping command is issued.
  • <dst-ipv6-address>: target IPv6 address of the ping command.
  • <hostname>: target host name of the ping command, which should not exceed 64 characters.

Command mode: Normal User Mode
Default: Five ICMP6 echo requests will be sent by default. The default packet size is 56 bytes. The default timeout is 2 seconds.
Usage guide: When the ping6 command is issued with only 1 IPv6 address, other parameters will be defaulted. When the IPv6 address is a local data link address, the name of the VLAN interface should be specified. When the source IPv6 address is specified, the command will fill the ICMP6 echo requests with the specified source address to ping.
Example: Ping the target IPv6 address 2001:1:2::4 with default parameters.

active500EM>ping6 2001:1:2::4
Type ^c to abort.
Sending 5 56-byte ICMP Echos to 2001:1:2::4, timeout is 2 seconds.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/320/1600 ms

Issue the ping6 command with source IPv6 address specified.

active500EM>ping6 src 2001:1:2::3 2001:1:2::4
Type ^c to abort.
Sending 556-byte ICMP Echosto 2001:1:2::4 , using src address 2001:1:2::3, timeout is 2 seconds.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

Issue the ping6 command with parameters inputted interactively.

active500EM>ping6
Use IPv6 Address[y]:y
Target IPv6 address: fe80::2d0:59ff:feb8:3b27
Output Interface: vlan1
Use source address option[n]:y
Source IPv6 address: fe80::203:fff:fe0b:16e3
Repeat count [5]:
Datagram size in byte [56]:
Timeout in milli-seconds [2000]:
Extended commands [n]:
Type ^c to abort.
Sending 5 56-byte ICMP Echos to fe80::2d0:59ff:feb8:3b27, using src address fe80::203:fff:fe0b:16e3, timeout is 2 seconds.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/16 ms
Displayed Information Explanation
ping6 The ping6 command.
Use IPv6 Address[y] Identifies whether or not to use ping with a target IPv6 address; answering no will give you a prompt for the target Host Name.
Target IPv6 address The target IPv6 address of the command.
Output Interface The name of the VLAN interface, which should be specified when the target address is a local data link address.
Use source address option [n]: Identifies whether or not to use a source IPv6 address. Disabled by default.
Source IPv6 address Source IPv6 address.
Repeat count[5] Number of ping packets.
Datagram size in byte[56] Packet size of the ping command. 56 bytes by default.
Timeout in milli-seconds[2000] Timeout for the ping command. 2 seconds by default.
Extended commands[n] Extended configuration. Disabled by default.
! The network is reachable.
. The network is unreachable.
Success rate is 100 percent(5/5), round-trip min/avg/max = 1/1/1ms Statistical information. Success rate is 100 percent of ping packet.

 

14.1.12 show boot-files

Command : show boot-files
Function: Display the boot files.
Parameters: None.
Command mode: Admin
Default: None.
Usage guide:?This command is used if?the user needs to check primary and backup image file at the next boot time.
Example: Check the boot files.

active500EM#show boot-files
Booted files on switch
The primary img file at the next boot time:       flash:/nos.img
The backup img file at the next boot time:        flash:/nos.img
Current booted img file:
The startup-config file at the next boot time:    NULL
Current booted startup-config file:               NULL

 

14.1.13 show debugging

Command: show debugging {bgp | dvmrp | igmp | ipv6 | mld | nsm | ospf | other |
pim | rip | spanning-tree | vrrp}
Function: Display the debug switch status.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: If the user needs to check which debug switches have been enabled, execute this command.
Example: Check for currently enabled debug switches.

active500EM#show debugging ospf
OSPF debugging status:
 OSPF all IFSM debugging is on
 OSPF packet Hello detail debugging is on
 OSPF packet Database Description detail debugging is on
 OSPF packet Link State Request detail debugging is on
 OSPF packet Link State Update detail debugging is on
 OSPF packet Link State Acknowledgment detail debugging is on
 OSPF all LSA debugging is on
 OSPF all NSM debugging is on
 OSPF all events debugging is on
 OSPF all route calculation debugging is on

Related Command: debug
 

14.1.14 show fan

Command:show fan
Function: Display fan information for the switch.
Parameters: None.
Command mode: Any Mode
Default: None.
Usage guide: Check fan information for the switch.
Example: Show the current fan information for the switch.

active500EM(config)#show fan
Fan board information:
Fan No           Status           Speed
1                Normal           High
2                Normal           High
3                Normal           High
4                Normal           High

 

14.1.15 show flash

Command: show flash
Function: Display the size of the files which are reserved in the system flash memory.
Parameters: None.
Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: Display the size of the files which are reserved in the system flash memory.
Example: List the files in the system flash memory and their size.

active500EM#show flash
boot.rom329, 828     1900-01-01 00:00:00 --SH
boot.conf94          1900-01-01 00:00:00 --SH
nos.img2, 449, 496   1980-01-01 00:01:06 ----
startup-config2, 064 1980-01-01 00:30:12 ----

 

14.1.16 show history

Command: show history
Function: Display the recent user command history.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: The system holds up to 20 commands the user entered. The user can use the UP/DOWN key or their equivalent (ctrl+p and ctrl+n) to access the command history.
Example: Display the recent user command history.

active500EM#show history
  enable
  config
  interfaceethernet1/0/3
  enable
  dir
  show ftp

 

14.1.17 show history all-users

Command: show history all-users [detail] Function: Display the recent command history of all users.
Parameters:

  • detail: includes the user name executing the command. The IP address of the user will be shown when logging in the executing command through Telnet or SSH.

Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: This command is used to show the recent command history of all users, including time, logging type, executing command, etc. Note: The user can only check the command history of other users whose clearance level is at the same level or lower.
Example: Display the recent command history of all users.

active500EM(config)#show history all-users detail
Time          Type       User             Command
  0w 0d 0h 2m Telnet/SSH admin            show history all-users detail 192.168.1.2:1419
  0w 0d 0h 1m Telnet/SSH admin            show history all-users        192.168.1.2:1419
  0w 0d 0h 1m Console    Null             show history all-users
  0w 0d 0h 1m Console    Null             end
  0w 0d 0h 1m Console    Null             ip address 192.168.1.1 255.255.255.0
  0w 0d 0h 0m Console    Null             in v 1
  0w 0d 0h 0m Console    Null             telnet-server enable

 

14.1.18 show logging buffered

Command: show logging buffered [level {critical | warnings} | range <begin-index><end-index>] Function: Display the detailed information in the log buffer channel.
Parameters:

  • level {critical | warnings}: indicates the level of critical information.
  • <begin-index>: index start value of the log message. The valid range is from 1 to 65535.
  • <end-index>: index end value of the log message. The valid range is from 1 to 65535. When only displaying logging buffered information of the line card, the range parameter must be added, but the main control does not contain the request.

Command mode: Admin Mode and Configuration Mode
Default: When no parameter is specified, all critical log information will be displayed.
Usage guide: Warning and critical log information is saved in the buffer zone. When displayed to the terminal, the display format should be:
index ID time <level> module ID [mission name] log information.
Example: Display the critical log information in the log buffer zone channel and related to the main control with index ID between 940 and 946.

active500EM#show logging buffered level critical range 940 946
Current messages in SDRAM:821

Display all the information with a level that is warning and above in the log buffer zone channel.

active500EM#show logging buffered level warning

 

14.1.19 show logging executed-commands state

Command: show logging executed-commands state
Function: Display the logging executed-commands state.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Use this command to display the state (enable or disable).
Example: Display the logging executed-commands state.

active500EM#show logging executed-commands state
Logging executed command state is enable

 

14.1.20 show logging source

Command: show logging source mstp
Function: Display the MSTP module log information source.
Parameters: None.
Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: Check the log information source, including the information channel, and the information severity level.
Example: Show the log information source of MSTP:

active500EM#show logging source mstp
system module log switch status:
Channel         Onoff           Severity
logbuff         on              warning
loghost         on              warning
terminal        on              warning

 

14.1.21 show memory

Command: show memory [usage] Function: Display the contents in the memory.
Parameters: usage: memory use information.
Command mode: Admin Mode
Default: None.
Usage guide: This command is used for switch debug purposes. The command will interactively prompt the user to enter the start address of the desired information in the memory and the output word number. The displayed information consists of three parts: address, hex view of the information, and character view.
Example: Display the contents in the memory.

active500EM#show memory
start address : 0x2100
number of words[64]:
002100:  0000 0000 0000 0000  0000 0000 0000 0000   *................*
002110:  0000 0000 0000 0000  0000 0000 0000 0000   *................*
002120:  0000 0000 0000 0000  0000 0000 0000 0000   *................*
002130:  0000 0000 0000 0000  0000 0000 0000 0000   *................*
002140:  0000 0000 0000 0000  0000 0000 0000 0000   *................*
002150:  0000 0000 0000 0000  0000 0000 0000 0000   *................*
002160:  0000 0000 0000 0000  0000 0000 0000 0000   *................*
002170:  0000 0000 0000 0000  0000 0000 0000 0000   *................*

 

14.1.22 show running-config

Command: show running-config
Function: Display the current active configuration parameters for the switch.
Parameters: None.
Command mode: Admin Mode
Default: If the active configuration parameters are the same as the default operating parameters, nothing will display.
Usage guide: When the user finishes a set of configurations and needs to verify them, this command can be used to display the current active parameters.
Example: Display configuration parameters for the switch.

active500EM#show running-config

 

14.1.23 show running-config current-mode

Command: show running-config current-mode
Function: Show the configuration under the current mode.
Parameters: None.
Command mode: All Modes
Default: None.
Usage guide: Enter into any configuration mode and input this command. This command can show all the configurations under the current mode.
Example: Show the configuration under the current mode.

active500EM(config-if-ethernet1/0/1)#show run current-mode
!
Interface Ethernet1/0/1
switchport access vlan 2
!

 

14.1.24 show startup-config

Command: show startup-config
Function: Display the switch parameter configurations currently written into the flash memory. These configurations are usually also the configuration files used for the next power-up.
Parameters: None.
Command mode: Admin Mode
Default: If the configuration parameters read from the flash are the same as the default operating parameter, nothing will display.
Usage guide: The show running-config command differs from show startup-config in that when the user finishes a set of configurations, show running-config displays the recently added configurations, while the show startup-config won?t display any recent configurations. However, if the write command is executed to save the active configuration to the flash memory, the displays of show running-config and show startup-config will be the same.
Example: Display the switch parameter configurations currently written into the flash memory; those are usually also the configuration files used for the next power-up.

active500EM#show startup-config

 

14.1.25 show switch port interface

Command: show switchport interface [ethernet<IFNAME>] Function: Show the VLAN port mode, VLAN number, and trunk port messages of the VLAN port node on the switch.
Parameters:

  • <IFNAME>: port number.

Command mode: Admin Mode
Default: None.
Usage guide: Show the VLAN port mode, VLAN number, and trunk port messages of the VLAN port node on the switch.
Example: Show VLAN messages of port Ethernet 1/0/1.

active500EM#show switchport interface ethernet 1/0/1
Ethernet1/0/1
Type :Universal
Mac addrnum : No limit
Mode :Trunk
Port VID :1
Trunk allowed Vlan :ALL
Displayed Information Description
Ethernet1/0/1 Corresponding interface number of the Ethernet.
Type Current interface type.
Mac addrnum Numbers of interfaces with MAC address learning ability.
Mode: Trunk Current interface VLAN mode.
Port VID :1 Current VLAN number the interface belongs to.
Trunk allowed Vlan :ALL VLAN permitted by the Trunk.

 

14.1.26 show tcp

Command: show tcp
Function: Display the current TCP connection status established to the switch.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Display the current TCP connection status established to the switch.
Example: Display the current TCP connection status established to the switch.

active500EM#show tcp
Local Address     Local Port  Foreign Address   Foreign Port     State
0.0.0.0           23          0.0.0.0           0                LISTEN
0.0.0.0           80          0.0.0.0           0                LISTEN
Displayed information Description
Local Address Local address of the TCP connection.
Local Port Local pot number of the TCP connection.
Foreign Address Remote address of the TCP connection.
Foreign Port Remote port number of the TCP connection.
State Current status of the TCP connection.

 

14.1.27 show tcp ipv6

Command: show tcp ipv6
Function: Displaythe current TCP connection of an established IPv6 address.
Parameters: None.
Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: Display the current TCP connection of an established IPv6 address.
Example: Display the current TCP connection of an established IPv6 address.

active500EM#show tcp ipv6
LocalAddress               LocalPort  RemoteAddress       RemotePort   State      IF  VRF
::                         80         ::                   0           LISTEN     0   0
::                         23         ::                   0           LISTEN     0   0
Displayed Information Explanation
LocalAddress Local IPv6 address of the TCP connection
LocalPort Local port of the TCP connection
RemoteAddress Remote IPv6 address of the TCP connection
RemotePort Remote Port of the TCP connection
State The current state of the TCP connection
IF Local port index of the TCP connection
VRF Virtual route forward instance

 

14.1.28 show telnet login

Command: show telnet login
Function: Display information of currently available Telnet clients connected to the switch.
Parameters: None.
Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: This command is used to list the information of currently available Telnet clients connected to the switch.
Example: Display information of currently available Telnet clients connected to the switch.

active500EM#show telnet login
Authenticate login by local.
Login user:
admin

 

14.1.29 show temperature

Command: show temperature
Function: Display the temperature of the CPU.
Parameters: None.
Command mode: All
Default: None.
Usage guide: This command can be used to monitor the CPU temperature of the switch.
Example: Show the temperature of the CPU of the switch.

active500EM(config)#show temperature
Temperature: 47.0625 ?

 

14.1.30 show tech-support

Command: show tech-support
Function: Display information about the switch and including tasks which are running. This command is used to diagnose the switch by a technical support specialist.
Parameters: None.
Command mode: Admin Mode and Configuration Mode
Default: None.
Usage guide: When failure occurs on the switch, this command can be used to get related information in order to diagnose the problems.
Example: Display information about the switch and including tasks which are running.

active500EM#show tech-support

 

14.1.31 show udp

Command: show udp
Function: Display the current UDP connection status established to the switch.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Display the current UDP connection status established to the switch.
Example: Display the current UDP connection status established to the switch.

active500EM#show udp
LocalAddress     LocalPort  ForeignAddress   ForeignPort     State
0.0.0.0          161        0.0.0.0          0               CLOSED
0.0.0.0          123        0.0.0.0          0               CLOSED
0.0.0.0          1985       0.0.0.0          0               CLOSED
Displayed information Description
LocalAddress Local address of the UDP connection.
LocalPort Local pot number of the UDP connection.
ForeignAddress Remote address of the UDP connection.
ForeignPort Remote port number of the UDP connection.
State Current status of the UDP connection.

 

14.1.32 show udp ipv6

Command: show udp ipv6
Function: Display the current UDP connection.
Parameters: None.
Command mode: Admin and Configuration Mode
Default: None.
Usage guide: Display the current UDP connection.
Example: Display the current UDP connection.

active500EM#show udp ipv6
LocalAddress                  LocalPort      RemoteAddress      RemotePort         State
::                            69             ::                 0                  CLOSED
::                            1208           ::                 0                  CLOSED
Displayed Information Explanation
LocalAddress Local IPv6 address of the UDP connection.
LocalPort Local port of the UDP connection.
RemoteAddress Remote IPv6 address of the UDP connection.
RemotePort Remote Port of the UDP connection.
State The current state of the UDP connection.

 

14.1.33 show version

Command: show version
Function: Display the switch version.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Use this command to view the version information for the switch, including hardware and software versions.
Example: Display the switch version.

active500EM#show version

 

14.1.34 traceroute

Command: traceroute[source <ipv4-addr> ] {<ip-addr> | host <hostname> } [hops <hops> ] [timeout <timeout> ] Function: Test the gateways passed by the data packets traveling from the source device to the target device. This can be used to test connectivity and locate a failed sector.
Parameters:

  • <ipv4-addr>: assigned source host IPv4 address in dotted decimal format.
  • <ip-addr>: target host IP address in dotted decimal format.
  • <hostname>: hostname for the remote host.
  • <hops>: maximum gateway number allowed by the traceroute command.
  • <timeout>: timeout value for test packets in milliseconds. The valid range is from 100 to 10000.

Command mode: Admin Mode
Default: The default maximum gateway number is 30 and the timeout is 2000 ms.
Usage guide: This command is usually used to locate the problem for unreachable network nodes.
Example: Test the gateways passed by the data packets traveling from the source device to the target device.

active500EM#traceroute 192.168.20.10 hops 10 timeout 100

 

14.1.35 traceroute6

Command: traceroute6 [source <addr>] {<ipv6-addr> |host <hostname>} [hops <hops>] [timeout <timeout>] Function: Test the gateways passed by the data packets from the source device to the destination device to check the accessibility of the network and further locate the network failure.
Parameters:

  • <addr>: assigned source host IPv6 address in colon hex notation.
  • <ipv6-addr>: IPv6 address of the destination host in colon hex notation.
  • <hostname>: name of the remote host.
  • <hops>: max number of the gateways the traceroute6 passed through. The valid range is from 1 to 255.
  • <timeout>: timeout period of the data packets, shown in milliseconds and ranging from 100 to 10000.

Command mode: Admin Mode
Default: Default number of the gateways passes by the data packets is 30 and the default timeout period is 2000ms.
Usage guide: This command is normally used to locate destination network inaccessible failures.
Example: Test the gateways passed by the data packets from the source device to the destination device to check the accessibility of the network and further locate the network failure.

active500EM#traceroute6 2004:1:2:3::4

Related Command: ipv6 host
 


Return to Controller Wired CLI Table of Contents