您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 管理学资料 > M6000常用维护命令
M6000常用维护命令1.配置命令保存M6000#write2.日常告警查看M6000#showloggingalarmAnotification200108level6occurredat11:34:2801-19-2011sentbyM6000MPU-0/12/0%PIM%PIMSMRPSETisnotwork!PIMSMRP-SETistotalyoccupied,theconfiguredSRP/CRP221.224.242.251maynotactuallywork!3.用户在线情况查看1)用户在线峰值查看M6000#showsubscriberpeak----------------------------------------------------------------------subscribertypepeakvaluepeaktime----------------------------------------------------------------------all200012011/01/1908:50:33pppox199992011/01/1908:50:33ipoxserver12011/01/1908:45:49ipoxrelay02011/01/1910:53:04host12011/01/1908:40:39vpdn02011/01/1910:53:042)当前用户在线数查看M6000#showsubscriberallsummarytotalis:0,upis:0,downis:03)PPPOE用户在线数查看M6000#showsubscriberpppoxdomain1summarytotalis:0,upis:0,downis:04)iTV用户在线数查看M6000#showsubscriberpppoxdomain2summarytotalis:0,upis:0,downis:05)其他与用户在线相关的查看M6000#showsubscriberall//查看所有在线用户的详细信息M6000#showsubscribercircuitinterfacegei-X/X/X/X查看整个物理端口的用户在线数M6000#showsubscriberinterfacegei-X/X/X/X.X//查看某个子接口的用户在线M6000#showsubscriberuser-name//根据用户账户查看M6000#showsubscribervrf//根据vrf查看6)查看用户在线的详细信息M6000#showsubscriberipv4后面跟着用户的实际ip地址,就可以看到很多详细信息M6000#showsubscriberipv4-address101.101.1.23SubscriberInformation********************************************************************************ip-address:101.101.1.23vpn-id:0vrf-name:sub-type:IP_HOSTsession-id:0domain-id:0mac-address:0000.0000.0000user-name:lhjdomain-name:ztecur-tcp-total:0online-time(s):0float-get-time:create-time:2011/01/1911:36:07authen-time:authen-mode:authen-status:NONErecord-status:CREATEDterm-cause:host-det-count:0*-------------------------------circuitinfomation---------------------------*panel:0subPanel:0port:1vlan-Id:55secVlan-Id:0vccIndex:163vbuiIndex:164qinqEtherType:0protocolType:0*-------------------------------aniPortinfomation---------------------------*accNodeIdentifier:aniRack:0aniFrame:0aniSlot:0aniSubSlot:0aniPort:0aniXpiEnable:DisableaniXpi:0aniXci:0*-------------------------------onuPortinfomation---------------------------*onuId:onuSlot:0onuSubSlot:0onuPort:0onuPortType:onuPortXpi:0onuPortXci:0onuAccessMethod:*-------------------------------authorinfomation----------------------------*Qos-Info:Qos-Class:0aclInName:profileNameUp:subCarInfoUp-cir:0subCarInfoUp-pir:0subCarInfoUp-cbs:0subCarInfoUp-pbs:0aclOutName:profileNameDown:subCarInfoDown-cir:0subCarInfoDown-pir:0subCarInfoDown-cbs:0subCarInfoDown-pbs:0timeRangeNo:0往下还有,此处省略7)用户账号测试M6000#radius-pingauthentication-group11234123456domain1pingradiusauthentication-group1with1234@1at08:36:42pingserver1202.102.13.66at08:36:42pingserver2221.231.151.2at08:36:42Replyfromserver2rejectat08:36:42Replyfromserver1rejectat08:36:42如果要查看账号认证过程信息,需要打开radius的debug,注意需要针对用户端口打开,请慎用。M6000#radius-pingauthentication-group11234M6000#terminalmonitor4.专线用户查看M6000#showipinterfacebriefInterfaceIP-AddressMaskAdminPhyProtxgei-0/0/0/1unassignedunassignedupdowndowngei-0/0/1/1202.203.2.21255.255.255.0upupupM6000#showrunning-config-interfacegei-X/X/X/X5.VPN用户查看VRF的RD和RT:M6000#showipvrfIAD*BeingdeletedNameDefaultRDProtocolsInterfacesIAD100:7777ipv4gei-0/0/1/5VRF绑定的详细情况查看:M6000#showipvrfdetailIADVRFIAD(VRFId=2);defaultRD100:7777VRFlabelallocationmode:per-prefixTtl-mode:notsetDs-mode:notsetInterfaces:gei-0/0/1/5loopback29vbui500VRF内路由查看:M6000#showipforwardingroutevrfIADIPv4RoutingTable:DestGwInterfaceOwnerPriMetric29.29.29.29/3229.29.29.29loopback29address00103.1.1.0/24103.1.1.1vbui500direct00103.1.1.1/32103.1.1.1vbui500address006.查看访问控制列表M6000-C5#showrunning-configipv4-acl!ACLipv4-access-list101rule1permitipany58.211.5.00.0.0.7rule2permitipany58.223.64.00.0.63.255rule3permitipany58.223.0.00.0.255.255rule6permitipany61.132.112.1840.0.0.7rule7permitipany61.155.39.800.0.0.15rule8permitipany61.177.1.60.0.0.0rule9permitipany61.177.7.10.0.0.0rule10permitipany61.177.7.930.0.0.0rule11permitipany61.177.7.940.0.0.0rule12permitipany61.177.7.1140.0.0.0rule13permitipany202.102.13.00.0.0.255rule14permitipany202.102.15.1180.0.0.0rule15permitipany221.224.241.1280.0.0.127rule16permitipany221.225.1.1280.0.0.127rule17permitipany221.225.1.1920.0.0.63rule18permitipany221.228.255.10.0.0.0rule19permitipany221.231.144.00.0.0.255rule20permitipany221.231.151.20.0.0.0rule21permitipany222.92.246.00.0.0.255$!/ACL7.路由协议查看相关1)isis相关M6000#showisisadjacencyInterfaceSystemidStateLevHoldsSNPA(802.2)PriMTM6000#showipforwardingrouteisis-l1IPv4RoutingTable:DestMaskGwInterfaceOwnerPriMetric2)bgp相关M6000#showbgpallsummaryNeighborVerAsMsgRcvdMsgSendUp/DownStateM6000#showipbgpsummaryNeighborVerAsMsgRcvdMsgSendUp/Down(s)State/PfxRcdM6000#showbgpvpnv4unicastsummaryNeighborVerAsMsgRcvdMsgSendUp/Down(s)State/PfxRcdM6000#showipbgpneighbor?A.B.C.DNeighbortodisplayinformationabout//查看邻居详细信息inIn//查看bgp全局邻居收到的路由信息outOut//查看bgp全局邻居宣告的路由信息vpnv4-inVPNV4in//查看bgpvpn邻居收到的路由信息vpnv4-outVPNV4out//查看bgpvpn邻居宣告的路由信息M6000#showipprotocolroutingProtocolroutes:Statuscodes:*valid,best,i-internal,s-staleDestNextHopRoutePrfRouteMetricProtocolM6000#showipforwardrouteIPv4RoutingTable:DestMaskGwInte
本文标题:M6000常用维护命令
链接地址:https://www.777doc.com/doc-5685133 .html