Which commands can be used to check basic information about a switch such as version information, status of card and fan indicators, and port status

11

To obtain information about commonly used maintenance commands, see the Routine Maintenance of the specific product. To download the Routine Maintenance of a product, visit http://support.huawei.com/enterprise.

Other related questions:
Commands for checking basic OSPF information on S series switches
You can run the following commands on an S series switch supporting OSPF to check basic OSPF information: display ospf abr-asbr The command output displays all entries of routes to the ABR and ASBR. If you run this command on a device in a stub or an NSSA area, information about the ASBR is not displayed. display ospf asbr-summary The command output displays summarization information about OSPF imported routes. If no IP address or mask is specified, summarization information about all OSPF imported routes is displayed. display ospf brief The command output displays brief OSPF information. display ospf cumulative The command output displays statistics on an OSPF process. display ospf error The command output displays OSPF errors. display ospf interface The command output displays OSPF interface information. display ospf lsdb The command output displays information about an LSDB of OSPF. You can select parameters to check LSDB information, such as summary information, information about the LSA of a specified type, the originating device, and the spontaneous LSA. display ospf nexthop The command output displays next-hop information. display ospf peer The command output displays information about an OSPF neighbor. You can troubleshoot OSPF faults and verify the configuration of the OSPF neighbor based on the command output. You can also check whether graceful restart (GR) is enabled on the neighbor. display ospf request-queue The command output displays information about the OSPF request message list. You can locate and rectify OSPF faults based on the command output. display ospf retrans-queue The command output displays information about the OSPF retransmission list. display ospf routing The command output displays OSPF routing table entries. You can select parameters to check information about routes to a specified interface or next-hop address. display ospf vlink The command output displays information about OSPF virtual links. display ospf sham-link The command output displays information about and attributes of all sham links in a specified OSPF process or area. debugging ospf event The command output displays OSPF events. debugging ospf lsa-originate The command output displays the origination information about LSAs. debugging ospf packet The command output displays information about sent and received OSPF packets. Packet types include ACK, DD, Hello, Request, and Update. If no packet type is specified, information about all OSPF packets is displayed. debugging ospf spf The command output displays SPF details, including information about the tunnel interface for IGP shortcuts and forwarding adjacency.

The USG checks the OSPF connection status database information
USG2000 & 5000 & 6000 Check the OSPF connection status database information as follows: Display ospf lsdb

How to view brief information about the interface status and traffic statistics
You can run the display interface brief command to view brief information about the status and configuration of an interface. display interface brief PHY: Physical *down: administratively down #down: LBDT down (l): loopback (s): spoofing (E): E-Trunk down (b): BFD down (e): ETHOAM down (dl): DLDP down (lb): LBDT block InUti/OutUti: input utility/output utility Interface PHY Protocol InUti OutUti inErrors outErrors Eth-Trunk2 down down 0% 0% 0 0 GigabitEthernet0/0/1 up up 0.01% 0% 0 0 GigabitEthernet0/0/2 down down 0% 0% 0 0 GigabitEthernet0/0/3 down down 0% 0% 0 0 GigabitEthernet0/0/4 down down 0.03% 0.05% 0 0 GigabitEthernet0/0/5 down down 32% 25% 0 0 GigabitEthernet0/0/6 down down 0% 0% 0 0 GigabitEthernet0/0/7 down down 0% 0% 0 0 GigabitEthernet0/0/8 down down 0% 0% 0 0 GigabitEthernet0/0/9 down down 0% 0% 0 0 GigabitEthernet0/0/10 down down 0.08% 0.02% 0 0 GigabitEthernet0/0/11 down down 0% 0% 0 0 GigabitEthernet0/0/12 down down 0% 0% 0 0 GigabitEthernet0/0/13 down down 0% 0% 0 0 GigabitEthernet0/0/14 down down 0% 0% 0 0 GigabitEthernet0/0/15 down down 0% 0% 0 0 GigabitEthernet0/0/16 down down 0% 0% 0 0 GigabitEthernet0/0/17 down down 0% 0% 0 0 GigabitEthernet0/0/18 down down 0% 0% 0 0 GigabitEthernet0/0/19 down down 0% 0% 0 0 GigabitEthernet0/0/20 down down 0% 0% 0 0 GigabitEthernet0/0/21 down down 0% 0% 0 0 GigabitEthernet0/0/22 down down 0% 0% 0 0 GigabitEthernet0/0/23 down down 0% 0% 0 0 NULL0 up up(s) 0% 0% 0 0 The InUti field in the command output indicates the average bandwidth usage of incoming packets on an interface in the last 300 seconds. The OutUti field in the command output indicates the average bandwidth usage of outgoing packets on an interface in the last 300 seconds. Inbound traffic on an interface = Interface rate x Average inbound bandwidth usage. Outbound traffic on an interface = Interface rate x Average outbound bandwidth usage. For example, the inbound traffic of GigabitEthernet0/0/5 is 320 Mbit/s (1000 Mbit/s x 32% = 320 Mbit/s) and the outbound traffic is 250 Mbit/s (1000 Mbit/s x 25% = 250 Mbit/s).

Display STP configuration of an interface on the S1728GWR-4P switch
Display the STP configuration of an interface on an S1728GWR-4P switch as follows: 1. Choose Spanning Tree > STP. 2. Select Configure Interface from the Step drop-down list box. 3. Select Show Information from the Action drop-down list box. 4. The configured parameters (such as STP Status, Port Role, Designated Bridge, Oper Path Cost, and Oper Edge Port) are displayed.

Checking status through the FC HBA indicator
The states of FC HBA indicators are described as follows: 1. The yellow indicator is steady on, and the green indicator is off: The HBA hardware is faulty. 2. The yellow indicator and green indicator are both steady on: The HBA driver is not installed. 3. The yellow indicator is blinking, and the green indicator is off: The HBA driver has been loaded but not connected to the device. 4. The yellow indicator is off, and the green indicator is steady on: The HBA is working properly.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top