通信人家园

标题: 华为MA5680T配置实例  [查看完整版帖子] [打印本页]

时间:  2016-4-19 17:48
作者: yh5300     标题: 华为MA5680T配置实例

1.创建VLAN:
MA5680T(config)#vlan 1001 smart          //业务业务
MA5680T(config)#port vlan 1001 0/19 0    //将创建的VLAN加入上行口
2.配置DBA模板:
MA5680T(config)#dba-profile add profile-id 13 profile-name HG8245 type2 assure 10240  //定义一个DBA模板号,并指定DBA模板名称
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)#commit      //必须commit,否则配置不生效
MA5680T(config-gpon-lineprofile-13)#quit
4.配置业务模板:
MA5680T(config)#ont-srvprofile gpon profile-id 13 profile-name HG8245  //定义一个业务模板
MA5680T(config-gpon-srvprofile-13)#ont-port eth 4 pots 2  //配置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 XXXXXXXXXXXX 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)#ont port native-vlan 0 0 eth 1 vlan 1001  //指定7槽0口对应的onu id 为0的onu的eth 1口的缺省vlan为1001
MA5680T(config-if-gpon-0/7)#quit
6.添加vlan的业务虚端口
MA5680T(config)#service-port  vlan 1001 gpon 0/7/0 ont 0 gemport 1 multi-service user-vlan 1001





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