资源描述
Shasta 日常维护及Trouble Shooting建议参考
Revision Control
No
Date
Version
Revised by
Remarks
1.
12/09/2004
1.0
Han Wei / Hu Bill
Create document.
2
12/30/2004
1.3
Han Wei / Hu Bill
Change the recommended connection number based on R4.5 guideline.
3
1/12/2005
1.4
Han Wei / Hu Bill
Add provisioned Connection number/SSP/SSM
Add detail explanation on 2.6.2 per Bill’s request.
4
1/13/2005
1.5
Han Wei / Hu Bill
Modify per marketing’s feedback.
5
1/18/2005
1.6
Han Wei / Hu Bill
Modify after Marketing review meeting.
6
1/21/2005
1.7
Han Wei / Hu Bill
Modify after Marketing review meeting.
7
1/25/2005
1.8
Chen Peng / Hu Bill
Modify after Marketing review meeting.
8
1/26/2005
1.9
Chen Peng / Hu Bill
Modify after Marketing review meeting.
Table of Contents
1. 关于北电SHASTA上连接分配使用情况的查询及建议 3
2. 对连接配置方法的建议 6
3. SHASTA内部优化VLAN的方法介绍 7
1. 关于北电shasta上连接分配使用情况的查询及建议
在 shasta 上面,我们可以通过如下命令检查连接数的分配情况,也可以查询到每个VLAN 所在的模块,以及每个 VLAN 里面有多少在线用户。
对于ATM的连接,我们允许每个SSP1可以配置500个连接,再上500个动态用户,这样每个SSP1总共的连接数就是1000个。对于每个SSP1配置不超过500的连接,我们可以保证设备正常运行;不建议对于每个SSP1配置超过500的连接,因为这样有可能影响上网用户的连接性能 。
对于 VLAN 的连接方式,我们建议每个 SSP1上最多终结500个动态用户,这样我们可以保证设备正常运行;对于SSP1上连接的在线用户超过500的应用,我们认为这样会影响上网用户的连接性能。
bsn(SSU)# show isp
ISP Active Subs Trunk Conns
--- ----------- -----------
gnts 4251 ←-----2------------------ 所有在线用户数
default 0 0
bsn(SSU)# show conns
Access Trunk
Total Connections: 16543 2
Dynamic: 3956 ←-0---------------------动态在线用户数(拨号用户)
Bulk: 12195 ←0---------------------Bulk Connection连接数
ILMI: 0 0
Static: 392 ←--2---------------------静态connection连接数
Unconfigured: 0 0
bsn(SSU)# show card
SSM/CT3 CPU states: A - auto-reset; N - need catchup;
C - catching up; D - in delete
U - up; X - failed; '-' - disabled; * - not present
v - uncommunicative; d - dumping core; L - loading
ALC port states: U - up; D - down (alarm)
ELC/GELC port states: U - up; D - down (link fail)
CT3 port states: + - up; '-' - down (alarm)
Slot Configured/Found Enabled Info
---- ----------------- ------- -----
1 ALC /ALC Enabled U U U U [ICP Rev. 1.6]
4 SSC /SSC Enabled U U U U
5 GELC /GELC Enabled U [FPGA Rev. 0.5] [GBIC Single]
6 GELC /GELC Enabled U [FPGA Rev. 0.5] [GBIC Single]
7 SFC /SFC Enabled 10G Active [FPGA Rev. 2.0]
8 SFC /SFC Enabled 10G Standby [FPGA Rev. 2.0]
9 GELC /GELC Enabled U [FPGA Rev. 0.5] [GBIC Single]
11 SSC /SSC Enabled U U U U
12 ALC /ALC Enabled U U U U [ICP Rev. 1.6]
13 CMC /CMC Enabled Active
14 CMC /CMC Enabled Standby (Redundant)
bsn(SSU)# show sspmgr rm detail
Total Number of Connections: 16535
Maximum Number of Connections Allowed: 150000
SSM resources for SSM in slot 11 port 4 ←----------------------11槽第四个模块
SSM Bandwidth: Max: 355000 Alloc 81400 Real 355000 Over 0
Aggregate of 4 CPUs
Bandwidth: real: 320000 over: 0 total: 320000 cur: 81400 avail: 238600
Memory: real: 197132288 over: 0 total: 197132288 cur: 34062336 avail: 163069952
Total number of connections: 2079←此模块上的连接数(配置的连接数加上在线用户)
Maximum number of connections Allowed: 6400
Number of VPN FIBs: 4 Max Allowed: 2048
Node: 11/4/1 ←-----------------------第一个SSP
Bandwidth: real: 80000 over: 0 total 80000 cur: 20424 avail: 59576
Memory: real: 49283072 over: 0 total: 49283072 cur: 8617984 avail: 40665088
Number of connections: 526 ←第一个SSP上的连接数(配置的连接加上在线用户数)
Maximum Number of connections Allowed: 1600
Number of VPN FIBs: 1 Max Allowed: 512
Node: 11/4/2 ←---------------------第二个SSP
Bandwidth: real: 80000 over: 0 total 80000 cur: 20110 avail: 59890
Memory: real: 49283072 over: 0 total: 49283072 cur: 8388608 avail: 40894464
Number of connections: 512←第二个SSP上的连接数(配置的连接加上在线用户数)
Maximum Number of connections Allowed: 1600
Number of VPN FIBs: 1 Max Allowed: 512
Node: 11/4/3 ←---------------------第三个SSP
Bandwidth: real: 80000 over: 0 total 80000 cur: 21564 avail: 58436
Memory: real: 49283072 over: 0 total: 49283072 cur: 9109504 avail: 40173568
Number of connections: 556←第三个SSP上的连接数(配置的连接加上在线用户数)
Maximum Number of connections Allowed: 1600
Number of VPN FIBs: 1 Max Allowed: 512
Node: 11/4/4 ←---------------------第四个SSP
Bandwidth: real: 80000 over: 0 total 80000 cur: 19302 avail: 60698
Memory: real: 49283072 over: 0 total: 49283072 cur: 7946240 avail: 41336832
Number of connections: 485←第四个SSP上的连接数(配置的连接加上在线用户数)
Maximum Number of connections Allowed: 1600
Number of VPN FIBs: 1 Max Allowed: 512
bsn(SSU)# show pppoe tunnel active
Total PPPOE tunnels: 9251
TunID Tunl-Name/ISP-Name Connid Hosts Sess Location
----- -------------------------------- ------ ----- ----- -------------------
3 poe-5-1-102 40 124 124 11/2/3
gnts
4 poe-5-1-127 41 247 247 11/2/3
gnts
5 poe-5-1-143 42 350 350 11/1/1
gnts
6 poe-5-1-200 43 200 200 11/1/4
gnts
7 poe-5-1-202 44 151 151 11/1/3
gnts
8 poe-5-1-33 45 109 109 11/1/4
gnts
9 poe-5-1-59 46 52 52 11/1/1
gnts
10 poe-5-1-901 47 79 79 11/1/3
gnts
12 poe-4-1-4-101 446 2 2 11/1/3
gnts
17 poe-4-1-4-106 451 1 1 1/2/1
gnts
21 poe-4-1-4-109 454 1 1 11/2/4
gnts
24 poe-4-1-4-112 457 1 1 1/2/2
gnts
25 poe-4-1-4-113 458 1 1 11/1/2
gnts
31 poe-4-1-4-119 464 1 1 11/1/4
gnts
36 poe-4-1-4-124 469 1 1 1/3/3
gnts
2. 对连接配置方法的建议
第一种方法是在dslam上进行的VLAN细分的方法。
针对 VLAN 的接入方式,我们建议最好可以在 dslam 上将 VLAN进行细化,减少每个 VLAN 的连接用户数。如DSLAM的每一个模块(48线左右)划分一个VLAN。所以如果每个 VLAN的在线用户多的话,将会影响模块的处理能力,并且可能影响这个 VLAN 其他用户正常的连接。通过在 Dslam 上细化 VLAN 后,每个 VLAN 的在线用户数减少,这样可以保障所有连接到 Shasta 的用户的正常接入使用。
第二种方法是在shasta上面优化用户VLAN连接的方法。
对大用户量的 VLAN,可以在 Shasta 内部,通过对 VLAN 建立静态 connection 的方法,便于进行调整,合理地分配处理器资源。通过用户的数据和我们在忙时对 Shasta 在线用户数量的观察统计,可以找出在线用户数量比较大的 VLAN,然后对这些 VLAN 进行调整,将这些大用户量的 VLAN 区分到不同的 模块上,保障所有用户都可以正常接入。
在 Shasta 上面的这种 VLAN优化的方法只能在短期使用,而细化dslam是一个可以长期使用的方法。
3. Shasta内部优化VLAN的方法介绍
1. 找出在线用户数量比较多的VLAN(show pppoe tunnel active)
bsn1(SSU)# show pppoe tunnel active
Total PPPOE tunnels: 9251
TunID Tunl-Name/ISP-Name Connid Hosts Sess Location
----- -------------------------------- ------ ----- ----- -------------------
3 poe-5-1-102 40 124 124 11/2/3
gnts
4 poe-5-1-127 41 247 247 11/2/3
gnts
5 poe-5-1-143 42 350 350 11/1/1
gnts
6 poe-5-1-200 43 200 200 11/1/4
gnts
7 poe-5-1-202 44 151 151 11/1/3
gnts
8 poe-5-1-33 45 109 109 11/1/4
gnts
9 poe-5-1-59 46 52 52 11/1/1
gnts
10 poe-5-1-901 47 79 79 11/1/3
gnts
12 poe-4-1-4-101 446 2 2 11/1/3
gnts
17 poe-4-1-4-106 451 1 1 1/2/1
gnts
21 poe-4-1-4-109 454 1 1 11/2/4
gnts
24 poe-4-1-4-112 457 1 1 1/2/2
gnts
25 poe-4-1-4-113 458 1 1 11/1/2
gnts
31 poe-4-1-4-119 464 1 1 11/1/4
gnts
36 poe-4-1-4-124 469 1 1 1/3/3
gnts
42 poe-4-1-4-130 475 2 2 1/1/3
gnts
46 poe-4-1-4-134 479 1 1 1/3/1
gnts
51 poe-4-1-4-138 483 1 1 1/3/4
gnts
89 poe-4-1-4-175 520 1 1 1/3/2
从上面的数据我们可以看出来,VLAN 102 和 127 都被分配到了11/2/3 这个 SSP 上面了,VLAN 143 和 59 都被分配到了 11/1/1 这个SSP 上面了,VLAN 200 和 33 都被分配到了 11/1/4 这个 SSP 上面了,还有 VLAN 200 也是个用户量比较大的 VLAN,由于这些 VLAN 的在线用户数都比较多,造成系统处理资源过于集中,我们可以通过手动调整 VLAN 的方法,把这些大用户量的 VLAN 都分配到不同的处理器上面去。具体的做法如下:
2. 为这几个VLAN都做一条静态的connection连接。
bsn1(SSU)# show conn
Connection Type L2 Type Slot/Port/VPI/VCI Status
---------- ---- ------- ----------------- ------
bsn1-trk-gelc-6-1 trunk ETHERNET 6/1 Up
mgmt-eth0 trunk ETHERNET 13/5 Up
bsn1-conn-5-1-120 access 802.1q-Enet 5/1/*/120(vid) Up
bsn1-conn-5-1-127 access 802.1q-Enet 5/1/*/127(vid) Up
bsn1-conn-5-1-143 access 802.1q-Enet 5/1/*/143(vid) Up
bsn1-conn-5-1-59 access 802.1q-Enet 5/1/*/59(vid) Up
bsn1-conn-5-1-200 access 802.1q-Enet 5/1/*/200(vid) Up
bsn1-conn-5-1-33 access 802.1q-Enet 5/1/*/33(vid) Up
bsn1-conn-5-1-202 access 802.1q-Enet 5/1/*/202(vid) Up
做好静态的 connection 和 pppoe tunnel 后,Shasta 需要重新同步( Resync),使新做的配置分配下去。这样,我们会看到,这些大用户量的 VLAN 都通过不同的处理器分布地处理,也就相当于对 Shasta 上连接的这些大用户量的 VLAN 进行了分流。
bsn1(SSU)# show pppoe tunnel active
Total PPPOE tunnels: 9251
TunID Tunl-Name/ISP-Name Connid Hosts Sess Location
----- -------------------------------- ------ ----- ----- -------------------
1024 pppoetunnel-5-1-102 15467 124 124 11/2/4
gnts
1025 pppoetunnel-5-1-127 15468 247 247 11/2/3
gnts
1026 pppoetunnel -5-1-143 15469 350 350 11/2/2
gnts
1027 pppoetunnel -5-1-200 15470 200 200 11/2/1
gnts
1028 pppoetunnel -5-1-202 15471 151 151 11/1/4
gnts
1029 pppoetunnel -5-1-33 15472 109 109 11/1/3
gnts
1030 pppoetunnel -5-1-59 15473 52 52 11/1/2
gnts
展开阅读全文