1. ip_dslam pppoe adsl2+triple-play configuration process

8
QUI TRÌNH CẤU HÌNH DỊCH VỤ ADSL2+ TRÊN MA -5616 1. Mô hình bài test: Bài Test ADSL2+ Triple Play service test Mô hình: MANE TIỀN GIANG VLAN HSI 102 VLAN VoD: 2420 VLAN IPTV: 99 Modem ADSL2+ ADSL port 0/3/0 Tốc độ line test: 16M. Có th xem đượ c d ch v IPTV (My TV) và VoD, Thông số k ỹ thuật bài test: VLAN HSI: 102 PVC HSI: 0/32 VLAN VoD: 2420 PVC VoD: 0/63 VLAN IPTV: 99 HSI QoS Priority: 0 IPTV program: 232.84.1.1 232.84.1.150 VoD và IPTV QoS Priority: 4 Line Rate: download: 16Mbps, upload: 2Mbps Port downlink DSLAM: adsl 0/3/0 07 tham s xác th c: anid =TGG.MTO.H11 Rack/frame/slot/port:vpi.vci= 0/0/3/0:0.32 Chun b các thi ế t b để th như hình vẽ . Port Uplink: 0/0/0

Upload: tquanglong

Post on 09-Oct-2015

76 views

Category:

Documents


0 download

TRANSCRIPT

TEMPLATE CU HNH CHO IP_DSLAM

QUI TRNH CU HNH DCH V ADSL2+ TRN MA-5616

1. M hnh bi test:

Bi TestADSL2+ Triple Play service test

M hnh:

Tc line test: 16M. C th xem c dch v IPTV (My TV) v VoD,

Thng s k thut bi test: VLAN HSI: 102 PVC HSI: 0/32

VLAN VoD: 2420 PVC VoD: 0/63

VLAN IPTV: 99 HSI QoS Priority: 0

IPTV program: 232.84.1.1 232.84.1.150 VoD v IPTV QoS Priority: 4

Line Rate: download: 16Mbps, upload: 2Mbps Port downlink DSLAM: adsl 0/3/0

07 tham s xc thc: anid =TGG.MTO.H11Rack/frame/slot/port:vpi.vci= 0/0/3/0:0.32 Chun b cc thit b th nh hnh v. Port Uplink: 0/0/0

Qa trnh th tc bi test: M t qu trnh: Cu hnh cc bc c bn theo ti liu QUI TRNH CU HNH C BN MA-5616 Kt ni modem ADSL n port adsl0/3/0 trn DSLAM MA5616 thng qua cable thu bao, thc hin active/de-active cng kt ni n ADSL modem. Thit lp kt ni PVC th nht chy dch v HSI. Thit lp kt ni PVC th 2 chy dch v VoD Cu hnh Multicast IGMP chy dch v IPTV

Yu cu kt qu bi test: Modem c th active hoc de-active bnh thng. Sau khi to kt ni PPPoE t modem user c th kt ni vi mng internet, xem c cc knh truyn hnh multicast, xem c VoD.

Kt qu bi test: Khi kt ni my tnh vo modem, t my tnh c th kt ni c n mng internet: Pass No Pass Cm STB vo modem qua mn hnh TV c th xem c cc knh truyn hnh MyTV, VoD Pass No Pass

Xc nhn i din k thut: Vin thng :

HTSV:

Comments:

2. To adsl line-profile 16Mbpsa. Cu hnhTGG.MTO.H11(config)#adsl line-profile add 2 // to mt adsl line-profile Start adding profile Press 'Q' to quit the current configuration and new configuration will be neglected> Do you want to name the profile (y/n) [n]:y> Please input profile name:HIS-16M> Please choose default value type 0-adsl 1-adsl2+ (0~1) [0]:1> Will you set basic configuration for modem? (y/n)[n]:> Please select channel mode 0-interleaved 1-fast (0~1) [0]:0> Will you set interleaved delay? (y/n)[n]:n> Please select form of transmit rate adaptation in downstream:> 0-fixed 1-adaptAtStartup 2-adaptAtRuntime (0~2) [1]:1> Will you set SNR margin for modem? (y/n)[n]:> Will you set parameters for rate? (y/n)[n]:y> Minimum transmit rate in downstream (32~32000 Kbps) [32]:> Maximum transmit rate in downstream (32~32000 Kbps) [24544]:16000> Minimum transmit rate in upstream (32~6000 Kbps) [32]:> Maximum transmit rate in upstream (32~6000 Kbps) [1024]:2048 Add profile 2 successfully

Hoc cu hnh nhanh: TGG.MTO.H11(config)# adsl line-profile quickadd 2 basic-para all trellis 1 bitswap 1 1 channel interleaved 16 6 adapt at-startup snr 6 0 16 6 0 16 rate 32 16000 32 2048 name HSI-16M

b. Kim tra cc profile ang c trn DSLAMTGG.MTO.H11(config)#display adsl line-profile // kim tra cc profile ang tn ti trn DSLAM

Ghi ch:Tng t to cc profile cho cc gi dch v cc tc khc nhau ty thuc vo cc gi dch v cung cp ca tnh:

Profile-index 2 ADSL tc 256-512k (HSI)Profile-index 3 ADSL tc 384-768k (HSI)Profile-index 4 ADSL tc 512-1024k (HSI)Profile-index 5 ADSL tc 640-2048k (HSI)Profile-index 6 ADSL tc 2048-4096k (HSI)

huawei#display adsl line-profile3. Deactivate line-profile c v activate line-profile mi port

TGG.MTO.H11(config)#interface adsl 0/3

TGG.MTO.H11(config-if-adsl-0/3)#deactivate 0 // deactive cho port 0 thuc board slot s 3. Tng t c th deactive cho mt port khc VD: 1, 3, hoc cho tt c cc port thuc board th dng tham s: all

TGG.MTO.H11(config-if-adsl-0/3)#activate 0 profile-index 2 // active cho port 0 vi profile-index to bc trn l 2. Tng t c th lm cho mt port khc VD: 1, 3, hoc cho tt c cc port thuc board th dng tham s: all

TGG.MTO.H11(config-if-adsl-0/3)# Send the command to activate port 0 successfullyhuawei#display adsl port state

Gh ch: Trc khi active profile cho port th phi deactive profile cho port . Vic deactive/active s nh hng n vic cung cp dch v ca port cung cp dch v cho khch hng v vyta cn cn thn khi thc hin vic deactive hay active, trnh thc hin lnh ny i vi cc port ang cung cp dch v cho khch hng.4. To traffic table IP index

4.1 Traffic table IP index cho dch v internet HIS: traffic table ip c to trong phn QUI TRNH CU HNH C BN MA-5616, y ta ch nhc li: TGG.MTO.H11(config)# traffic table ip {cir|index|modify|name}:index {row-index}:11 {cir|name}:name {name}:HSI {cir}:cir {cir|off}:off {pir|off}:off {color-mode|priority}:priority {prival|user-cos|user-tos}:0 // mc priority thp nht {priority-policy}:priority-policy {priority-policy}:local-Setting CommandTGG.MTO.H11(config)#traffic table ip index 11 name HSI cir off color-mode color-blind priority 0 priority-policy local-setting

// 11 l trafic table ip index to bc trn; Priority 0 c ngha l mc u tin ca gi tin l thp nht i vi dch v HSI = 0.

4.2 Traffic table IP index cho dch v Truyn hnh ( VoD, IPTV): traffic table ip c to trong phn QUI TRNH CU HNH C BN MA-5616, y ta ch nhc li: TGG.MTO.H11(config)# traffic table ip {cir|index|modify|name}:index {row-index}:12 {cir|name}:name {name}:IPTV {cir}:cir {cir|off}:off {pir|off}:pir off {color-mode|priority}:priority {prival|user-cos|user-tos}:4 // Mc priority cao hn so vi dch v internet 4>0 {priority-policy}:priority-policy {priority-policy}:local-Setting

Command

TGG.MTO.H11(config)# traffic table ip index 12 name IPTV cir off color-mode color-blind priority 4 priority-policy local-setting// 12 l trafic table ip index to bc trn; Priority 4 c ngha l mc u tin ca gi tin l mc 4.

4.3 Kim tra cc traffic table ip tn ti trn DSLAM MA5616:huawei#(config)#display traffic table ip from index 05. Cu hnh xc thc acount: d n ny nh cung cp dch v s dng 7 thuc tnh cp visa phn loi v qun l khch hng l anid frame/slot/subslot/port:vpi:vci. c cu hnh sn trong phn: QUI TRNH CU HNH C BN MA-5616.6. To Vlan dch v6.1 Trng hp thu bao ch s dng dch v Internet: s dng 01 smart VLAN

TGG.MTO.H11(config)#vlan 102 smart // Ch khai bo vlan dch v internet 102 l smart TGG.MTO.H11(config)#port vlan 102 0/0 0 // cho php vlan 102 i qua cng uplink.

6.2 Trng hp thu bao s dng dch v Triple-Play: s dng 03 smart VLAN (HSI, VoD, IPTV) TGG.MTO.H11(config)#vlan 102 smart // VLAN internet HSITGG.MTO.H11(config)#vlan 2420 smart // VLAN VoDTGG.MTO.H11(config)#vlan 99 smart // VLAN Muticast TGG.MTO.H11(config)#port vlan 102 0/0 0 // port 0/0 0 l cng uplinkTGG.MTO.H11(config)#port vlan 2420 0/0 0 // port 0/0 0 l cng uplinkTGG.MTO.H11(config)#port vlan 99 0/0 0 // port 0/0 0 l cng uplink7. Create virtual channel (service-port): add subcriber7.1 Trng hp thu bao ch s dng dch v HSI:

TGG.MTO.H11(config)#service-port vlan 102 port 0/3/0 vpi 0 vci 32 rx-cttr 11 tx-cttr 11// to service port cho port adsl 0/3/0 vi 11 l trafficc table IP ca PVC dch v HSI tng ng .

Nu cu hnh nhiu cng 1 lc:

TGG.MTO.H11(config)#multi-service-port vlan 102 port 0/3/0-31 vpi 0 vci 32 rx-cttr 11 tx-cttr 11// to service port cho port 0/3/0n 0/3/31 vi 11 l trafficc table IP ca PVC dch v HSI tng ng.

TGG.MTO.H11(config)#display service-port all7.2 Trng hp thu bao s dng HSI, IPTV, VoD: PVC ca dch v HSI:

TGG.MTO.H11(config)#service-port vlan 102 port 0/3/0 vpi 0 vci 32 rx-cttr 11 tx-cttr 11// to service port cho port adsl 0/3/0 vi 11 l trafficc table IP ca PVC dch v HSI tng ng.

PVC ca dch v VoD:TGG.MTO.H11(config)#service-port 242 vlan 2420 port 0/3/0 vpi 0 vci 63 rx-cttr 12 tx-cttr 12// to service port cho port 0/3/0 vi 12 l trafficc table IP ca PVC dich v VoD; Do gi tr service-port thuc MA5616 ch thuc di 0 999 nn ta dng service-port ID y l 242.

ghi chNu cu hnh nhiu cng mt lc:s dng cu lnh: Multi-service port nh mc 6.1.

Delete Subcriber:TGG.MTO.H11(config)#undo service port vlan 102

huawei#display service-port all

8. Cu hnh BTV khi cung cp dch v Triple-Play ti DSLAM:

Ch cu hnh bc ny khi port cung cp dch v l Triple-Play

MA5616(config)#multicast-vlan 99igmp mode proxyMA5616(config-mvlan99)# igmp version v2MA5616(config-mvlan99)# igmp uplink-port 0/0/0MA5616(config-mvlan99)# igmp program add batch ip 232.84.1.1 to-ip 232.84.1.150MA5616(config-mvlan99)#btv MA5616(config-btv)#igmp proxy router gen-query-interval 30 MA5616(config-btv)#igmp proxy router robustness 1MA5616(config-btv)#igmp user add service-port 242 no-auth // cho php user thuc service-port ID 242 l ca VoD to bc trn c quyn xem knh multicast ca VLAN 99.MA5616(config-btv)#multicast-vlan 99MA5616(config-mvlan99)#igmp multicast-vlan member service-port 242 // ngha cng nh trn.

huawei#display multicast flow-statistic9. Cu hnh security cho user:9.1 Security control -MAC address limitMA5616(config)#mac-address max-mac-count ADSL 0/2/0 stream 10// cu hnh interface ADSL c th hc ti a 10 a ch MAC.

9.2 Configure the Unicast Traffic-suppress at uplink porttraffic-suppress { portid | all } { broadcast | multicast | unicast } value value//ch thch:MA5616(config-if-gi-0/0/0)#display traffic-suppress all ------------------------------------------------------------------------ NO. Min bandwidth(kbps) Max bandwidth(kbps) Package number(pps) /Jumbo frame enable(kbps) ------------------------------------------------------------------------ 1 6 145 / 884 12 2 12 291 / 1769 24 3 24 582 / 3538 48 4 48 1153 / 7004 95 5 97 3119 / 14082 191 6 195 4639 / 28164 382 7 390 9265 / 56254 763 8 781 18531 / 112508 1526 9 1562 37063 / 225017 3052 ------------------------------------------------------------------------ PortID Broadcast_index Multicast_index Unicast_index ------------------------------------------------------------------------ 0 7 -- 7 1 7 -- 7 C th la chn ty thuc vo VNPT, hin ti mc default l Level3 cho TGG.MTO.H11.

cu hnh hn ch s lng gi tin broadcast, multicast, unicast. C th mode global hay interface. Cu hnh c th global mode hay interface mode Ch mc nh broadcast traffic suppression v unicast traffic suppression l 7. Khi IGMP proxy hoc IGMP snooping bt ln gi tin multicast khng b hn ch.Khi IGMP proxy hoc IGMP snooping tt i, gi tin multicasts b p dng lut. ch default multicast traffic suppression l 7. Bc ny ch gii thiu m khng cu hnh, dng theo thng s mc nh.

9.3 Configure the Anti-Macspoofing for HSI serviceLnh ny c s dng kch hot hay v hiu ha chc nng chng gi mo MAC. Khi bn cn ngn chn ngi dng nguy him t cc a ch MAC gi mo gi cc gi d liu tn cng cc thit b, chy lnh ny. Sau khi chc nng chng gi mo MAC c kch hot, h thng lin kt vi mt ngi s dng vi mt a ch IP ng.

Bt anti-macspoofing global:MA5616(config)# security anti-macspoofing enable

Bt anti-macspoofing at VLAN profile:

MA5616(config)#vlan service-profile profile-id 1 profile-name HSI.MA5616(config-vlan-srvprof-1)# Anti-macspoofing enableMA5616(config-vlan-srvprof-1)# commitMA5616(config-vlan-srvprof-1)# quit Bind VLAN ti VLAN profile:vlan bind service-profile vlan-list { profile-id | profile-name}huawei(config) #vlan bind service-profile 10 profile-name HSI

9.4 Configure the Anti-Dos at DSLAM

MA5616(config)#security anti-dos { enable | disable }Vic t chi dch v (DoS) tn cng lin quan n mt cuc tn cng t mt ngi dng c hi - ngi gi mt s lng ln cc gi giao thc, kt qu l t chi yu cu dch v ca ngi s dng bnh thng ca h thng.

10. Mt s c php kim tra10.1 Kim tra ng b vt l gia Modem vi IP DSLAM

TGG.MTO.H11(config)#display interface adsl 0/1/0 Adsl 0/ 1/ 0 is down The ADSL link is Activating Description : - Bind line-profile No. 2 Megahome Dynamic-profile Index: - Name: - Bind alarm-profile No. 1 DEFVAL Bind no ext-profile Hardware is ATU-C Last up time : - Last down time : - Current operational mode : No protocol selected Current downstream Rate (kbps) : 0 Current upstream Rate (kbps) : 0 Total count of line training : 0 Total up stream bytes num (byte) : 0 Total up stream packets num (packet) : 0 Total down stream bytes num (byte) : 0 Total down stream packets num (packet) : 0 Total down stream packets num discarded Due to congestion (packet) : 0

PVC 8/35 PVC encapsulation : Bridge LLC Flow type : - Flow para : - Rx-cttr : 7 Tx-cttr : 7 VLAN : 100 Max mac-address learning count : 255 Support down multicast stream : disable Support IGMP packet : disable Bytes num upstream(byte) : 0 Packets num upstream(packet) : 0 Bytes num downstream(byte) : 0 Packets num downstream(packet) : 010.2 Query thng s online ng ADSL2+:

huawei#display adsl line operation all10.3 Debuging IGMP:

Debuging: Setp1: Debugging system MA5616(config)#debugging {all|dns|firewall|hwtacacs|igmp|ip|lacp|ntp-service|rawip|rawlink|rm|rsa|stp|tcp|udp }: For example: MA5616(config)#debugging igmp { user }:user { all|user-index }:all

Step2: Display the debugging information to the CLI terminal MA5616(config)#terminal debugging Step3: Debugging information output to the terminal MA5616(config)#terminal monitor10.4 Reset board v cc cu trc khc: board reset display adsl channel-profile display adsl port state { { all | frameid/slotid } [ active ] | frameid/slotid/portid } display port state { portid | all } // xem cho port VDSL2

MANE TIN GIANG

VLAN HSI 102

VLAN VoD: 2420

VLAN IPTV: 99

Modem ADSL2+

ADSL port 0/3/0