C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 4452|回复: 7

[FTTx/PON] [原创]EPON开局实例 [复制链接]

军衔等级:

亚星游戏官网-yaxin222  中士

注册:2006-5-181
发表于 2010-5-6 16:23:40 |显示全部楼层
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<K>|vlan<K> }:from-vlan                                             
{ vlanid<U><1,4093> }:3450                                                      
{ board<K>|port<K> }:board                                                      
{ frame-id<K>|num-list<S><Length 1-255> }:4    根据宽带板实际位置选择                                 
{ autosense<K>|inbound<K>|rx-cttr<K>|user-8021p<K>|user-encap<K>|user-vlan<K>|vp
i<K> }:vpi  设置宽带的VPI和VCI值,跟MODEM一致,济南一般VPI为0,VCI为100;                                       
{ vpi<U><0,255> }:0                                                            
{ vci<K> }:vci                                                                  
{ vci<U><32,255> }:100                                                         
{ inbound<K>|rx-cttr<K>|single-service<K>|user-8021p<K>|user-encap<K>|user-vlan<
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<K>|delete<K>|modify<K>|quickadd<K>|quickmodify<K> }:add                  
{ <cr>|profile-index<U><2,125> }:2                                             
  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<K>|portid<U><0,31> }:all                                                  
                                                                                
  Command:                                                                     
          deactivate all                                                        
  Deactivate port 0 successfully               
MA5616(config-if-adsl-0/4)#activate all                 激活新的4M模板           
{ <cr>|profile-index<K>|profile-name<K> }:profile-index 2                       

  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<S><Length 1-15> }:0/3/0                                 
{ endframeid/slotid/portid<S><Length 1-15> }:0/3/63                             
{ clip-reverse-pole-pulse<K>|dial-mode<K>|line-lock<K>|nlp-mode<K>|polarity-reve
rse-mode<K>|reverse-pole-pulse-level<K>|reverse-pole-pulse<K> }:reverse-pole-pul
se enable                                                                       
{ <cr>|clip-reverse-pole-pulse<K>|dial-mode<K>|line-lock<K>|nlp-mode<K>|polarity
-reverse-mode<K>|reverse-pole-pulse-level<K> }:reverse-pole-pulse-level         
{ level-value<U><20,1270> }:1000 polarity-reverse-mode                          
{ polarity-mode<E><hard-polarity-reverse,soft-polarity-reverse> }:soft-polarity-
reverse                                                                        
{ <cr>|clip-reverse-pole-pulse<K>|dial-mode<K>|line-lock<K>|nlp-mode<K> }:      
                                                                                
  Command:                                                                     
          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

[ 本帖最后由 cqaspx 于 2010-5-6 16:25 编辑 ]

举报本楼

本帖有 7 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-9-21 14:54 , Processed in 1.145869 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图