Huawei MA5100 Multi-service Access Module.
Copyright(C) 1998-2002 by Huawei Technologies Co., Ltd.
> User name (<20 chars):(登陆,输入用户名和密码)
> Password (<20 chars):
MA5100>enable
MA5100#configure
Command word <terminal>:terminal
MA5100(config)#atmlan ip-address(配置网络地址)
{ethernet,atm}:atm
<IP address>:192.168.253.2
<mask>:255.255.255.0
Changing system IP may effect existent connection,Are you sure?(y/n) [n]:y
Set successfully.
MA5100(config)#atmlan ip-route(配置路由网关)
<subnet address>:0.0.0.0
<mask>:0.0.0.0
<gateway>:192.168.253.1
Add successfully.
MA5100(config)#atmlan ip-access(访问列表)
<start IP address>:10.10.10.0
<end IP address>:10.10.10.255
<mask>:255.255.255.0
Add acceptable IP address successfully.
MA5100(config)#interface lan 0/13(配置LAN板模式和端口0的模式)
MA5100(config-LAN-0/13)#operation-mode
{general,ipdslam}:ipdslam
Please delete all LAN access PVC(except LAN-NMS PVC)of current board before
switching operation mode.
Are you sure to switch operation mode and to reset current board?(y/n) [n]:y
Do you want to reserve region PVC and LAN-NMS PVC of current board?(y/n) [y]:y
Reset command was sent to service board successfully.
Switch operation mode successfully.
MA5100(config-LAN-0/13)#port
Command word <line-selfadaptive,mode>:mode
{<portId>}{0-7}:0
{general,ipdslam}:ipdslam
{negotiate,non-negotiate}:non-negotiate
{half-duplex,full-duplex}:full-duplex
<speed>{10m,100m}:100m
<pause-frame>{pause-frame,non-pause-frame}:non-pause-frame
MA5100(config-LAN-0/13)#vlan(增加业务VLAN)
Command word <add,delete,mask>:add
<vlanId>{1-4095}:331(VLAN数值是网络规划中指定的,由BAS提供)
{general,ipdslam-region}:ipdslam-region
<vpi>{0-127}:0
<vci>{32-127}:35
Add VLAN successfully.
MA5100(config-LAN-0/13)#exit
MA5100(config)#pvc//(增加网管PVC)
{adsl,atm,aiu,ces-sdt,ces-udt,ces-uni,ces-v35,fr,lan,nms}:nms
{ipoa,1483b}:1483b
<Encapsulation type>{llc,vc}:llc
{<vci>}{32-63}:33
{atm,adsl,lan,fr,ces-sdt,ces-uni,ces-udt,ces-v35,nms,aiu}:lan
<FrameId/SlotId>{(0)/(0-6)or(9-15)}:0/13
{vlanId,anyvlanId}:vlanId
<vlanID>{1-4095}:401
<rx-cttr>{1-5000}:1
<tx-cttr>{1-5000}:1
Add NMS PVC successfully, CID = 1.
MA5100(config)#ping 192.168.253.1(这时应该PING通网关)
[-c]:
[-t]:
[-s]:
Ping 192.168.253.1: 56 data bytes, press CTRL_C to break.
Reply from 192.168.253.1: bytes=56 Sequence=0 ttl=64 time = 3 ms
Reply from 192.168.253.1: bytes=56 Sequence=1 ttl=64 time = 4 ms
Reply from 192.168.253.1: bytes=56 Sequence=2 ttl=64 time = 3 ms
Reply from 192.168.253.1: bytes=56 Sequence=3 ttl=64 time = 3 ms
Reply from 192.168.253.1: bytes=56 Sequence=4 ttl=64 time = 3 ms
Ping statistics for 192.168.253.1:
Packets: Sent = 5, Received = 5, Lost = 0(0.00%)
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 4ms, Average = 3ms
MA5100(config)#
(设置流量)
MA5100(config)#traffic ubr NoClpNoScr pcr 1000 4
Add traffic item successfully. TID = 4.
MA5100(config)#traffic ubr NoClpNoScr pcr 2000 5
Add traffic item successfully. TID = 5.
MA5100(config)#traffic ubr NoClpNoScr pcr 4000 6
Add traffic item successfully. TID = 6.
MA5100(config)#traffic ubr NoClpNoScr pcr 6000 7
Add traffic item successfully. TID = 7.
MA5100(config)#traffic rt-vbr NoClpScrCdvt pcr 1024 scr 512 mbs 600 cdvt 9000000
8
Add traffic item successfully. TID = 8.
MA5100(config)#traffic rt-vbr NoClpScrCdvt pcr 2000 scr 1000 mbs 600 cdvt 100000
00 9
Add traffic item successfully. TID = 9.
MA5100(config)#traffic rt-vbr NoClpScrCdvt pcr 4000 scr 2000 mbs 600 cdvt 100000
00 10
Add traffic item successfully. TID = 10.
MA5100(config)#traffic rt-vbr NoClpScrCdvt pcr 8000 scr 4000 mbs 600 cdvt 100000
00 11
Add traffic item successfully. TID = 11.
MA5100(config)#interface adsl(端口解阻塞)
<frameId/slotId>{(0-4)/(0-6)or(9-15)}:0/0
MA5100(config-ADSL-0/0)#no block
{<portid>}{0-31}:
{<all>}{all}:all
Port 0: Unblock successfully.
Port31: Unblock successfully.
MA5100(config)#pvc(增加用户PVC)
{adsl,atm,aiu,ces-sdt,ces-udt,ces-uni,ces-v35,fr,lan,nms}:adsl
<FrameId/SlotId/PortId>{(0-4)/(0-6)or(9-15)/(0-15/31)}:0/0/0
{region,vpi}:region
{atm,adsl,lan,fr,ces-sdt,ces-uni,ces-udt,ces-v35,nms,aiu}:lan
<FrameId/SlotId>{(0)/(0-6)or(9-15)}:0/13
{vlanId,anyvlanId}:vlanId
<vlanID>{1-4095}:331
<rx-cttr>{1-5000}:4
<tx-cttr>{1-5000}:1
MA5100(config)#nms (增加网管,并激活)
Command word <activate,deactivate,modify,name>:name
<name>(<16 chars):N2000
<ip address>:10.10.10.2
<get-community>(<32 chars)[public]:public
<set-community>(<32 chars)[private]:private
<trap port>{1-65535}[162]:162
{in-band,out-band}:in-band
Add successfully.
MA5100(config)#nms
Command word <activate,deactivate,modify,name>:activate
{<IP address>}:10.10.10.2
Activate successfully.
MA5100(config-ADSL-0/0)#adsl template add 2 (增加用户速率模板)
During input,press 'Q' to quit,then settings at this time are neglected.
> Will you set basic configuration for modem? (y/n) [n]:
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Set interleaved delay mode 0-manual 1-auto(0~1) [0]:
> Unit of interleaved delay 0-DMT 1-ms (0~1) [0]:
> Will you set interleave depth? (y/n) [n]:
> Will you set noise margin for modem? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]: y
If you want the fixed rate, set the Min value equal to Max value.
> Min bit rate in downstream (32~8160 Kbps) [32]:
> Max bit rate in downstream (32~8160 Kbps) [6144]: 512
> Min bit rate in upstream (32~896 Kbps) [32]:
> Max bit rate in upstream (32~896 Kbps) [640]: 512
Add template 2 successfully
MA5100(config-ADSL-0/0)#adsl template add 3
During input,press 'Q' to quit,then settings at this time are neglected.
> Will you set basic configuration for modem? (y/n) [n]:
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Set interleaved delay mode 0-manual 1-auto(0~1) [0]:
> Unit of interleaved delay 0-DMT 1-ms (0~1) [0]:
> Will you set interleave depth? (y/n) [n]:
> Will you set noise margin for modem? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]: y
If you want the fixed rate, set the Min value equal to Max value.
> Min bit rate in downstream (32~8160 Kbps) [32]:
> Max bit rate in downstream (32~8160 Kbps) [6144]: 1024
> Min bit rate in upstream (32~896 Kbps) [32]:
> Max bit rate in upstream (32~896 Kbps) [640]: 512
Add template 3 successfully
MA5100(config-ADSL-0/0)#adsl template add 4
During input,press 'Q' to quit,then settings at this time are neglected.
> Will you set basic configuration for modem? (y/n) [n]:
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Set interleaved delay mode 0-manual 1-auto(0~1) [0]:
> Unit of interleaved delay 0-DMT 1-ms (0~1) [0]:
> Will you set interleave depth? (y/n) [n]:
> Will you set noise margin for modem? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]: y
If you want the fixed rate, set the Min value equal to Max value.
> Min bit rate in downstream (32~8160 Kbps) [32]:
> Max bit rate in downstream (32~8160 Kbps) [6144]: 2048
> Min bit rate in upstream (32~896 Kbps) [32]:
> Max bit rate in upstream (32~896 Kbps) [640]: 512
Add template 4 successfully
MA5100(config-ADSL-0/0)#adsl template add 5
During input,press 'Q' to quit,then settings at this time are neglected.
> Will you set basic configuration for modem? (y/n) [n]:
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Set interleaved delay mode 0-manual 1-auto(0~1) [0]:
> Unit of interleaved delay 0-DMT 1-ms (0~1) [0]:
> Will you set interleave depth? (y/n) [n]:
> Will you set noise margin for modem? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]: y
If you want the fixed rate, set the Min value equal to Max value.
> Min bit rate in downstream (32~8160 Kbps) [32]:
> Max bit rate in downstream (32~8160 Kbps) [6144]: 4096
> Min bit rate in upstream (32~896 Kbps) [32]:
> Max bit rate in upstream (32~896 Kbps) [640]: 512
Add template 5 successfully
MA5100(config-ADSL-0/0)#
(激活端口的用户模板)
MA5100(config-ADSL-0/0)#activate
{<portid>}{0-31}:
{<all>}{all}:all
[<template-index>]{1-99}:3
Port 0: Command send successfully.
Port 31: Command send successfully.
pvc adsl 0/0/0 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/0 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/0 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/0 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/1 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/2 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/3 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/4 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/5 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/6 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/7 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/8 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/9 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/10 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/11 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/12 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/13 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/14 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/15 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/16 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/17 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/18 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/19 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/20 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/21 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/22 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/23 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/24 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/25 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/26 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/27 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/28 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/29 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/30 region lan 0/13 vlanId 331 4 1
pvc adsl 0/0/31 region lan 0/13 vlanId 331 4 1
MA5100(config)# exit
MA5100#save
Are you sure to save system data?(y/n) [y]:y
This operation will take several minutes, please wait...