1H3C交换机巡检命令1.1查看CPU使用率<H3C>display cpu-usageSlot 1 CPU usage:6% in last 5 seconds5% in last 1 minute5% in last 5 minutes#最后5分钟的平均使用率为5%#Slot 1 CPU 1 CPU usage:0% in last 5 seconds0% in last 1 minute0% in last 5 minutes1.2查看内存使用率<H3C>display memorySystem Total Memory(bytes): 874453360Total Used Memory(bytes): 117120680Used Rate: 13%#内存使用率为13%#1.3查看设备温度信息<H3C>display environmentSlot 1System temperature information (degree centigrade):-------------------------------------------------------------------------------Sensor Temperature LowerLimit WarningLimit AlarmLimit ShutdownLimitInflow 1 32 0 67 72 NAhotspot 1 38 0 77 82 NA#hotspot:表示热点温度传感器inflow:表示入风口温度传感器目前slot1入风口入设备温度为32度,热点温度为38度,设备温度一般指热点温度# 1.4查看设备汇总信息<H3C>display device verboseSlot 1SubSNo PortNum PCBVer FPGA Ver CPLDVer BootRomVer AddrLM Type State0 30 REV.B NULL 003 210 IVL MAIN Normalslot 1 info:Up Time : 10 weeks, 0 days, 6 hours, 26 minutesBrd Type : H3C S5500-34C-HI-DBrd Status : MasterSft Ver : 5.20 Release 5203P03Patch Ver : NonePCB Ver : REV.BBootRom Ver : 210CPLD Ver : 003#可查看到设备的运行时间,设备型号#1.5查看风扇信息<H3C>display fanSlot 1FAN 1State : Normal#查看风扇的状态,Normal为正常,Abnormal为异常#1.6查看电源信息<H3C>display powerSlot 1Input Power : 63(W)Power 1State : NormalType : AC/150(W)Power 2State : FaultType : Unknown#查看电源的状态,Normal为正常,Abnormal为异常#1.7查看时间<H3C>display clock17:08:12 UTC Mon 11/24/2014#查看时间是否正确#1.8查看接口详细信息<H3C>display interface briefThe brief information of interface(s) under route mode:Link: ADM - administratively down; Stby - standbyProtocol: (s) - spoofingInterface Link Protocol Main IP Description M-GE0/0/0 DOWN DOWN --NULL0 UP UP(s) --Vlan1 UP UP 192.168.0.100The brief information of interface(s) under bridge mode:Link: ADM - administratively down; Stby - standbySpeed or Duplex: (a)/A - auto; H - half; F - fullType: A - access; T - trunk; H - hybridInterface Link Speed Duplex Type PVID Description GE1/0/1 UP 1G(a) F(a) A 1GE1/0/2 UP 100M(a) F(a) A 1GE1/0/3 DOWN auto A A 1GE1/0/4 UP 100M(a) F(a) A 1GE1/0/5 UP 100M(a) F(a) A 1GE1/0/6 UP 100M(a) F(a) A 1GE1/0/7 UP 100M(a) F(a) A 1GE1/0/8 UP 1G(a) F(a) A 1GE1/0/9 UP 100M(a) F(a) A 1GE1/0/10 UP 1G(a) F(a) A 1GE1/0/11 UP 100M(a) F(a) A 1GE1/0/12 DOWN auto A A 1GE1/0/13 UP 100M(a) F(a) A 1GE1/0/14 DOWN auto A A 1GE1/0/15 UP 100M(a) F(a) A 1GE1/0/16 DOWN auto A A 1GE1/0/17 DOWN auto A A 1GE1/0/18 UP 100M(a) F(a) A 1GE1/0/19 DOWN auto A A 1GE1/0/20 UP 10M(a) F(a) A 1GE1/0/21 DOWN auto A A 1GE1/0/22 DOWN auto A A 1GE1/0/23 UP 1G(a) F(a) A 1GE1/0/24 DOWN auto A A 1GE1/0/25 DOWN auto A A 1GE1/0/26 DOWN auto A A 1GE1/0/27 DOWN auto A A 1GE1/0/28 DOWN auto A A 1XGE1/0/29 DOWN auto A A 1XGE1/0/30 DOWN auto A A 1#查看接口详细信息,可查看到vlan的接口地址,端口的up/down状态,端口速率,端口所属vlan等#1.9查看版本信息<H3C>display versionH3C Comware Platform SoftwareComware Software, Version 5.20, Release 5203P03Copyright (c) 2004-2013 Hangzhou H3C Tech. Co., Ltd. All rights reserved.H3C S5500-34C-HI-D uptime is 10 weeks, 0 day, 6 hours, 27 minutesH3C S5500-34C-HI-D with 2 Processors1024M bytes SDRAM4096K bytes Nor Flash Memory512M bytes Nand Flash MemoryHardware Version is REV.BCPLD Version is 003Bootrom Version is 210[SubSlot 0] 24GE+4SFP+2SFP PLUS Hardware V ersion is REV.B1.10查看序列号<H3C>display device manuinfoSlot 1:DEVICE_NAME : S5500-34C-HI-DDEVICE_SERIAL_NUMBER : 210235A0X8H138000042MAC_ADDRESS : 7425-8AD9-3293MANUFACTURING_DATE : 2013-08-29VENDOR_NAME : H3CPower 1:The operation is not supported on the specified power.Power 2:Error: Failed to display the manufacture information of the specified power.#可查看设备的序列号,本例为210235A0X8H138000042;设备的出厂日期:2013-08-29# 1.11查看运行的配置<H3C>display current-configuration#version 5.20, Release 5203P03#sysname H3C#irf mac-address persistent timerirf auto-update enableundo irf link-delay#domain default enable system#telnet server enable#undo ip http enable#mirroring-group 1 local#password-recovery enable#vlan 1#domain systemaccess-limit disablestate activeidle-cut disableself-service-url disable#user-group systemgroup-attribute allow-guest#local-user unipowerpassword cipher $c$3$O7NpaPtUI913wxdrwnmmPeJrEztlBAk4D6WCK/RteA== authorization-attribute level 3service-type ssh telnet terminal#interface NULL0#interface Vlan-interface1ip address 192.168.0.100 255.255.255.0#port link-mode bridge#interface GigabitEthernet1/0/2 port link-mode bridge#interface GigabitEthernet1/0/3 port link-mode bridge#interface GigabitEthernet1/0/4 port link-mode bridge#interface GigabitEthernet1/0/5 port link-mode bridge#interface GigabitEthernet1/0/6 port link-mode bridge#interface GigabitEthernet1/0/7 port link-mode bridge#interface GigabitEthernet1/0/8 port link-mode bridge#interface GigabitEthernet1/0/9 port link-mode bridge#interface GigabitEthernet1/0/10 port link-mode bridge#port link-mode bridge#interface GigabitEthernet1/0/12 port link-mode bridge#interface GigabitEthernet1/0/13 port link-mode bridge#interface GigabitEthernet1/0/14 port link-mode bridge#interface GigabitEthernet1/0/15 port link-mode bridge#interface GigabitEthernet1/0/16 port link-mode bridge#interface GigabitEthernet1/0/17 port link-mode bridge#interface GigabitEthernet1/0/18 port link-mode bridge#interface GigabitEthernet1/0/19 port link-mode bridge#interface GigabitEthernet1/0/20 port link-mode bridge#port link-mode bridge#interface GigabitEthernet1/0/22 port link-mode bridge#interface GigabitEthernet1/0/23 port link-mode bridge#interface GigabitEthernet1/0/24 port link-mode bridge#interface GigabitEthernet1/0/25 port link-mode bridge#interface GigabitEthernet1/0/26 port link-mode bridge#interface GigabitEthernet1/0/27 port link-mode bridge#interface GigabitEthernet1/0/28 port link-mode bridge#interface M-GigabitEthernet0/0/0 #interface Ten-GigabitEthernet1/0/29 port link-mode bridge#interface Ten-GigabitEthernet1/0/30port link-mode bridge#snmp-agentsnmp-agent local-engineid 800063A20374258AD93294snmp-agent community read gpdc_lansnmp-agent sys-info version all#ssh server enablessh user unipower service-type stelnet authentication-type password #arp static 192.168.0.166 0025-220f-b5eb#load xml-configuration#load tr069-configuration#user-interface aux 0user-interface vty 0 15authentication-mode scheme#return<H3C>11。