收藏 分享(赏)

迈普路由器常用show命令.doc

上传人:精品资料 文档编号:9254885 上传时间:2019-07-31 格式:DOC 页数:10 大小:20.92KB
下载 相关 举报
迈普路由器常用show命令.doc_第1页
第1页 / 共10页
迈普路由器常用show命令.doc_第2页
第2页 / 共10页
迈普路由器常用show命令.doc_第3页
第3页 / 共10页
迈普路由器常用show命令.doc_第4页
第4页 / 共10页
迈普路由器常用show命令.doc_第5页
第5页 / 共10页
点击查看更多>>
资源描述

1、1. 查看配置命令:sh run 作用:查看路由器的配置2. 查看路由表 sh ip route作用查看路由器的路由表,如下WANGHUA_DANDONGLU#sh ip routeCodes: C - connected, S - static, R - RIP, O - OSPF, OE-OSPF External, M - ManagementD - Redirect, E - IRMP, EX - IRMP external, o - SNSP, B - BGPGateway of last resort is 0.0.0.0 to network 0.0.0.0S 0.0.0.0/0

2、 1/78125 is directly connected, 1138:18:02, serial0/0C 21.38.249.4/30 is directly connected, 1138:18:02, serial0/0C 21.38.250.32/28 is directly connected, 1138:18:36, fastethernet0C 21.38.250.56/30 is directly connected, 1138:18:37, loopback0C 22.38.250.32/28 is directly connected, 1138:18:36, faste

3、thernet0C 22.38.250.56/30 is directly connected, 1138:18:37, loopback1C 127.0.0.0/8 is directly connected, 1138:18:46, lo0C 21.38.249.5/32 is directly connected, 1138:18:02, serial0/03. 简明接口信息查询 sh ip interface brif作用:查看各个接口的状态,这里可以看到接口的对应的 ip,以及接口状态,up 表示接口在使用并且链路正常。LNFS2_WN_AR_01#sh ip interface b

4、rief Interface IP-Address Status Descriptiongigaethernet0 21.0.225.10 UP LINK TO RG5750lo0 127.0.0.1 UP gigaethernet2 unassigned DOWN gigaethernet3 unassigned DOWN switchethernet5/0 21.0.227.21 UP switchethernet5/2 21.0.227.25 UP serial4/0 21.0.224.34 DOWN TO ShenYangserial4/1 21.0.229.45 DOWN qingy

5、uanserial4/2 21.0.229.49 DOWN to Xinbinserial4/3 unassigned DOWN null0 unassigned UP 4. 查看内存使用情况:sh memory,会出现很多信息,重点查看总使用率如下总使用率为20.32%STATISTICS-Used bytes Free bytes Total bytes Used percent- - - -54544868 213885452 268430320 20.32%5. 查看 cpu 使用率分为三步,第一打开监控 cpu 命令:spy cpu。第二步查看 cpu 情况命令:sh cpu。第三步

6、,查看完毕后关闭监控:no spy cpu。如下 cpu 空闲为 100%tDcacheUpd 0026a1e8 5ee99a0 250 0% ( 0) 0% ( 0)tTunnel 00397a48 55695d0 250 0% ( 0) 0% ( 0)tCGTask 00737b90 373e6f0 251 0% ( 0) 0% ( 0)KERNEL 0% ( 0) 0% ( 0)INTERRUPT 0% ( 0) 0% ( 0)IDLE 100% ( 185) 100% ( 185)TOTAL 100% ( 185) 100% ( 185)6. 查看路由器版本信息,同时该命令可以查询到路

7、由器运行的时间如下,该路由器版本为 6.1.25(REL)(integrity),已经运行的时间为 1 week 4 daysLNFS2_WN_AR_01# sh version MyPower (R) Operating System SoftwareMP2824 system image file (flash0: /flash/rp9-i-6.1.25(REL).bin), version 6.1.25(REL)(integrity), Compiled on Nov 14 2008, 19:38:09Copyright (C) 1999 Maipu (Sichuan) Communic

8、ation Technology Co., Ltd. All Rights Reserved.MP2824 Version InformationSystem ID : 00017ab776cdHardware Model : RM3B-MPU204-4GE with 256 MBytes DDR SDRAM, 64 MBytes flashHardware Version : 030(Hotswap Supported)MPU CPLD Version : 002Monitor Version : 1.13Software Version : 6.1.25(REL)(integrity)So

9、ftware Image File : flash0: /flash/rp9-i-6.1.25(REL).binCompiled : Nov 14 2008, 19:38:09 System Uptime is 1 week 4 days7. 查看系统日志 sh log buff,可以查看路由器记录的日志信息8. 查看设备主控信息 sh system mpu MSTP_LiaoNing#sh system mpu System Card Information(Mpu 0 - ONLINE) /主控卡 0 在线-Type: MPU_RM7A_MPU408_4GE /主控卡型号Status: S

10、tart Ok /板卡正常运行Last-Alarm: 0000Card-Port-Num: 0Card-SubSlot-Num: 2Power-INTF-Status: 001fPower-Card-Status: OnSerial No.: 8882094280300063Card-Name: Description: Hardware-Information:HW-State: 0000PCB-Version: H03CPLD-Version: 002Software-Information:Monitor-Version: 1.33Software-Version: 6.2.47(int

11、egrity)Power-RT-Infomation:Voltage-In: 10.71 VTemperature-Information:Temperature-State:Temperature = 33.Last-Alarm = 0.CPU-On-Card-Information: CPU-Idx: 00Status: 0000Core-Num: 0004Core-State:Core-Idx-00Core-Status: 0000Core-Utilization: 0%Core-Idx-01Core-Status: 0000Core-Utilization: 0%Core-Idx-02

12、Core-Status: 0000Core-Utilization: 0%Core-Idx-03Core-Status: 0000Core-Utilization: 0%Temperature:Temperature-State:Temperature = 60.Last-Alarm = 0.MEM-On-Card-Information: MEM-Idx: 00MEM-State:BytesFree = 419923360 bytesBytesAlloc = 114966064 bytesBlocksFree = 515 blocksBlocksAlloc = 3085 blocksMaxB

13、lockSizeFree = 155189248 bytesDISK-On-Card-Information: DISK-Idx: 00Type: FlashStatus: OnlineLast-Alarm: 0000DISK-State:SizeTotal = 67108864 bytesSizeFree = 37109760 bytesDISK-Idx: 01Type: UnknownStatus: OfflineLast-Alarm: 0000DISK-Idx: 02Type: UnknownStatus: OfflineLast-Alarm: 0000CMM-Information:H

14、ardware-Type: 0000Monitor-Version: 1.0.9Software-Version: 1.1.56-STATISTICS: 1 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Mpu 0/0 - ONLINE)-Type: LGU_RM7A_MPU408_4GE_DCStatus: Start OkLast-Alarm: 0000Card-Port-Num: 1Card-SubSlot-Num: 0Power-INTF-Status: 0000Power-Card-Status: On-STATISTICS: 1

15、IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Mpu 0/1 - ONLINE)-Type: LGU_RM7A_MPU408_4GE_GEStatus: Start OkLast-Alarm: 0000Card-Port-Num: 4Card-SubSlot-Num: 0Power-INTF-Status: 0000Power-Card-Status: On-STATISTICS: 1 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Mpu 1 - ONLINE)-Type: MPU_RM7A

16、_MPU408_4GEStatus: Start OkLast-Alarm: 0000Card-Port-Num: 0Card-SubSlot-Num: 2Power-INTF-Status: 001fPower-Card-Status: OnSerial No.: 8882094170700003Card-Name: Description: Hardware-Information:HW-State: 0000PCB-Version: H03CPLD-Version: 002Software-Information:Monitor-Version: 1.33Software-Version

17、: 6.2.47(integrity)Power-RT-Infomation:Voltage-In: 10.49 VTemperature-Information:Temperature-State:Temperature = 33.Last-Alarm = 0.CPU-On-Card-Information: CPU-Idx: 00Status: 0000Core-Num: 0004Core-State:Core-Idx-00Core-Status: 0000Core-Utilization: 0%Core-Idx-01Core-Status: 0000Core-Utilization: 0

18、%Core-Idx-02Core-Status: 0000Core-Utilization: 0%Core-Idx-03Core-Status: 0000Core-Utilization: 0%Temperature:Temperature-State:Temperature = 42.Last-Alarm = 0.MEM-On-Card-Information: MEM-Idx: 00MEM-State:BytesFree = 424347620 bytesBytesAlloc = 110541804 bytesBlocksFree = 13 blocksBlocksAlloc = 2443

19、 blocksMaxBlockSizeFree = 236978176 bytesDISK-On-Card-Information: DISK-Idx: 00Type: FlashStatus: OnlineLast-Alarm: 0000DISK-State:SizeTotal = 67108864 bytesSizeFree = 37160960 bytesDISK-Idx: 01Type: UnknownStatus: OfflineLast-Alarm: 0000DISK-Idx: 02Type: UnknownStatus: OfflineLast-Alarm: 0000CMM-In

20、formation:Hardware-Type: 0000Monitor-Version: 1.0.9Software-Version: 1.1.56-STATISTICS: 1 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Mpu 1/0 - ONLINE)-Type: LGU_RM7A_MPU408_4GE_DCStatus: Start OkLast-Alarm: 0000Card-Port-Num: 1Card-SubSlot-Num: 0Power-INTF-Status: 0000Power-Card-Status: On-STA

21、TISTICS: 1 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Mpu 1/1 - ONLINE)-Type: LGU_RM7A_MPU408_4GE_GEStatus: Start OkLast-Alarm: 0000Card-Port-Num: 4Card-SubSlot-Num: 0Power-INTF-Status: 0000Power-Card-Status: On-STATISTICS: 1 IN, 0 OUT, 0 IERR, 0 OERR9 查看设备业务板卡信息 sh syste lpu,类似于上面查看主控信息的命令,这里

22、可以看到包括主控的所有板卡信息MSTP_LiaoNing#sh system lpuMSTP_LiaoNing#sh system lpu System Card Information(Lpu 0 - OFFLINE)-STATISTICS: 0 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Lpu 1 - OFFLINE)-STATISTICS: 0 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Lpu 2 - ONLINE)-Type: LPU_RM7B_8E1HStatus: Sta

23、rt OkLast-Alarm: 0000Card-Port-Num: 8Card-SubSlot-Num: 0Power-INTF-Status: 0000Power-Card-Status: OnSerial No.: 9671094673000031Card-Name: 8E1 Description: Hardware-Information:HW-State: 0000PCB-Version: H03CPLD-Version: 003Power-RT-Infomation:Voltage-In: 12.05 VFPGA-On-Card-Information: FPGA-Idx: 0

24、0Status: OnlineInfo-Struct:id = 0000type = 0000state = 00000000version = 001FPGA-Idx: 01Status: OnlineInfo-Struct:id = 0001type = 0000state = 00000000version = 001CMM-Information:Hardware-Type: 0000Monitor-Version: 1.0.9Software-Version: 1.1.56-STATISTICS: 1 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Info

25、rmation(Lpu 3 - ONLINE)-Type: LPU_RM7B_4GET4GEFHStatus: Start OkLast-Alarm: 0000Card-Port-Num: 8Card-SubSlot-Num: 0Power-INTF-Status: 0000Power-Card-Status: OnSerial No.: 8966094281500021Card-Name: 4GT4GF Description: Hardware-Information:HW-State: 0000PCB-Version: H01CPLD-Version: 002Power-RT-Infom

26、ation:Voltage-In: 0.00 VSFP-On-Card-Information: SFP-Idx: 00Type: 0000Status: OfflineSFP-Idx: 01Type: 0000Status: OfflineSFP-Idx: 02Type: 0000Status: OfflineSFP-Idx: 03Type: 0000Status: OfflineCMM-Information:Hardware-Type: 0000Monitor-Version: 1.0.9Software-Version: 1.1.56-STATISTICS: 1 IN, 0 OUT,

27、0 IERR, 0 OERRSystem Card Information(Lpu 4 - ONLINE)-Type: LPU_RM7B_4GET4GEFHStatus: Start OkLast-Alarm: 0000Card-Port-Num: 8Card-SubSlot-Num: 0Power-INTF-Status: 0000Power-Card-Status: OnSerial No.: 8966094281500017Card-Name: 4GT4GF Description: Hardware-Information:HW-State: 0000PCB-Version: H01C

28、PLD-Version: 002Power-RT-Infomation:Voltage-In: 0.00 VSFP-On-Card-Information: SFP-Idx: 00Type: 0000Status: OfflineSFP-Idx: 01Type: 0000Status: OfflineSFP-Idx: 02Type: 0000Status: OfflineSFP-Idx: 03Type: 0000Status: OfflineCMM-Information:Hardware-Type: 0000Monitor-Version: 1.0.9Software-Version: 1.

29、1.56-STATISTICS: 1 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Lpu 5 - OFFLINE)-STATISTICS: 0 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Lpu 6 - OFFLINE)-STATISTICS: 0 IN, 0 OUT, 0 IERR, 0 OERRSystem Card Information(Lpu 7 - OFFLINE)-STATISTICS: 0 IN, 0 OUT, 0 IERR, 0 OERRMSTP_LiaoNing# 10 查看电源模块 sh system power 如果显示 normal 代表正常11 查看风扇 sh system fan 如果显示 normal 代表正常

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报