Show Chassis Information

Show Chassis Information

1. Function Overview

This product provides the following functionality that can be used to obtain product information, operating information, and so on.

  • Use commands to show chassis information

  • Obtain technical support information remotely

  • Save technical support information on external memory

Technical support information includes a wide variety of data analysis information, including not only product information and operating information for this product, but also configuration information and process operating status information.
The functions can be used to show all information for a device at the same time.

2. Function Details

2.1. Use commands to show chassis information

This function shows chassis information by entering a command in the console.
The following chassis information can be shown.

Display item Explanation Commands

Inventory information

Shows information for this product, such as inventory name, model number, and product ID. If an SFP module has been inserted, the inventory information for the module will also be shown.

show inventory

Operating information

Shows the operating information for this product’s programs, such as running software information, CPU usage, memory usage, boot time.

show environment

Process list

Shows the system summary information and a list of running processes.

show process

Memory usage status

Shows the memory usage status for each process.

show memory

Disk usage status

Shows the usage status of the disks used in the system.

show disk-usage

Technical support information

Shows all available operating information as data analysis information necessary for technical support. If the stack function is enabled, technical support information is shown for member switches in addition to information for the main switch.

show tech-support

2.1.1. Show inventory information

Product information for the main unit and SFP module can be shown using the show inventory command. Product information includes the following information.

  • Name (NAME)

  • Description (DESCR)

  • Vendor Name (Vendor)

  • Product ID (PID)

  • Version ID (VID)

  • Serial number (SN)

2.1.2. Show operating information

System operating status can be shown using the show environment command. The system operating status includes the following information.

  • Boot version

  • Firmware revision

  • Serial number

  • MAC address

  • CPU usage ratio

  • Memory usage ratio

  • Fan operating status

  • Fan RPM

  • Firmware file

  • Startup config file

  • Setting the automatic SD card booting function

  • Serial baud rate

  • Startup time

  • Current time

  • Elapsed time from boot

  • Unit temperature status

  • Unit temperature

2.1.3. Show technical support information

Technical support information can be shown using the show tech-support command. Technical support information includes results from executing the following commands.

When the stack function is enabled, technical support information for all devices in the stack configuration is shown.
However, the commands executed on the main switch and member switches are different. For details, refer to the command list.

  • List of commands to be executed

    Commands

    Stacking disabled

    Stacking enabled

    Main switch

    Member switch

    show running-config

    Yes

    Yes

    Yes

    show startup-config

    Yes

    Yes

    Yes

    show stack

    Yes (*1)

    Yes (*1)

    Yes (*1)

    show environment

    Yes

    Yes

    Yes

    show system-diagnostics

    Yes

    Yes

    Yes

    show clock detail

    Yes

    Yes

    -

    show disk-usage

    Yes

    Yes

    Yes

    show inventory

    Yes

    Yes

    Yes

    show boot all

    Yes

    Yes

    Yes

    show boot prioritize sd

    Yes

    Yes

    Yes

    show logging

    Yes

    Yes

    Yes

    show process

    Yes

    Yes

    Yes

    show memory

    Yes

    Yes

    Yes

    show users

    Yes

    Yes

    Yes

    show interface

    Yes

    Yes

    -

    show frame-counter

    Yes

    Yes

    -

    show vlan brief

    Yes

    Yes

    -

    show spanning-tree mst detail

    Yes

    Yes

    -

    show etherchannel status detail

    Yes

    Yes

    -

    show loop-detect

    Yes

    Yes

    -

    show mac-address-table

    Yes

    Yes

    -

    show l2ms detail

    Yes

    Yes

    -

    show qos queue-counters

    Yes

    Yes

    -

    show ddm status

    Yes

    Yes

    Yes

    show errdisable

    Yes

    Yes

    -

    show auth status

    Yes

    Yes

    -

    show auth supplicant

    Yes

    Yes

    -

    show power-inline

    Yes

    Yes

    -

    show error port-led

    Yes

    Yes

    -

    show ip interface brief

    Yes

    Yes

    -

    show ip forwarding

    Yes

    Yes

    -

    show ipv6 interface brief

    Yes

    Yes

    -

    show ipv6 forwarding

    Yes

    Yes

    -

    show ip route

    Yes

    Yes

    -

    show ip route database

    Yes

    Yes

    -

    show ipv6 route

    Yes

    Yes

    -

    show ipv6 route database

    Yes

    Yes

    -

    show arp

    Yes

    Yes

    -

    show ipv6 neighbors

    Yes

    Yes

    -

    show ip igmp snooping groups

    Yes

    Yes

    -

    show ip igmp snooping interface

    Yes

    Yes

    -

    show ipv6 mld snooping groups

    Yes

    Yes

    -

    show ipv6 mld snooping interface

    Yes

    Yes

    -

    show ip dhcp snooping binding

    Yes

    Yes

    -

    show ip dhcp snooping statistics

    Yes

    Yes

    -

    show radius-server local certificate status

    Yes

    Yes

    -

    show radius-server local nas

    Yes

    Yes

    -

    show radius-server local user

    Yes

    Yes

    -

    show radius-server local certificate list

    Yes

    Yes

    -

    show radius-server local certificate revoke

    Yes

    Yes

    -

    show sflow

    Yes

    Yes

    -

    show sflow sampling

    Yes

    Yes

    -

*1 This command is only included in stack-compatible models.

2.2. Obtain technical support information remotely

Technical support information (output results from show tech-support) can be obtained from the product by remote access via the Web GUI or TFTP.

2.2.1. Web GUI

In order to operate this product’s HTTP server, use the steps shown below to set up a network environment that allows remote access.

  1. Decide on the VLAN that will be used for maintenance.

  2. Set the IPv4 address on the maintenance VLAN. Set it using the ip address command.

  3. Permit access from the maintenance VLAN to the HTTP server. To specify a different VLAN than for management interface command settings, use the http-server interface command.

Execute the following operations by accessing the Web GUI.

  • Show technical support information on the Web GUI

    • In the “TECHINFO” menu, press the “Show in browser” button. The execution result of the “show tech-support” command is shown.

    • To close, press the web browser’s close button.

  • Obtain technical support information from the Web GUI

    • In the “TECHINFO” menu, press the “Obtain as text file” button to start the download automatically.

    • The file is saved with a file name in the following format.

      • techinfo_YYYYMMDDhhmmss.txt (where “YYYYMMDDhhmmss” is the date/time the command was executed)

2.2.2. TFTP

In order to operate this product’s TFTP server, use the steps shown below to set up a network environment that allows remote access.

  1. Decide on the VLAN that will be used for maintenance.

  2. Set the IPv4 address on the maintenance VLAN. Set it using the ip address command.

  3. Permit access from the maintenance VLAN to the TFTP server. To specify a different VLAN than for management interface command settings, use the tftp-server interface command.

If using a TFTP client, specify techinfo in the remote path for obtaining technical support information.

2.3. Save technical support information on external memory

You can use the copy tech-support sd command to save this product’s *technical support information (the output result of “show tech-support”) *on an SD card.
Before executing this command, you must insert an SD card.
The information is saved in the SD card with the following file name.

  • /swx2310p/techsupport/YYYYMMDDHHMMSS_techsupport.txt (where “YYYYMMDDHHMMSS” is the date/time the command was executed)

3. Related Commands

Related commands are indicated below.
For command details, refer to the command reference.

Operations Operating commands

Show inventory information

show inventory

Show operating information

show environment

Process list

show process

Memory usage status

show memory

Disk usage status

show disk-usage

Show technical support information

show tech-support

Save technical support information

copy tech-support sd

4. Examples of Command Execution

4.1. Show inventory information

The following shows product information for the main unit and SFP module.

Yamaha>show inventory
NAME: L2 POE switch
DESCR: SWX2310P-10G
Vendor: Yamaha
PID: SWX2310P-10G
VID: 0000
SN: S00000000

NAME: SFP1
DESCR: 1000BASE-LX
Vendor: YAMAHA
PID: YSFP-G-LX
VID: 0000
SN: 00000000000

NAME: SFP2
DESCR: 1000BASE-SX
Vendor: YAMAHA
PID: YSFP-G-SX
VID: 0000
SN: 00000000000

4.2. Show operating information

The following shows the system operating status.

Yamaha>show environment
SWX2310P-10G BootROM Ver.1.00
SWX2310P Rev.2.02.02 (Tue Dec  5 11:37:39 2017)
main=SWX2310P-10G ver=00 serial=S00000000 MAC-Address=00a0.de00.0000
CPU:   7%(5sec)   8%(1min)   8%(5min)    Memory:  18% used
Fan status: Normal
Fan speed: FAN1=4444RPM FAN2=4444RPM FAN3=4444RPM
Startup firmware: exec0
Startup Configuration file: config0
Auto-apply: Enable
Serial Baudrate: 9600
Boot time: 2018/01/01 11:13:44 +09:00
Current time: 2018/01/02 16:19:43 +09:00
Elapsed time from boot: 1days 05:06:04
Temperature status: Normal
Temperature: 28 degree C

Yamaha>

4.3. Show technical support information

The following shows technical support information.

Yamaha#show tech-support
#
# Information for Yamaha Technical Support
#

*** show running-config ***
!
!  - Running Configuration -
!  Current Time:  Fri Jan 1 00:00:00 JST 2021
!
dns-client enable
!
vlan database
 vlan 2 name VLAN0002
 vlan 3 name VLAN0003
!
interface port1.1
 switchport
 switchport mode access
...

*** show startup-config ***
...

*** show stack ***
...

*** show environment ***
...

*** show disk-usage ***
...
...
...

#
# End of Information for Yamaha Technical Support
#