OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

Check device status

Use show commands to check the status of a device and monitor activities.

  • Enter show ? from EXEC mode to view a list of commands to monitor a device.
    OS10# show ?
                                        alarms                   Display all current alarm situation in the system
                                        alias                    Show list of aliases
                                        boot                     Show boot information
                                        candidate-configuration  Current candidate configuration
                                        class-map                Show QoS class-map configuration
                                        cli-session              This command is deprecated please use 'show sessions' instead
                                        clock                    Show the system date and time
                                        command-history          shows command history of the current user
                                        control-plane            Display control-plane related informations
                                        copy-file                Show file copy operation information
                                        diag                     Show diagnostic information for port adapters/modules
                                        diff                     Display differences between two configuration set
                                        dot1x                    Show dot1x information
                                        environment              Show the environmental information of the system
                                        eula-consent             Shows eula-consent for various modules
                                        exec-timeout             Show the timeout value of CLI session (in seconds)
                                        file                     Display file content in specified location
                                        hardware                 Show hardware information
                                        hash-algorithm           Show hash algorithm information
                                        hosts                    show information about DNS
                                        image                    Show image information
                                        interface                Interface status and configuration
                                        inventory                Show the system inventory information
                                        ip                       show IP commands
                                        ipv6                     Display IPv6 neighbor information
                                        iscsi                    Show iscsi
                                        lacp                     Show LACP information
                                        license                  Show license and digital fulfillment related information
                                        link-bundle-utilization  Display the link-bundle utilization for the interfaces in the bundle
                                        lldp                     Show lldp
                                        load-balance             Show global traffic load-balance configuration
                                        logging                  Show logging messages
                                        mac                      MAC forwarding table
                                        monitor                  Show port monitoring sessions
                                        network-policy           Show network policy
                                        ntp                      NTP associations
                                        parser-tree              Show parser tree
                                        policy-map               Show policy-map information
                                        port-channel             LAG status and configuration
                                        processes                Show processes statistics
                                        qos                      Show ingress or egress QoS configuration
                                        queuing                  Show egress QoS counters
                                        route-map                Show route map information
                                        running-configuration    Current operating configuration
                                        sessions                 Show active management sessions
                                        sflow                    Show sflow
                                        spanning-tree            Show spanning tree information
                                        startup-configuration    Contents of startup configuration
                                        storm-control            Show storm control configuration
                                        support-assist           Shows information about the support assist module
                                        system                   Show system status information
                                        tech-support             Collection of show commands
                                        terminal                 Show terminal configurations for this session
                                        trace                    Show trace messages
                                        track                    Show object tracking information
                                        uptime                   Show the system uptime
                                        users                    Show the current list of users logged into the system , and show the session id
                                        version                  Show the software version on the system
                                        vlan                     Vlan status and configuration
                                        vlt                      Show VLT domain info
                                        vrrp                     VRRP group status
                                     
  • Enter show command-history from EXEC mode to view trace messages for each executed command.
    OS10# show command-history
                                        1    Thu Apr  20 19:44:38 UTC 2017  show vlan
                                        2    Thu Apr  20 19:47:01 UTC 2017  admin
                                        3    Thu Apr  20 19:47:01 UTC 2017  monitor hardware-components controllers view 0
                                        4    Thu Apr  20 19:47:03 UTC 2017  system general info system-version view
                                        5    Thu Apr  20 19:47:16 UTC 2017  admin
                                        6    Thu Apr  20 19:47:16 UTC 2017  terminal length 0
                                        7    Thu Apr  20 19:47:18 UTC 2017  terminal datadump
                                        8    Thu Apr  20 19:47:20 UTC 2017  %abc
                                        9    Thu Apr  20 19:47:22 UTC 2017  switchshow
                                        10    Thu Apr  20 19:47:24 UTC 2017  cmsh
                                        11    Thu Apr  20 19:47:26 UTC 2017  show version
                                        12    Thu Apr  20 19:47:28 UTC 2017  cmsh
                                        13    Thu Apr  20 19:47:30 UTC 2017  show version
                                        14    Thu Apr  20 19:47:32 UTC 2017  show system
                                        15    Fri Apr  21 12:35:31 UTC 2017  BIOS 3.20.0.3
                                     
  • Enter clear command-history to clear the trace messages displayed in show command-history.
    OS10# clear command-history
  • Check the show command-history to verify that the trace messages are cleared.
  • Enter show system from EXEC mode to view the system status information.
    OS10#show system
                                        
                                        Node Id              : 1
                                        MAC                  : 34:17:18:19:20:21
                                        Number of MACs       : 0
                                        Up Time              : 1 week 4 days 08:08:17
                                        
                                        -- Unit 1 --
                                        Status               : up
                                        System Identifier    : 1
                                        Down Reason          :
                                        System Location LED  : off
                                        Required Type        : S4048
                                        Current Type         : S4048
                                        Hardware Revision    :
                                        Software Version     : 10.3.9999E(X)
                                        Physical Ports       : 48x10GbE, 6x40GbE
                                        BIOS                 : 3.21.0.4
                                        System CPLD          : 15
                                        Master CPLD          : 12
                                        Slave CPLD           : 5
                                        
                                        -- Power Supplies --
                                        PSU-ID  Status      Type    AirFlow   Fan  Speed(rpm)  Status
                                        ----------------------------------------------------------------
                                        1       fail
                                        2       up          AC      REVERSE   1    14720       up
                                        
                                        
                                        -- Fan Status --
                                        FanTray  Status      AirFlow   Fan  Speed(rpm)  Status
                                        ----------------------------------------------------------------
                                        1        up          REVERSE   1    13063       up
                                        2    13063       up
                                        
                                        2        up          REVERSE   1    13020       up
                                        2    12977       up
                                        
                                        3        up          NORMAL    1    13085       up
                                        2    13063       up
                                        
                                     

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\