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

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 2475|回复: 0

HUAWEIMA5680T配置实例 [复制链接]

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2016-3-11
发表于 2016-4-19 17:48:25 |显示全部楼层
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

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

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

GMT+8, 2024-9-24 05:30 , Processed in 0.118333 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图