深圳城域网二期华为ME60业务配置指导书 文档密级:内部公开
Option-Value 3 : - DNS-Suffix : -
Primary-DNS : 202.96.128.68 Secondary-DNS : 202.96.134.133 Primary-NBNS : - Secondary-NBNS : - Position : Local Status : Unlocked Gateway : 121.34.241.254 Mask : 255.255.255.128 Vpn instance : --
------------------------------------------------------------------------------------------------------- ID start end total used idle conflicted disable -------------------------------------------------------------------------------------------------------- 0 121.34.241.129 121.34.241.253 125 0 125 0 0 -------------------------------------------------------------------------------------------------------------- Display ip pool name *** all 可以查看到详细到每个IP地址的具体信息 [ME60-SZ-JT-01]dis ip pool name jt-me60-leased_line-pool-01 all Pool-Name : jt-me60-leased_line-pool-01 Pool-No : 2
Lease : 3 Days 0 Hours 0 Minutes Option-Code 0 : - Option-Value 0 : - Option-Code 1 : - Option-Value 1 : - Option-Code 2 : - Option-Value 2 : - Option-Code 3 : - Option-Value 3 : - DNS-Suffix : -
Primary-DNS : 202.96.128.68 Secondary-DNS : 202.96.134.133 Primary-NBNS : - Secondary-NBNS : - Position : Local Status : Unlocked
2013-4-14
华为机密,未经许可不得扩散
第11页, 共14页
深圳城域网二期华为ME60业务配置指导书 文档密级:内部公开
Gateway : 121.34.241.254 Mask : 255.255.255.128 Vpn instance : --
--------------------------------------------------------------------------------------------------------------- ID start end total used idle conflicted disable
--------------------------------------------------------------------------------------------------------------- 0 121.34.241.129 121.34.241.253 125 0 125 0 0 --------------------------------------------------------------------------------------------------------------- Section 0 :
--------------------------------------------------------------------------------------------------------------- Index IP MAC User-ID Lease Status --------------------------------------------------------------------------------------------------------------- 0 121.34.241.129 - - - idle 1 121.34.241.130 - - - idle 2 121.34.241.131 - - - idle 3 121.34.241.132 - - - idle
---------------------------------------------------------------------------------------------------------------
3) 查看用户下线原因
display aaa offline-record可以查看到用户的下线原因 [ME60-SZ-JT-01]display aaa offline-record
------------------------------------------------------------------- User name : huawei@default_admin User MAC : ffff-ffff-ffff User access type : telnet
User IP address : 121.34.203.194 User ID : 139323 User authen state : Authened User acct state : AcctIdle User author state : AuthorIdle
User acct sessionID: ME60-SZ000006553565535d324f9139323
2013-4-14
华为机密,未经许可不得扩散
第12页, 共14页
深圳城域网二期华为ME60业务配置指导书 文档密级:内部公开
User login time : 2007/02/01 21:09:09 User offline time : 2007/02/01 21:45:59 User offline reason: user request to offline
------------------------------------------------------------------- Are you sure to show some information?(y/n)[y]:n
display aaa offline-record offline-reason 后面跟上相应的参数可以看到不同原因下线的用户信息。 arp_detect_fail idle_cut
Offline reason Offline reason Offline reason Offline reason Offline reason Offline reason Offline reason Offline reason
ppp_echo_fail
ppp_user_request realtime_acct_fail session_timeout stop_acct_fail user_request
4) 查看L2TP tunnel,session
Display l2tp tunnel,display l2tp session可以查看到目前存在的l2tp通道和进程。 5) 跟踪用户消息
ME60支持跟踪用户消息,该消息中包括与Radius交互的消息以及ME60内部各个功能模块的处理消息,在出现故障的时候对用户作一个跟踪非常有效。具体配置步骤如下: 全局模式下:
[ME60-SZ-JT-01]trace enable [ME60-SZ-JT-01]trace object ?
//可以根据用户名,MAC地址,vlan号来跟踪
access-mode The access mode interface The interface ip-address The IP address mac-address The MAC address pvc The PVC user-name The user name
2013-4-14
华为机密,未经许可不得扩散
第13页, 共14页
深圳城域网二期华为ME60业务配置指导书 文档密级:内部公开
user-vlan The user VLAN ID
一般情况下我们会将跟踪的用户消息写到CF卡上,跟踪用户消息的完整命令为: trace object user-name test@163.gd output file cfcard:/test.txt 7、 配置举例(以景田的配置为例)
景田的配置见附件:
2013-4-14
华为机密,未经许可不得扩散 第14页, 共14页