M6000常用维护命令 联系客服

发布时间 : 星期四 文章M6000常用维护命令更新完毕开始阅读eba251c78bd63186bcebbc6f

M6000常用维护命令

1. 配置命令保存

M6000#write

2. 日常告警查看

M6000#show logging alarm A notification 200108 level 6 occurred at 11:34:28 01-19-2011 sent by M6000 MPU- 0/12/0 %PIM% PIMSM RP SET is not work! PIMSM RP-SET is totaly occupied, the configured SRP/CRP 221.224.242.251 may not actually work!

3.用户在线情况查看

1)用户在线峰值查看

M6000#show subscriber peak ---------------------------------------------------------------------- subscriber type peak value peak time ---------------------------------------------------------------------- all 20001 2011/01/19 08:50:33 pppox 19999 2011/01/19 08:50:33 ipox server 1 2011/01/19 08:45:49 ipox relay 0 2011/01/19 10:53:04 host 1 2011/01/19 08:40:39 vpdn 0 2011/01/19 10:53:04 2)当前用户在线数查看

M6000#show subscriber all summary total is: 0, up is :0, down is : 0 3)PPPOE用户在线数查看

M6000#show subscriber pppox domain 1 summary total is:0, up is:0, down is:0 4)iTV用户在线数查看

M6000#show subscriber pppox domain 2 summary total is:0, up is:0, down is:0 5)其他与用户在线相关的查看

M6000#show subscriber all //查看所有在线用户的详细信息

M6000# show subscriber circuit interface gei-X/X/X/X 查看整个物理端口的用户在线数

M6000# show subscriber interface gei-X/X/X/X.X //查看某个子接口的用户在线 M6000# show subscriber user-name //根据用户账户查看 M6000# show subscriber vrf //根据vrf查看 6)查看用户在线的详细信息

M6000#show subscriber ipv4 后面跟着用户的实际ip地址,就可以看到很多详细信息

M6000#show subscriber ipv4-address 101.101.1.23 Subscriber Information ********************************************************************************

ip-address :101.101.1.23 vpn-id :0 vrf-name : sub-type :IP_HOST session-id :0 domain-id :0 mac-address :0000.0000.0000 user-name :lhj domain-name :zte cur-tcp-total :0 online-time(s):0 float-get-time: create-time :2011/01/19 11:36:07 authen-time : authen-mode : authen-status :NONE record-status :CREATED term-cause : host-det-count:0

*-------------------------------circuit infomation---------------------------* panel:0 subPanel:0 port:1 vlan-Id :55 secVlan-Id:0 vccIndex:163 vbuiIndex :164 qinqEtherType:0 protocolType:0 *-------------------------------aniPort infomation---------------------------* accNodeIdentifier: aniRack:0 aniFrame:0 aniSlot:0 aniSubSlot:0 aniPort:0 aniXpiEnable:Disable aniXpi:0 aniXci:0 *-------------------------------onuPort infomation---------------------------* onuId : onuSlot :0 onuSubSlot :0 onuPort :0 onuPortType : onuPortXpi :0 onuPortXci :0

onuAccessMethod : *-------------------------------author infomation----------------------------* Qos-Info: Qos-Class:0 aclInName: profileNameUp: subCarInfoUp-cir:0 subCarInfoUp-pir:0 subCarInfoUp-cbs:0 subCarInfoUp-pbs:0 aclOutName: profileNameDown: subCarInfoDown-cir:0 subCarInfoDown-pir:0 subCarInfoDown-cbs:0 subCarInfoDown-pbs:0 timeRangeNo:0 往下还有,此处省略

7)用户账号测试

M6000#radius-ping authentication-group 1 1234 123456 domain 1 ping radius authentication-group 1 with 1234@1 at 08:36:42 ping server 1 202.102.13.66 at 08:36:42 ping server 2 221.231.151.2 at 08:36:42 Reply from server 2 reject at 08:36:42 Reply from server 1 reject at 08:36:42

如果要查看账号认证过程信息,需要打开radius的debug,注意需要针对用户端口打开,请慎用。

M6000#radius-ping authentication-group 1 1234 M6000#terminal monitor

4.专线用户查看

M6000#show ip interface brief Interface IP-Address Mask Admin Phy Prot xgei-0/0/0/1 unassigned unassigned up down down gei-0/0/1/1 202.203.2.21 255.255.255.0 up up up

M6000# show running-config-interface gei-X/X/X/X

5.VPN用户查看

VRF的RD和RT:

M6000#show ip vrf IAD * Being deleted Name Default RD Protocols Interfaces IAD 100:7777 ipv4 gei-0/0/1/5

VRF绑定的详细情况查看:

M6000#show ip vrf detail IAD VRF IAD (VRF Id = 2); default RD 100:7777 VRF label allocation mode: per-prefix Ttl-mode: Ds-mode: Interfaces: gei-0/0/1/5 loopback29 vbui500 VRF内路由查看:

M6000#show ip forwarding route vrf IAD IPv4 Routing Table: Dest Gw Interface 29.29.29.29/32 29.29.29.29 loopback29 103.1.1.0/24 103.1.1.1 vbui500 103.1.1.1/32 103.1.1.1 vbui500

6.查看访问控制列表

M6000-C5#show running-config ipv4-acl ! ipv4-access-list 101 rule 1 permit ip any 58.211.5.0 0.0.0.7 rule 2 permit ip any 58.223.64.0 0.0.63.255 rule 3 permit ip any 58.223.0.0 0.0.255.255 rule 6 permit ip any 61.132.112.184 0.0.0.7 rule 7 permit ip any 61.155.39.80 0.0.0.15 rule 8 permit ip any 61.177.1.6 0.0.0.0 rule 9 permit ip any 61.177.7.1 0.0.0.0 rule 10 permit ip any 61.177.7.93 0.0.0.0 rule 11 permit ip any 61.177.7.94 0.0.0.0 rule 12 permit ip any 61.177.7.114 0.0.0.0 rule 13 permit ip any 202.102.13.0 0.0.0.255 rule 14 permit ip any 202.102.15.118 0.0.0.0 rule 15 permit ip any 221.224.241.128 0.0.0.127 rule 16 permit ip any 221.225.1.128 0.0.0.127 rule 17 permit ip any 221.225.1.192 0.0.0.63 rule 18 permit ip any 221.228.255.1 0.0.0.0 rule 19 permit ip any 221.231.144.0 0.0.0.255 rule 20 permit ip any 221.231.151.2 0.0.0.0 rule 21 permit ip any 222.92.246.0 0.0.0.255 $ Owner address direct address Pri Metric 0 0 0 0 0 0