客户现场进行割接,想通过命令实时查看各单板的在线用户数,当前存在的命令display ip subscriber session statistics+slot无法查看到各单板独自的在线会话数,看到的是整设备总和的会话数(目前已提单优化,后续版本可实现)。当前实现上述需求需通过查看硬件资源的方法:
1、slot3单板pppoe用户总数:
[BRAS]display ppp access-user user-type pppoe count slot 3
Total users: 1000 //此处是pppoe用户数量,如果开启了双栈分离计费,下面硬件资源一个用户占用2个。
2、硬件资源查看方式如下:
[BRAS]display qos-acl resource slot 3
Interfaces: XGE3/1/1 to XGE3/1/10 (slot 3)
---------------------------------------------------------------------
Type Total Reserved Configured Remaining Usage
---------------------------------------------------------------------
IPv4Acl 51200 0 3724 47476 7%
IPv6Acl 16384 0 3463 12921 21%
CAR&Cnt 131072 0 219 130853 0%
InBRASL2TP Stat 131071 0 3000 131071 2% ------单板芯片1占用硬件资源3000
EgBRAS Stat 131072 0 0 131072 0%
EgL2TP Stat 131072 0 0 131072 0%
IngSubIf Stat 65536 0 7 65529 0%
EgSubIf Stat 65536 0 7 65529 0%
CAR Prof 500 0 3 497 0%
BRAS Prof 400 0 0 400 0%
Sampler 131072 1 0 131071 0%
INQPPB 16384 0 0 16384 0%
Interfaces: GE3/2/1 to GE3/2/7, GE3/2/8
GE3/2/9 to GE3/2/20 (slot 3)
---------------------------------------------------------------------
Type Total Reserved Configured Remaining Usage
---------------------------------------------------------------------
IPv4Acl 51200 0 3729 47471 7%
IPv6Acl 16384 0 3468 12916 21%
CAR&Cnt 131072 0 223 130849 0%
InBRASL2TP Stat 131071 0 6000 131071 4% ------单板芯片2占用硬件资源6000
EgBRAS Stat 131072 0 0 131072 0%
EgL2TP Stat 131072 0 0 131072 0%
IngSubIf Stat 65536 0 7 65529 0%
EgSubIf Stat 65536 0 7 65529 0%
CAR Prof 500 0 3 497 0%
BRAS Prof 400 0 0 400 0%
Sampler 131072 1 0 131071 0%
INQPPB 16384 0 0 16384 0%
3、此时,单板用户数通过如下方式计算:
如果宽带用户没有开启双栈分离计费:则单板用户数=芯片1硬件资源数+芯片2硬件资源数=3000+6000=9000。
如果宽带用户数开启了双栈分类计费:ipoe用户数=芯片1硬件资源数+芯片2硬件资源数-pppoe用户数*2=3000+6000-1000*2=7000。
单板用户数=ipoe用户数+pppoe用户数=7000+1000=8000。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作