Senin, November 10, 2008

Script MA-5600

Kalo yg ini script DSLAM Huawei MA-5600 ... lebih rumit :-)

Login:
Password:

MA5600>enable
MA5600#config
MA5600(config)#time 2008-06-11 11:00:00 ->tanggal & waktu setempat
MA5600(config)#auto-backup period configuration enable
MA5600(config)#auto-backup period configuration interval 1 time 01:00
MA5600(config)#auto-backup period data enable
MA5600(config)#auto-backup period data interval 1 time 00:00

Step precaution!
MA5600(config)#protect
MA5600(config-protect)#protect-group first 0/7/0 second 0/8/0 eth workmodeportstate
MA5600(config-protect)#quit
MA5600(config)#sysname huawei

Step 1 Set the IP address of the inband NMS port (GE port).
Create an NMS VLAN

huawei(config)#vlan 10 standard

Add the upstream port to the VLAN
huawei(config)#port vlan 10 0/7 0
huawei(config)#port vlan 10 0/7 1 // for subtend to frame 2Enter the VLAN interface mode
huawei(config)#interface vlanif 10

Set the IP address of the VLAN interface
huawei(config-if-vlanif10)#ip address [ip_equipment] 255.255.255.0
huawei(config-if-vlanif10)#quit

Step 2 Add a route.
huawei(config)#ip route-static 0.0.0.0 0.0.0.0 [ip_gateway]

Step 3 Set the SNMP parameters.
huawei(config)#snmp-agent sys-info version all
huawei(config)#snmp-agent community read public
huawei(config)#snmp-agent community write private

Step 4 Enable traps sending.
huawei(config)#snmp-agent trap enable standard

Step 5 Set the IP address of the target host for traps.
huawei(config)#snmp-agent target-host trap address [nms_server_ip] securityname private

Step 6 Set the IP address of the inband NMS as the source address for traps sending.
huawei(config)#snmp-agent trap source vlanif 10

Step 7 Save the data.
huawei(config)#save

Configure ADSL
Step 1 Registering ADEE board to MA5600 SCUB
huawei(config)#display board 0

if board still in “auto_find” state, please run command as below;
huawei(config)#board confirm 0

Step 2 Create smart VLAN for ADSL
huawei(config)#vlan 340 smart
huawei(config)#vlan 341 smart // for subtend to frame 2

Add the upstream port to the VLAN
huawei(config)#port vlan 340 0/7 0
huawei(config)#port vlan 341 0/7 0 // for subtend to frame 2
huawei(config)#port vlan 341 0/7 1 // for subtend to frame 2

Enter the VLAN interface mode


Step 3 Configuring the QoS
For Downstream
huawei(config)#traffic table index 7 ip car 384 priority 0 priority-policy tag-In-Package
For Upstream
huawei(config)#traffic table index 8 ip car 64 priority 0 priority-policy tag-In-Package
huawei(config)#display traffic table from-index 0

Step 4 Configuring the service port bundle from GE uplink to ADEE board
huawei(config)# multi-service-port vlan 340 port 0/0 0-63 vpi 0 vci 35 user-encap pppoe rx-cttr 7 tx-cttr 8 // For board slot 0
huawei(config)# multi-service-port vlan 340 port 0/1 0-63 vpi 0 vci 35 user-encap pppoe rx-cttr 7 tx-cttr 8 // For board slot 1
huawei(config)# multi-service-port vlan 340 port 0/2 0-63 vpi 0 vci 35 user-encap pppoe rx-cttr 7 tx-cttr 8 // For board slot 2

…..Ignore slot 7 & 8 (SCUB board)

huawei(config)# multi-service-port vlan 340 port 0/15 0-63 vpi 0 vci 35 user-encap pppoe rx-cttr 7 tx-cttr 8 // For board slot 15


Step 5 Configuring ADSL line profile for subscriber
huawei(config)#adsl line-profile add 10
Command:
adsl line-profile add 10
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]:
> Please choose default value type 0-adsl 1-adsl2+ (0~1) [0]:1
> Will you set basic configuration for modem? (y/n)[n]:y
Note: Setting to these mode of G992.3~5 will lead that the adsl ports that are not support adsl2+ not be activated
ADSL transmission mode:
> 0: All (G992.1~5,T1.413)
> 1: Full rate(G992.1/3/5 or T1.413)
> 2: g.lite(G992.2/4) (ADSL over ISDN board doesn't support g.lite mode)
> 3: T1.413(ADSL over ISDN board doesn't support T1.413 mode)
> 4: g.dmt (G992.1/3/5)
> 5: g.hs (G992.1~5, G992.5 is prior)
> 6: G992.1
> 7: G992.2
> 8: G992.3
> 9: G992.4
> 10:G992.5
> 11: ADSL all (G992.1~2,T1.413)
> 12: ADSL&ADSL2(G992.1/3 or T1.413)Please select (0~12) [0]:0
> Trellis mode 0-disable 1-enable (0~1) [1]:
> Downstream channel bit swap 0-disable 1-enable (0~1) [0]:
> Upstream channel bit swap 0-disable 1-enable (0~1) [0]:
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Will you set interleaved delay? (y/n)[n]:
> Please select form of transmit rate adaptation in downstream:
> 0-fixed 1-adaptAtStartup 2-adaptAtRuntime (0~2) [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]:32 ->bukan 64
> Maximum transmit rate in downstream (1024~32000 Kbps) [24544]:384
> Minimum transmit rate in upstream (32~6000 Kbps) [32]:32
> Maximum transmit rate in upstream (32~6000 Kbps) [1024]:64
Add profile 10 successfully

huawei(config)#interface adsl 0/0
huawei(config-if-adsl-0/0)#deactivate all
huawei(config-if-adsl-0/0)#activate all profile-index 10
huawei(config-if-adsl-0/0)#quit

huawei(config)#interface adsl 0/1
huawei(config-if-adsl-0/1)#deactivate all
huawei(config-if-adsl-0/1)#activate all profile-index 10
huawei(config-if-adsl-0/2)#quit

huawei(config)#interface adsl 0/2
huawei(config-if-adsl-0/2)#deactivate all
huawei(config-if-adsl-0/2)#activate all profile-index 10
huawei(config-if-adsl-0/2)#quit

…..

// ignore board 0/7 and 0/8; continue until board 0/15

huawei(config)#interface adsl 0/15
huawei(config-if-adsl-0/15)#deactivate all
huawei(config-if-adsl-0/15)#activate all profile-index 10
huawei(config-if-adsl-0/15)#quit

Step 7 Configuring PITP P-mode
huawei(config)# pitp enable pmode

Step 8 Saving configuration
huawei(config)#save

2 komentar:

goooooood girl mengatakan...

your blog is very good......

bayu mengatakan...

mo nanya, enakan pake MA5300 ? MA5600 ? ato MA5605 ?