爱立信SE系列路由器的常用查询总结:

1、用户mac地址与帐号的互查

context pppoe                                                          //进入业务context

#show pppoe | in 帐号                               //已知帐号查用户MAC地址
lg id 25 vlan-id 2050 pppoe 11424     74:ea:3a:54:f9:4b cn837779                        
#show pppoe mac 74:ea:3a:54:f9:4b                 //已知MAC地址查用户上网帐号,注意MAC地址格式
Fri Feb 14 15:13:37 2014
Circuit                               MAC address       Subscriber      
----------------------------------------------------------------------
lg id 25 vlan-id 2050 pppoe 11424     74:ea:3a:54:f9:4b cn837779                      


2、用户IP地址与帐号的互查

context pppoe                          


#show subscribers active | grep option -C14  IP地址                             //抓取用户在线信息的前后14行消息                  
       qos-policing-policy 6M (applied)
       qos-metering-policy 6144K (applied)
       ip access-group in AntiVirusACL (applied from sub_default)
****
       Session state Up
       Circuit   lg id 25 vlan-id 2027 pppoe 5967
       Internal Circuit   255/22:1:26/6/2/45580
       Interface bound  pppoe-pool2
       Current port-limit unlimited
       Session time left 298979
       Protocol Stack IPV4
       ip pool  (applied from sub_default)
       dns primary ******* (applied from sub_default)
       dns secondary ******* (applied from sub_default)
       ip address ********* (applied from pool)
       timeout absolute 328320 (applied)
       qos-policing-policy 4M (applied)
       qos-metering-policy 4096K (applied)
       ip access-group in AntiVirusACL (applied from sub_default)