H3C交换机巡检命令之欧阳德创编.docx
《H3C交换机巡检命令之欧阳德创编.docx》由会员分享,可在线阅读,更多相关《H3C交换机巡检命令之欧阳德创编.docx(10页珍藏版)》请在冰豆网上搜索。
H3C交换机巡检命令之欧阳德创编
1H3C交换机巡检命令
1.1
时间:
2021.03.07
创作:
欧阳德
1.2查看CPU使用率
displaycpu-usage
Slot1CPUusage:
6%inlast5seconds
5%inlast1minute
5%inlast5minutes
#最后5分钟的平均使用率为5%#
Slot1CPU1CPUusage:
0%inlast5seconds
0%inlast1minute
0%inlast5minutes
1.3查看内存使用率
displaymemory
SystemTotalMemory(bytes):
874453360
TotalUsedMemory(bytes):
117120680
UsedRate:
13%
#内存使用率为13%#
1.4查看设备温度信息
displayenvironment
Slot1
Systemtemperatureinformation(degreecentigrade):
-------------------------------------------------------------------------------
SensorTemperatureLowerLimitWarningLimitAlarmLimitShutdownLimit
Inflow13206772NA
hotspot13807782NA
#hotspot:
表示热点温度传感器
inflow:
表示入风口温度传感器
目前slot1入风口入设备温度为32度,热点温度为38度,设备温度一般指热点温度#
1.5查看设备汇总信息
displaydeviceverbose
Slot1
SubSNoPortNumPCBVerFPGAVerCPLDVerBootRomVerAddrLMTypeState
030REV.BNULL003210IVLMAINNormal
slot1info:
UpTime:
10weeks,0days,6hours,26minutes
BrdType:
H3CS5500-34C-HI-D
BrdStatus:
Master
SftVer:
5.20Release5203P03
PatchVer:
None
PCBVer:
REV.B
BootRomVer:
210
CPLDVer:
003
#可查看到设备的运行时间,设备型号#
1.6查看风扇信息
displayfan
Slot1
FAN1
State:
Normal
#查看风扇的状态,Normal为正常,Abnormal为异常#
1.7查看电源信息
displaypower
Slot1
InputPower:
63(W)
Power1
State:
Normal
Type:
AC/150(W)
Power2
State:
Fault
Type:
Unknown
#查看电源的状态,Normal为正常,Abnormal为异常#
1.8查看时间
displayclock
17:
08:
12UTCMon11/24/2014
#查看时间是否正确#
1.9查看接口详细信息
displayinterfacebrief
Thebriefinformationofinterface(s)underroutemode:
Link:
ADM-administrativelydown;Stby-standby
Protocol:
(s)-spoofing
InterfaceLinkProtocolMainIPDescription
M-GE0/0/0DOWNDOWN--
NULL0UPUP(s)--
Vlan1UPUP192.168.0.100
Thebriefinformationofinterface(s)underbridgemode:
Link:
ADM-administrativelydown;Stby-standby
SpeedorDuplex:
(a)/A-auto;H-half;F-full
Type:
A-access;T-trunk;H-hybrid
InterfaceLinkSpeedDuplexTypePVIDDescription
GE1/0/1UP1G(a)F(a)A1
GE1/0/2UP100M(a)F(a)A1
GE1/0/3DOWNautoAA1
GE1/0/4UP100M(a)F(a)A1
GE1/0/5UP100M(a)F(a)A1
GE1/0/6UP100M(a)F(a)A1
GE1/0/7UP100M(a)F(a)A1
GE1/0/8UP1G(a)F(a)A1
GE1/0/9UP100M(a)F(a)A1
GE1/0/10UP1G(a)F(a)A1
GE1/0/11UP100M(a)F(a)A1
GE1/0/12DOWNautoAA1
GE1/0/13UP100M(a)F(a)A1
GE1/0/14DOWNautoAA1
GE1/0/15UP100M(a)F(a)A1
GE1/0/16DOWNautoAA1
GE1/0/17DOWNautoAA1
GE1/0/18UP100M(a)F(a)A1
GE1/0/19DOWNautoAA1
GE1/0/20UP10M(a)F(a)A1
GE1/0/21DOWNautoAA1
GE1/0/22DOWNautoAA1
GE1/0/23UP1G(a)F(a)A1
GE1/0/24DOWNautoAA1
GE1/0/25DOWNautoAA1
GE1/0/26DOWNautoAA1
GE1/0/27DOWNautoAA1
GE1/0/28DOWNautoAA1
XGE1/0/29DOWNautoAA1
XGE1/0/30DOWNautoAA1
#查看接口详细信息,可查看到vlan的接口地址,端口的up/down状态,端口速率,端口所属vlan等#
1.10查看版本信息
displayversion
H3CComwarePlatformSoftware
ComwareSoftware,Version5.20,Release5203P03
Copyright(c)2004-2013HangzhouH3CTech.Co.,Ltd.Allrightsreserved.
H3CS5500-34C-HI-Duptimeis10weeks,0day,6hours,27minutes
H3CS5500-34C-HI-Dwith2Processors
1024MbytesSDRAM
4096KbytesNorFlashMemory
512MbytesNandFlashMemory
HardwareVersionisREV.B
CPLDVersionis003
BootromVersionis210
[SubSlot0]24GE+4SFP+2SFPPLUSHardwareVersionisREV.B
1.11查看序列号
displaydevicemanuinfo
Slot1:
DEVICE_NAME:
S5500-34C-HI-D
DEVICE_SERIAL_NUMBER:
210235A0X8H138000042
MAC_ADDRESS:
7425-8AD9-3293
MANUFACTURING_DATE:
2013-08-29
VENDOR_NAME:
H3C
Power1:
Theoperationisnotsupportedonthespecifiedpower.
Power2:
Error:
Failedtodisplaythemanufactureinformationofthespecifiedpower.
#可查看设备的序列号,本例为210235A0X8H138000042;设备的出厂日期:
2013-08-29#
1.12查看运行的配置
displaycurrent-configuration
#
version5.20,Release5203P03
#
sysnameH3C
#
irfmac-addresspersistenttimer
irfauto-updateenable
undoirflink-delay
#
domaindefaultenablesystem
#
telnetserverenable
#
undoiphttpenable
#
mirroring-group1local
#
password-recoveryenable
#
vlan1
#
domainsystem
access-limitdisable
stateactive
idle-cutdisable
self-service-urldisable
#
user-groupsystem
group-attributeallow-guest
#
local-userunipower
passwordcipher$c$3$O7NpaPtUI913wxdrwnmmPeJrEztlBAk4D6WCK/RteA==
authorization-attributelevel3
service-typesshtelnetterminal
#
interfaceNULL0
#
interfaceVlan-interface1
ipaddress192.168.0.100255.255.255.0
#
interfaceGigabitEthernet1/0/1
portlink-modebridge
#
interfaceGigabitEthernet1/0/2
portlink-modebridge
#
interfaceGigabitEthernet1/0/3
portlink-modebridge
#
interfaceGigabitEthernet1/0/4
portlink-modebridge
#
interfaceGigabitEthernet1/0/5
portlink-modebridge
#
interfaceGigabitEthernet1/0/6
portlink-modebridge
#
interfaceGigabitEthernet1/0/7
portlink-modebridge
#
interfaceGigabitEthernet1/0/8
portlink-modebridge
#
interfaceGigabitEthernet1/0/9
portlink-modebridge
#
interfaceGigabitEthernet1/0/10
portlink-modebridge
#
interfaceGigabitEthernet1/0/11
portlink-modebridge
#
interfaceGigabitEthernet1/0/12
portlink-modebridge
#
interfaceGigabitEthernet1/0/13
portlink-modebridge
#
interfaceGigabitEthernet1/0/14
portlink-modebridge
#
interfaceGigabitEthernet1/0/15
portlink-modebridge
#
interfaceGigabitEthernet1/0/16
portlink-modebridge
#
interfaceGigabitEthernet1/0/17
portlink-modebridge
#
interfaceGigabitEthernet1/0/18
portlink-modebridge
#
interfaceGigabitEthernet1/0/19
portlink-modebridge
#
interfaceGigabitEthernet1/0/20
portlink-modebridge
#
interfaceGigabitEthernet1/0/21
portlink-modebridge
#
interfaceGigabitEthernet1/0/22
portlink-modebridge
#
interfaceGigabitEthernet1/0/23
portlink-modebridge
#
interfaceGigabitEthernet1/0/24
portlink-modebridge
#
interfaceGigabitEthernet1/0/25
portlink-modebridge
#
interfaceGigabitEthernet1/0/26
portlink-modebridge
#
interfaceGigabitEthernet1/0/27
portlink-modebridge
#
interfaceGigabitEthernet1/0/28
portlink-modebridge
#
interfaceM-GigabitEthernet0/0/0
#
interfaceTen-GigabitEthernet1/0/29
portlink-modebridge
#
interfaceTen-GigabitEthernet1/0/30
portlink-modebridge
#
snmp-agent
snmp-agentlocal-engineid800063A20374258AD93294
snmp-agentcommunityreadgpdc_lan
snmp-agentsys-infoversionall
#
sshserverenable
sshuserunipowerservice-typestelnetauthentication-typepassword
#
arpstatic192.168.0.1660025-220f-b5eb
#
loadxml-configuration
#
loadtr069-configuration
#
user-interfaceaux0
user-interfacevty015
authentication-modescheme
#
return
时间:
2021.03.07
创作:
欧阳德