GPON开局 优先级映射 MA5680T+MA5612 V800R008C01 联系客服

发布时间 : 星期日 文章GPON开局 优先级映射 MA5680T+MA5612 V800R008C01更新完毕开始阅读f5f2b156f01dc281e53af036

SOFTX3000 IP 城域网 LLKJJJH 5680T MA5680T MULTICAST SOURCE MA5616-1 ODN

PHONE

PC IPTV终端

数据规划

MA5680T下挂一台MA5612 (8宽带+16语音)

配置项 宽带业务VLAN 数据 外层VLAN ID:1024 内层ADSL:1001~1008 IPTV业务VLAN 外层VLAN ID:2018 内层ADSL:2001~2008 VLAN ID:20 ONU管理IP为172.17.1.100/24 网关:172.17.1.254 VLAN ID:119 ONU语音IP为 10.39.211.3/27 ONU域名: ZZ.MDGKFC.HW.561201 语音网关:10.39.211.1 MGC(软交换)地址 主用MGC 10.39.32.83 备用MGC 10.39.32.231 0/18/0 ONU管理VLAN 语音业务VLAN MA5680T上行口

配置流程图

---------------------------------------------------------------------------------------------------------------------------------------

【公共配置部分】 此部分在OLT上开局配置后就不需要再进行添加和修改,所有ONU公用。 OLT : 开局配置

MA5680T(config)#snmp-agent community read public MA5680T(config)#snmp-agent community write private

MA5680T(config)#snmp-agent target-host trap-hostname hwGpon address 61.187.99.106 udp-port 162 trap-paramsname N2000-GPON

MA5680T(config)#snmp-agent target-host trap-paramsname N2000-GPON v2C securityname N2000-GPON MA5680T(config)#snmp-agent trap enable standard 以下为栗雨工业园MA5680T新开局时配制

MA5680T(config)#interface vlanif 21

MA5680T(config-if-vlanif21)#ip address 172.17.222.253 24 //MA5680T管理IP(OLT开局时配制) MA5680T(config-if-vlanif21)#quit

MA5680T(config)# ip route-static 0.0.0.0 0.0.0.0 172.17.222.254 //加缺省路由

步骤1:添加流量模版和snmp模版

MA5680T(config)# traffic table ip index 9 name iptv cir off priority 5 priority-policy local-setting //IPTV业务流量模版,优先级设置为5

MA5680T(config)# traffic table ip index 10 name voip cir off priority 6 priority-policy local-setting //VOIP业务流量模版,优先级设置为6

OLT上配置业务虚端口 登陆MA5616进行配置 保存 开始 OLT上创建VLAN OLT上配置VLAN上行口 否 有合适的DBA模板和流量模板? 添加DBA模板和流量模板 是 否 是否有合适的ONT线路模板? OLT上添加ONT线路模板 否 是否有合适的ONT业务模板? OLT上添加ONT业务模板 是 添加ONT 结束 MA5680T(config)# snmp-profile add profile-id 1 profile-name GPON-ONU v1 public private 61.187.99.106 162 N2000-GPON //SNMP配置模版,添加ONU时使用

步骤2: 配置DBA 模板

MA5680T(config)# dba-profile add profile-id 10 type3 assure 32768 max 102400 //保证32M 最大100M 步骤3: 配置线路模板

MA5680T(config)#ont-lineprofile gpon profile-id 1:

MA5680T(config-gpon-lineprofile-1)# mapping-mode priority MA5680T(config-gpon-lineprofile-1)#tcont 1 dba-profile-id 10

MA5680T(config-gpon-lineprofile-1)# gem add 0 eth tcont 1 //添加GEM port 0 绑定tcont 1 邦定普通上网 MA5680T(config-gpon-lineprofile-1)# gem add 1 eth tcont 1 //添加GEM port 1 绑定tcont 1 MA5680T(config-gpon-lineprofile-1)# gem add 2 eth tcont 1 //添加GEM port 2 绑定tcont 1 MA5680T(config-gpon-lineprofile-1)# gem add 3 eth tcont 1 //添加GEM port 3 绑定tcont 1

MA5680T(config-gpon-lineprofile-1)# gem add 4 eth tcont 1 //添加GEM port 4 绑定tcont 1

MA5680T(config-gpon-lineprofile-1)# gem add 5 eth tcont 1 //添加GEM port 5 绑定tcont 1 邦定IPVT MA5680T(config-gpon-lineprofile-1)# gem add 6 eth tcont 1 //添加GEM port 6 绑定tcont 1 邦定语音 MA5680T(config-gpon-lineprofile-1)# gem add 7 eth tcont 1 //添加GEM port 7 绑定tcont 1

MA5680T(config-gpon-lineprofile-1)# gem mapping 0 0 priority 0 //添加GEM port 0 的gem mapping 0 为优先级0

MA5680T(config-gpon-lineprofile-1)# gem mapping 1 0 priority 1 //添加GEM port 1 的gem mapping 0 为优先级1

MA5680T(config-gpon-lineprofile-1)# gem mapping 2 0 priority 2 //添加GEM port 2 的gem mapping 0 为优先级2

MA5680T(config-gpon-lineprofile-1)# gem mapping 3 0 priority 3 //添加GEM port 3 的gem mapping 0 为优先级3

MA5680T(config-gpon-lineprofile-1)# gem mapping 4 0 priority 4 //添加GEM port 4 的gem mapping 0 为优先级4

MA5680T(config-gpon-lineprofile-1)# gem mapping 5 0 priority 5 //添加GEM port 5 的gem mapping 0 为优先级5

MA5680T(config-gpon-lineprofile-1)# gem mapping 6 0 priority 6 //添加GEM port 6 的gem mapping 0 为优先级6

MA5680T(config-gpon-lineprofile-1)# gem mapping 7 0 priority 7 //添加GEM port 7 的gem mapping 0 为优先级7

MA5680T(config-gpon-lineprofile-1)# commit //生效模板

【新增onu 配置】

步骤1: 创建VLAN、加入上行端口

MA5680T(config)#vlan 20 smart //ONU网管VLAN

MA5680T(config)#vlan 119 smart //用于承载语音业务

MA5680T(config)#vlan 1024 smart //用于承载宽带业务外层VLAN MA5680T(config)#vlan 2018 smart //用于承载IPTV业务外层VLAN

MA5680T(config)#vlan attrib 1024 q-in-q //设置1024为qinq vlan

MA5680T(config)#vlan attrib 2018 q-in-q /设置2018为qinq vlan

MA5680T(config)#port vlan 20 0/18 0 // 透传网管VLAN从上行口出去 MA5680T(config)#port vlan 119 0/18 0 // 透传语音VLAN从上行口出去 MA5680T(config)#port vlan 1024 0/18 0 // 透传宽带业务外层VLAN从上行口出去 MA5680T(config)#port vlan 2018 0/18 0 // 透传IPTV业务外层VLAN从上行口出去

步骤4 :增加ONT,并设置其管理IP

MA5680T(config)#interface gpon 0/6 进入GPON单板 MA5680T(config-if-gpon-0/6)#port 0 ont-auto-find enable //开启0端口的自动发现ONT功能 MA5680T(config-if-gpon-0/6)#quit //退到全局模式 MA5680T(config)# display ont autofind all

------------------------------------------------------------------------

Number F/ S/ P SN Password ------------------------------------------------------------------------

1 0/ 6/ 0 48575443BC4A4442 ------------------------------------------------------------------------

MA5680T(config)#interface gpon 0/6 // 进入GPON单板

MA5680T(config-if-gpon-0/6)# ont add 0 0 sn-auth \snmp ont-lineprofile-id 4 desc \ //在0/6/0端口添加MA5612,ONTid为0,绑定线路模版4 MA5680T(config-if-gpon-0/6)# ont snmp-profile 0 0 profile-id 1 //绑定snmp 模版1

MA5680T(config-if-gpon-0/6)# ont ipconfig 0 0 static ip-address 172.17.1.100 mask 255.255.255.0 vlan 20 priority 0 gateway 172.17.1.254 // 设置MA5612的管理IP为172.17.1.100 管理VLAN为20 MA5680T(config-if-gpon-0/6)#quit

步骤5 : 添加虚连接 :

MA5680T(config)# service-port vlan 20 gpon 0/6/0 ont 0 gemport 0 multi-service user-vlan 20 rx-cttr 6 tx-cttr 6 //管理VLAN

MA5680T(config)#service-port vlan 119 gpon 0/6/0 ont 0 gemport 6 multi-service user-vlan 119 rx-cttr 10 tx-cttr 10 //语音vlan MA5680T(config)#service-port vlan 1024 gpon 0/6/0 ont 0 gemport 0 multi-service user-vlan other-all rx-cttr 6 tx-cttr 6 //宽带vlan

MA5680T(config)#service-port vlan 2018 gpon 0/6/0 ont 0 gemport 5 multi-service user-vlan other-all rx-cttr 9 tx-cttr 9 //IPTV vlan

以上红色字体对应gem port 就是相应的优先级映射:如下表:

业务 VLAN 优先级 gemport traffic table 上网vlan 1001~1008/1024 pro 0 0 6 IPTVvlan 2001~2008/2018 pro 5 5 9

语音vlan 119 pro 6 6 10 网管vlan 20 pro 0 0 6

步骤6: 登陆MA5612进行配置

MA5680T(config)#telnet 172.17.1.100 >>User name::root

>>User password:mduadmin MA5612 (config)#en

MA5612(config)#config

MA5612(config)#sysname MA5612-1 //改设备名称为MA5612-1 MA5612-1 (config)# vlan 119 smart //创建语音VLAN :119 MA5612-1 (config)# vlan 1001 to 1008 smart //创建宽带业务VLAN MA5612-1 (config)# vlan 2001 to 2008 smart //创建IPTV业务VLAN

MA5612-1 (config)# port vlan 1001 to 1008 0/0 0 //透传vlan1100~1131到上行口 MA5612-1 (config)# port vlan 2001 to 2008 0/0 0 //透传vlan2100~2131到上行口 MA5612-1 (config)#port vlan 119 0/0 0 //透传vlan119到上行口

MA5612-1 (config)# protocol-8021p-pri 6 vlan 119 //设置语音vlan119的优先级为6

MA5612-1 (config)#traffic table ip index 9 name IPTV cir off priority 5 priority- policy local-setting //添加Iptv业务流量模版,优先级设为5。

MA5612-1(config)#service-port vlan 1001 eth 0/4/0 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6 //添加0/4槽宽带业务service-port

........ 一直加到0/4/7 一条条加

MA5612-1(config)#service-port vlan 1008 eth 0/4/7 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6 //添加0/4槽宽带业务service-port

MA5612-1(config)#service-port vlan 2101 eth 0/4/0 multi-service user-vlan 45 rx-cttr 9 tx-cttr 9 //添加0/4槽IPTV业务service-port

..... 一直加到0/4/7 一条条加

MA5612-1(config)#service-port vlan 2108 eth 0/4/7 multi-service user-vlan 45 rx-cttr 9 tx-cttr 9 //添加0/4槽IPTV业务service-port

MA5612-1配置语音业务