# 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.

- Model name

- Boot version

- Firmware revision

- Board version

- Regional information

- Serial number

- Device ID

- MAC address

- CPLD version

- PHY version

- PoE controller version *Only for PoE compatible models

- CPU usage ratio

- Memory usage ratio

- SD card mount status

- Fan operating status

- Fan RPM

- Unit temperature status

- Unit temperature

- Power supply unit status

- Firmware file

- Startup config file

- Setting the automatic SD card booting function

- Serial baud rate

- Startup time

- Current time

- Elapsed time from boot

#### 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 environment | Yes | Yes | Yes
  show running-config | Yes | Yes | Yes
  show startup-config | Yes | Yes | Yes
  show stack | Yes | Yes | Yes
  show system-diagnostics | Yes | Yes | Yes
  show clock detail | Yes | Yes | -
  show disk-usage | Yes | Yes | Yes
  show dipsw | Yes | Yes | Yes
  show inventory | Yes | Yes | Yes
  show boot all | Yes | Yes | Yes
  show boot prioritize sd | Yes | Yes | Yes
  show fan history | 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 (*1) | Yes (*1) | -
  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 dhcp interface | 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 | -
  show yno | Yes | Yes | -

*1 This command is only included in PoE 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.

- For the SWX2320-30MC

  - /swx2320-30mc/techsupport/YYYYMMDDHHMMSS_techsupport.txt

- For the SWX2322P-30MC

  - /swx2322p-30mc/techsupport/YYYYMMDDHHMMSS_techsupport.txt

- YYYYMMDDHHMMSS ... Year, month, day, hour, minute, and second when 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 the DIP switch status | show dipsw
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 switch
    DESCR : SWX2320-30MC
    Vendor: Yamaha
    PID   : SWX2320-30MC
    VID   : 0000
    SN    : Z8M0000000

    NAME  : SFP1
    DESCR : 25G AOC
    Vendor: Yamaha
    PID   : YAOC-25G-1M
    VID   : V1.0
    SN    : Z8V0000000

    NAME  : SFP5
    DESCR : 100G AOC
    Vendor: Yamaha
    PID   : YAOC-100G-1M
    VID   : V1
    SN    : Z8W0000000

### 4.2. Show operating information

The following shows the system operating status.

    Yamaha>show environment
    [Device]
      Model              : SWX2322P-30MC
      BootROM version    : 1.00
      Firmware version   : Rev.2.08.00 (Thu Dec 12 12:12:12 2024)
      Board version      : 00
      Serial             : S00000000
      Device ID          : 0000000-0000000-0000000-00000
      MAC-Address        : ac44.f200.0000
      CPLD version       : 05/12/12
      PHY version        : 10.15.5.0
      PoE version        : 6.0.0.4

    [Status]
      CPU                : 4%(5sec)  4%(1min)  4%(5min)
      Memory             : 7% used
      SD card            : Unmounted
      Fan status         : Normal
          speed          : FAN1:6257rpm  FAN2:6301rpm  FAN3:6067rpm  FAN4:5980rpm
      Temperature status : Normal
                  value  : 32 degree C

    [Configuration]
      Startup firmware           : exec0
      Startup Configuration file : config0
                   selected file : config(SD)
      Boot auto-apply            : Enable
      Serial Baudrate            : 9600

    [Time]
      Boot time                  : 2024/01/01 11:13:00 +09:00
      Current time               : 2024/01/02 16:18:00 +09:00
      Elapsed time from boot     : 1days 05:05:00

### 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 2025
    !
    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
    #

## 5. Points of Caution

- About abnormal internal temperature of this product

  - If the internal temperature of this product exceeds a certain threshold, a temperature anomaly (TempAlarm) will be detected. If this anomaly is detected, immediately review and correct the installation environment so that the temperature becomes appropriate.

  - If a temperature anomaly (TempAlarm) is detected, the following will be output.

    - Example of SYSLOG output results

          [    FANC]:inf: Temp Alarm CPU

    - Example of operation information display results

          Yamaha>show environment
          [Device]
            Model              : SWX2320-30MC
            BootROM version    : 1.00
          ...
          [Status]
            CPU                : 1%(5sec)  1%(1min)  1%(5min)
            Memory             : 8% used
          ...
            Temperature status : Error (Exceeded alarm temperature CPU)

## 6. Related Documentation

None

Search result
No more search results.
There are no topics that match your search query.