迈普路由器常用show命令Word下载.docx
《迈普路由器常用show命令Word下载.docx》由会员分享,可在线阅读,更多相关《迈普路由器常用show命令Word下载.docx(16页珍藏版)》请在冰点文库上搜索。
![迈普路由器常用show命令Word下载.docx](https://file1.bingdoc.com/fileroot1/2023-5/10/95317c8d-12d8-4fb8-97e4-b7388daf2520/95317c8d-12d8-4fb8-97e4-b7388daf25201.gif)
37,loopback1
C127.0.0.0/8isdirectlyconnected,1138:
46,lo0
C21.38.249.5/32isdirectlyconnected,1138:
3.简明接口信息查询shipinterfacebrif
查看各个接口的状态,这里可以看到接口的对应的ip,以及接口状态,up表示接口在使用并且链路正常。
LNFS2_WN_AR_01#shipinterfacebrief
InterfaceIP-AddressStatusDescription
gigaethernet021.0.225.10UPLINKTORG5750
lo0127.0.0.1UP
gigaethernet2unassignedDOWN
gigaethernet3unassignedDOWN
switchethernet5/021.0.227.21UP
switchethernet5/221.0.227.25UP
serial4/021.0.224.34DOWNTOShenYang
serial4/121.0.229.45DOWNqingyuan
serial4/221.0.229.49DOWNtoXinbin
serial4/3unassignedDOWN
null0unassignedUP
4.查看内存使用情况:
shmemory,会出现很多信息,重点查看总使用率如下总使用率为20.32%
STATISTICS
----------
UsedbytesFreebytesTotalbytesUsedpercent
-------------------------------------------
5454486821388545226843032020.32%
5.查看cpu使用率分为三步,第一打开监控cpu命令:
spycpu。
第二步查看cpu情况命令:
shcpu。
第三步,查看完毕后关闭监控:
nospycpu。
如下cpu空闲为100%
tDcacheUpd0026a1e85ee99a02500%(0)0%(0)
tTunnel00397a4855695d02500%(0)0%(0)
tCGTask00737b90373e6f02510%(0)0%(0)
KERNEL0%(0)0%(0)
INTERRUPT0%(0)0%(0)
IDLE100%(185)100%(185)
TOTAL100%(185)100%(185)
6.查看路由器版本信息,同时该命令可以查询到路由器运行的时间如下,该路由器版本为6.1.25(REL)(integrity),已经运行的时间为1week4days
LNFS2_WN_AR_01#shversion
MyPower(R)OperatingSystemSoftware
MP2824systemimagefile(flash0:
/flash/rp9-i-6.1.25(REL).bin),version6.1.25(REL)(integrity),CompiledonNov142008,19:
38:
09
Copyright(C)1999Maipu(Sichuan)CommunicationTechnologyCo.,Ltd.AllRightsReserved.
MP2824VersionInformation
SystemID:
00017ab776cd
HardwareModel:
RM3B-MPU204-4GEwith256MBytesDDRSDRAM,64MBytesflash
HardwareVersion:
030(HotswapSupported)
MPUCPLDVersion:
002
MonitorVersion:
1.13
SoftwareVersion:
6.1.25(REL)(integrity)
SoftwareImageFile:
flash0:
/flash/rp9-i-6.1.25(REL).bin
Compiled:
Nov142008,19:
09
SystemUptimeis1week4days
7.查看系统日志shlogbuff,可以查看路由器记录的日志信息
8.查看设备主控信息shsystemmpu
MSTP_LiaoNing#shsystemmpu
SystemCardInformation(Mpu0-ONLINE)/主控卡0在线
----------------------------------------------------------------
Type:
MPU_RM7A_MPU408_4GE/主控卡型号
Status:
StartOk/板卡正常运行
Last-Alarm:
0000
Card-Port-Num:
0
Card-SubSlot-Num:
2
Power-INTF-Status:
001f
Power-Card-Status:
On
SerialNo.:
8882094280300063
Card-Name:
<
NULL>
Description:
Hardware-Information:
HW-State:
PCB-Version:
H03
CPLD-Version:
Software-Information:
Monitor-Version:
1.33
Software-Version:
6.2.47(integrity)
Power-RT-Infomation:
Voltage-In:
10.71V
Temperature-Information:
Temperature-State:
Temperature=33.
Last-Alarm=0.
CPU-On-Card-Information:
1CPUs>
CPU-Idx:
00
Core-Num:
0004
Core-State:
Core-Idx-00
Core-Status:
Core-Utilization:
0%
Core-Idx-01
Core-Idx-02
Core-Idx-03
Temperature:
Temperature=60.
MEM-On-Card-Information:
1MEMs>
MEM-Idx:
MEM-State:
BytesFree=419923360bytes
BytesAlloc=114966064bytes
BlocksFree=515blocks
BlocksAlloc=3085blocks
MaxBlockSizeFree=155189248bytes
DISK-On-Card-Information:
3DISKs>
DISK-Idx:
Flash
Online
DISK-State:
SizeTotal=67108864bytes
SizeFree=37109760bytes
01
Unknown
Offline
02
CMM-Information:
Hardware-Type:
1.0.9
1.1.56
STATISTICS:
1IN,0OUT,0IERR,0OERR
SystemCardInformation(Mpu0/0-ONLINE)
LGU_RM7A_MPU408_4GE_DC
StartOk
1
SystemCardInformation(Mpu0/1-ONLINE)
LGU_RM7A_MPU408_4GE_GE
4
SystemCardInformation(Mpu1-ONLINE)
MPU_RM7A_MPU408_4GE
8882094170700003
10.49V
Temperature=42.
BytesFree=424347620bytes
BytesAlloc=110541804bytes
BlocksFree=13blocks
BlocksAlloc=2443blocks
MaxBlockSizeFree=236978176bytes
SizeFree=37160960bytes
SystemCardInformation(Mpu1/0-ONLINE)
SystemCardInformation(Mpu1/1-ONLINE)
9查看设备业务板卡信息shsystelpu,类似于上面查看主控信息的命令,这里可以看到包括主控的所有板卡信息
MSTP_LiaoNing#shsystemlpu
MSTP_LiaoNing#shsystemlpu
SystemCardInformation(Lpu0-OFFLINE)
0IN,0OUT,0IERR,0OERR
SystemCardInformation(Lpu1-OFFLINE)
SystemCardInformation(Lpu2-ONLINE)
LPU_RM7B_8E1H
8
9671094673000031
8E1
003
12.05V
FPGA-On-Card-Information:
2FPGAs>
FPGA-Idx:
Info-Struct:
id=0000
type=0000
state=00000000
version=001
id=0001
SystemCardInformation(Lpu3-ONLINE)
LPU_RM7B_4GET4GEFH
8966094281500021
4GT4GF
H01
0.00V
SFP-On-Card-Information:
4SFPs>
SFP-Idx:
03
-----------------------------