MA5616(config)# time 2009-06-12 14:45:30 设置系统时间,根据实际情况设置MA5616(config)# sysname MA5616 设置系统名称,根据实际情况设置
MA5616(config)# vlan 100 smart 网管VLAN 100
MA5616(config)# vlan 3450 to 3481 mux 业务VLAN,VLAN类型为MUX
MA5616(config)# vlan 3803 smart 窄带业务VLAN
MA5616(config)# port vlan 100 0/0 1 在上行口透传VLAN
MA5616(config)# port vlan 3450 to 3481 0/0 1
MA5616(config)# port vlan 3803 0/0 1
MA5616(config)#interface vlanif 100 配置网管地址
MA5616(config-if-vlanif100)# ip address 10.41.236.26 255.255.255.0
MA5616(config-if-vlanif100)#quit
MA5616(config)#interface vlanif 3803 配置窄带地址
MA5616(config-if-vlanif3803)# ip address 10.47.143.173 255.255.255.224
MA5616(config-if-vlanif3803)#quit
MA5616(config)# ip route-static 0.0.0.0 0.0.0.0 10.41.236.1 宽带路由
MA5616(config)# ip route-static 10.3.35.0 255.255.255.128 10.47.143.161 窄带路由MA5616(config)#multi-service-port 建立宽带业务流
{ from-vlan
{ vlanid<1,4093> }:3450
{ board
{ frame-id
{ autosense
i
{ vpi<0,255> }:0
{ vci
{ vci<32,255> }:100
{ inbound
K> }:rx-cttr 6 tx-cttr 6
Command:
multi-service-port from-vlan 3450 board 4 vpi 0 vci 100 rx-cttr 6 tx-cttr 6
MA5616(config)# adsl line-profile
{ add
{
Command:
adsl line-profile add 2
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:ADSL_4M
> Please choose default value type 0-adsl 1-adsl2+ (0~1) [0]: 0
> Will you set basic configuration for modem? (y/n)[n]:Y 无需修改可以选择N
Note: Setting to these mode of G.992.3~5 will lead that the adsl ports that
are not support adsl2+ not be activated
> ADSL transmission mode:
> 0: All (G.992.1~5,T1.413)
> 1: Full rate(G.992.1/3/5 or T1.413)
> 2: g.lite(G.992.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 (G.992.1/3/5)
> 5: g.hs (G.992.1~5, G.992.5 is prior)
> 6: G.992.1
> 7: G.992.2(ADSL over ISDN board doesn't support G.992.2 mode)
> 8: ADSL all (G.992.1~2,T1.413)
Please select (0~8) [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]:y 无需修改可以选择N
> Maximum downstream interleaved delay(0~255 ms) [6]:
> Maximum upstream interleaved delay(0~255 ms) [6]:
>Please select form of transmit rate adaptation in downstream:
> 0-fixed 1-adaptAtStartup (0~1) [1]:
> Will you set SNR margin for modem? (y/n)[n]:y 无需修改可以选择N
> Target SNR margin in downstream(0~31 dB) [6]:
> Minimum SNR margin in downstream (0~6 dB) [0]:
> Maximum SNR margin in downstream (6~31 dB) [31]:
> Target SNR margin in upstream (0~31 dB) [6]:
> Minimum SNR margin in upstream (0~6 dB) [0]:
> Maximum SNR margin in upstream (6~31 dB) [31]:
> Will you set parameters for rate? (y/n)[n]:y
> Minimum transmit rate in downstream (32~8160 Kbps) [32]:
> Maximum transmit rate in downstream (32~8160 Kbps) [6144]:4096 根据实际情况选择,此处选择为4096,即用户带宽为4M。
> Minimum transmit rate in upstream (32~896 Kbps) [32]:
> Maximum transmit rate in upstream (32~896 Kbps) [640]:
Add profile 2 successfully
MA5616(config)#interface adsl 0/4
MA5616(config-if-adsl-0/4)#deactivate
{ all
Command:
deactivate all
Deactivate port 0 successfully
MA5616(config-if-adsl-0/4)#activate all 激活新的4M模板
{
Command:
activate all profile-index 2
Send the command to activate port 0 successfully
MA5616(config)# voip 配置窄带数据
MA5616(config-voip)# ip address media 10.47.143.173 10.47.143.161
MA5616(config-voip)# ip address signaling 10.47.143.173
MA5616(config-voip)# quit
MA5616(config)# interface h248 0 配置H248接口数
据
MA5616(config-if-h248-0)# if-h248 attribute mgip 10.47.143.173 mgport 2944 transfer udp
MA5616(config-if-h248-0)#if-h248 attribute primary-mgc-ip1 10.3.35.4 primary-mgc-port 2944
MA5616(config-if-h248-0)#if-h248 attribute secondary-mgc-ip1 10.3.35.68 secondary-mgc-port 2944
MA5616(config-if-h248-0)# if-h248 attribute mg-media-ip1 10.47.143.173
MA5616(config-if-h248-0)# if-h248 attribute start-negotiate-version 1
MA5616(config-if-h248-0)#quit
MA5616(config)#esl user 添加窄带用户
MA5616(config-esl-user)#mgpstnuser batadd 0/3/0 0/3/63 0 terminalid 0 ste
p 1 telno 88880000
880020170991(config-pstnport)#pstnport attribute batset 设置窄带宽口为反极性
{ frameid/slotid/portid
{ endframeid/slotid/portid
{ clip-reverse-pole-pulse
rse-mode
{
-reverse-mode
{ level-value<20,1270> }:1000 polarity-reverse-mode
{ polarity-mode
{
pstnport attribute batset 0/3/0 0/3/63 reverse-pole-pulse enable
reverse-pole-pulse-level 1000 polarity-reverse-mode soft-polarity-reverse
MA5616(config-esl-user)#quit
MA5616(config)#board reset 0/3 重启窄带业务单板;
Are you sure to reset board? (y/n)[n]:y
0 frame 3 slot reset board message sent successfully...
MA5616(config)#snmp-agent community read public MA5616(config)# snmp-agent community write private MA5616(config)# snmp-agent target-host trap-hostname N2000Server address 124.128.255.66 udp-port 162 trap-paramsname private
MA5616(config)# snmp-agent target-host trap-hostname dianzigongdan1 address 60.215.133.66 udp-port 162 trap-paramsname private MA5616(config)#snmp-agent target-host trap-hostname dianzigongdan2 address 60.215.133.67 udp-port 162 trap-paramsname private
MA5616(config)#snmp-agent target-host trap-hostname dianzigongdan3 address 60.215.133.68 udp-port 162 trap-paramsname private MA5616(config)# snmp-agent trap enable standard
MA5616(config)#snmp-agent trap source vlanif 100
MA5616(config)#save