通信人家园

标题: MA5680T GPON 开局  [查看完整版帖子] [打印本页]

时间:  2015-9-26 20:36
作者: tunpline     标题: MA5680T GPON 开局

1、配置管理地址
配置上行vlan和接口
MA5680T(config)#vlan 1000 smart          //管理vlan
MA5680T(config)#vlan 1001 smart          //业务业务
MA5680T(config)#port vlan 1000 0/19 0    //增加上行口
MA5680T(config)#port vlan 1001 0/19 0    //增加上行口
MA5680T(config)#interface giu 0/19       //进入上行口

MA5680T(config)#interface vlanif 1000
MA5680T(config-if-vlanif1000)#ip address 192.168.100.10 255.255.255.0
(其他设置)
同时需要配置对应的onu的管理地址下发功能。
2、配置DBA模板(上行)
MA5680T(config)#dba-profile add profile-id 13 profile-name HG8245 type2 assure 10240  //定义一个DBA模板号,并指定
DBA模板名称

type1
固定带宽
type2
保证带宽
type3
保证带宽+最大带宽
type4
最大带宽
type5
固定带宽+保证带宽+最大带宽

创建流量模版(用于onu下行带宽控制)

MA5680T(config)#traffic table ip index 20 cir 10240 priority 0 priority-policy local-Setting   \\创建10M流量模版

MA5680T(config)#traffic table ip index 21 cir 102400 priority 0 priority-policy local-Setting    \\创建100M流量模版(可根据需要创建其他带宽的流量模版)


3、配置线路模板
步骤3: 配置线路模板
MA5680T(config)#ont-lineprofile gpon profile-id 13 profile-name HG8245   //定义一个ONT线路模板,并指定名称
MA5680T(config-gpon-lineprofile-13)#tcont 1 dba-profile-id 13    //定义一个tcont并与dba模板邦定,缺省情况下,tcont 0和dba模板1绑定,
不需配置。这里指定tcont1和dba模板13邦定
MA5680T(config-gpon-lineprofile-13)#gem add 1 eth tcont 1   //定义一个GEM port 1并邦定tcont 1
MA5680T(config-gpon-lineprofile-13)#gem mapping 1 1 vlan 1001  //设置GEM Port与ONT侧业务映射关系gem mapping gem-index mapping-index vlan vlan-id
MA5680T(config-gpon-lineprofile-13)#gem mapping 1 2 vlan 1002  //可以邦定多个vlan
下面可以邦定多个。
MA5680T(config-gpon-lineprofile-13)#tcont 4 dba-profile-id 13   
MA5680T(config-gpon-lineprofile-13)#gem add 4 eth tcont 4
MA5680T(config-gpon-lineprofile-13)#gem mapping 4 4 vlan 1000
MA5680T(config-gpon-lineprofile-13)#commit      //必须commit,否则配置不生效
MA5680T(config-gpon-lineprofile-13)#quit


4、配置业务模板
步骤4: 配置业务模板
MA5680T(config)#ont-srvprofile gpon profile-id 13 profile-name HG8245  //定义一个业务模板
MA5680T(config-gpon-srvprofile-13)#ont-port eth 4 pots 2  //配置ont端口能力集,指定ont有多少业务端口
MA5680T(config-gpon-srvprofile-13)#port vlan eth 1 1001   //配置ont端口的业务vlan
MA5680T(config-gpon-srvprofile-13)#commit       //必须commit,否则配置不生效
MA5680T(config-gpon-srvprofile-13)#quit



5、配置对应的ont参数
MA5680T(config)#interface gpon 0/7  //进入GPON的下行端口
MA5680T(config-if-gpon-0/7)#port 0 ont-auto-find enable //开启0端口的自动发现猫的序列号功能
MA5680T(config-if-gpon-0/7)#display ont autofind 0 //通过该命令查看自动发现的ONT的SN

MA5680T(config-if-gpon-0/7)#ont add 0 0 sn-auth 32303131AE405A41 omci ont-lineprofile-id 13 ont-srvprofile-id 13 //在此与上面配置的
线路模板和业务模板相关联。

MA5680T(config-if-gpon-0/7)#display ont info 0 all //查看ONT的状态
MA5680T(config-if-gpon-0/7)#quit

6、设置ONT端口的缺省vlan
MA5680T(config)#interface gpon 0/7
MA5680T(config-if-gpon-0/7)#ont port native-vlan 0 0 eth 1 vlan 1001  //指定7槽0口对应的onu id 为0的onu的eth 1口的缺省vlan为1001

7、添加vlan的业务虚端口
MA5680T(config)#service-port  vlan 1001 gpon 0/7/0 ont 0 gemport 1 multi-service user-vlan 1001 rx-cttr 6 tx-cttr 6    //使用默认流量模板6
MA5680T(config)#service-port  vlan 1002 gpon 0/7/0 ont 0 gemport 1 multi-service user-vlan 1002 rx-cttr 6 tx-cttr 6    //使用默认流量模板6

8.. 配置MDU带内网管数据

MA5680T(config)#interface epon 0/1

MA5680T(config-if-epon-0/1)#ont ipconfig \\通过olt远程下发MDU的带内网管数据

{ portid<U><0,3> }:0 { ontid<U><0,63> }:0{ ip-address<K> }:ip-address { ip-address<I><X.X.X.X> }:10.99.20.11 \\给MDU分配的ip地址 { mask<K> }:mask

{ mask<I><X.X.X.X> }:255.255.255.0

{ gateway<K> }:gateway

{ gateway<I><X.X.X.X> }:10.99.20.1 \\网关
{ manage-vlan<K> }:manage-vlan{ managevlan<U><1,4093> }:1000 \\网管vlan






通信人家园 (https://www.txrjy.com/) Powered by C114