资源描述:
《迈普路由器常用show命令》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、1.查看配置命令:shrun作用:查看路由器的配置2.查看路由表shiproute作用查看路由器的路由表,如下WANGHUA_DANDONGLU#shiprouteCodes:C-connected,S-static,R-RIP,O-OSPF,OE-OSPFExternal,M-ManagementD-Redirect,E-IRMP,EX-IRMPexternal,o-SNSP,B-BGPGatewayoflastresortis0.0.0.0tonetwork0.0.0.0S0.0.0.0/0[1/781
2、25]isdirectlyconnected,1138:18:02,serial0/0C21.38.249.4/30isdirectlyconnected,1138:18:02,serial0/0C21.38.250.32/28isdirectlyconnected,1138:18:36,fastethernet0C21.38.250.56/30isdirectlyconnected,1138:18:37,loopback0C22.38.250.32/28isdirectlyconnected,1138:1
3、8:36,fastethernet0C22.38.250.56/30isdirectlyconnected,1138:18:37,loopback1C127.0.0.0/8isdirectlyconnected,1138:18:46,lo0C21.38.249.5/32isdirectlyconnected,1138:18:02,serial0/03.简明接口信息查询shipinterfacebrif作用:查看各个接口的状态,这里可以看到接口的对应的ip,以及接口状态,up表示接口在使用并且链路正常。LNF
4、S2_WN_AR_01#shipinterfacebriefInterfaceIP-AddressStatusDescriptiongigaethernet021.0.225.10UPLINKTORG5750lo0127.0.0.1UPgigaethernet2unassignedDOWNgigaethernet3unassignedDOWNswitchethernet5/021.0.227.21UPswitchethernet5/221.0.227.25UPserial4/021.0.224.34DOWN
5、TOShenYangserial4/121.0.229.45DOWNqingyuanserial4/221.0.229.49DOWNtoXinbinserial4/3unassignedDOWNnull0unassignedUP4.查看内存使用情况:shmemory,会出现很多信息,重点查看总使用率如下总使用率为20.32%STATISTICS----------UsedbytesFreebytesTotalbytesUsedpercent----------------------------------
6、---------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)INT
7、ERRUPT0%(0)0%(0)IDLE100%(185)100%(185)TOTAL100%(185)100%(185)1.查看路由器版本信息,同时该命令可以查询到路由器运行的时间如下,该路由器版本为6.1.25(REL)(integrity),已经运行的时间为1week4daysLNFS2_WN_AR_01#shversionMyPower(R)OperatingSystemSoftwareMP2824systemimagefile(flash0:/flash/rp9-i-6.1.25(REL).bin
8、),version6.1.25(REL)(integrity),CompiledonNov142008,19:38:09Copyright(C)1999Maipu(Sichuan)CommunicationTechnologyCo.,Ltd.AllRightsReserved.MP2824VersionInformationSystemID:00017ab776cdHardwareModel:RM3B-MPU20