Senin, November 10, 2008

Script MA-5300

Script config DSLAM Huawei tipe MA-5300 :

Login:
Password:

MA5300>enable
MA5300#config terminal

Step precaution!
MA5300(config)#hostname 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)#interface gigabitethernet 7/1/0
huawei(config-if-gigabitethernet7/1/0)#switchport mode trunk
huawei(config-if-gigabitethernet7/1/0)#switchport trunk allowed vlan 10
huawei(config-if-gigabitethernet7/1/0)#exit
huawei(config)#interface gigabitethernet 7/1/1 // for subtend to frame 2
Enter the VLAN interface mode
huawei(config-if-gigabitethernet7/1/1)#switchport mode trunk
huawei(config-if-gigabitethernet7/1/1)#switchport trunk allowed vlan 10
huawei(config-if-gigabitethernet7/1/1)#exit
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)#exit

Step 2 Add a route.
huawei(config)#ip route 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)#write

Configure ADSL
Step 1 Registering ADEE board to MA5600 SCUB
huawei(config)#show 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
huawei(config-vlan 340)#vlan-type smart
huawei(config-vlan 340)#exit
huawei(config)#vlan 341 // for subtend to frame 2
huawei(config-vlan 341)#vlan-type smart
huawei(config-vlan 341)#exit

Add the upstream port to the VLAN
huawei(config)#interface gigabitethernet 7/1/0
huawei(config-if-gigabitethernet7/1/0)#svlan-upport vlan 340
huawei(config-if-gigabitethernet7/1/0)#svlan-upport vlan 341 // for subtend to frame 2
huawei(config-if-gigabitethernet7/1/0)#exit
huawei(config)#interface gigabitethernet 7/1/1
huawei(config-if-gigabitethernet7/1/1)#svlan-downport vlan 341 // for subtend to frame 2
huawei(config-if-gigabitethernet7/1/1)#exit

Enter the VLAN interface mode


Step 4 Configuring the service port bundle from GE uplink to EADA or EADB board
huawei(config)# vlan 340
huawei(config-vlan340)#svlan-downport adsl0/0/0 to adsl15/0/47 // For board slot 0-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)#adsl activate adsl0/0/0 to adsl6/0/47 10
huawei(config)#adsl activate adsl9/0/0 to adsl15/0/47 10

Step 7 Configuring PITP P-mode
huawei(config)# pitp pmode enable
huawei(config)# pitp pmode enable adsl0/0/0 to adsl15/0/47 pvc all

Step 8 Saving configuration
huawei(config)#write

4 komentar:

Anonim mengatakan...

Thank's boss sudah saya copy, ditunggu yg ma5605

Jimmy mengatakan...

Mas, saya dapat order perbaikan modul ESMB. Indikasinya modul tidak bisa booting dengan catatan file ma53esmb tidak ditemukan. Sudah saya coba untuk mendownload lewat tftp tapi ternyata muncul error "flash memory can not write". kira2 kerusakan dimana ya? terima kasih atas jawabannya.

Unknown mengatakan...

mas kenapa kalau kita pasang modem adsl di dslam 5600, delaynya lebih besar daripada modem shdsl di dslam 5300?kondisi itu dengan lineprofil sama 2048 Kbps

dauz mengatakan...

mas klu kita mau config line-profile per 1 port, whats the command nya mas?