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

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2015-5-28
发表于 2015-7-15 23:17:17 |显示全部楼层
con t
interface gpon-olt_1/3/6
onu 41 type ZTEG-F612 loid STLTDL-3-6-41
!

interface gpon-onu_1/13/4:3
  tcont 2 name tcont2 profile UP-5M
  tcont 3 name voip profile UP-2M         ///  VOIP 语音业务
  gemport 2 unicast tcont 2 dir both
  gemport 3 unicast tcont 3 dir both
  switchport mode hybrid vport 2
  switchport mode hybrid vport 3
  service-port 2 vport 2 user-vlan 1361 vlan 1361 svlan 3390    // 宽带内层vlan 1361 3390宽带外层
  service-port 3 vport 3 user-vlan 100 vlan 2500 svlan 533      //vlan光猫端设置vlan100 转换为olt vlan 2500 语音外层 533 //具体根据局方规划,这里语音是走的双层,如果是单层就更简单,不带内层

pon-onu-mng gpon-onu_1/13/4:3
  service internet type internet gemport 2 vlan 1361         //  宽带内层
  service voip type voip gemport 3 vlan 100                  //语音内层VLAN
  voip protocol h248                                        //  启用VOIP H248协议
  switchport-bind switch_0/1 iphost 2                       //  绑定语音口1     
  vlan-filter-mode iphost 2 tag-filter vid-filter untag-filter transparent
  vlan-filter iphost 2 priority 0 vid 100
  vlan port eth_0/1 mode tag vlan 1361
  vlan port eth_0/2 mode tag vlan 1361
!


=============== //宽带业务开通之后、只需要开通语音==============================
con t
interface gpon-onu_1/13/4:3
  tcont 3 name voip profile UP-2M
  gemport 3 unicast tcont 3 dir both
  switchport mode hybrid vport 3
  service-port 3 vport 3 user-vlan 100 vlan 2502 svlan 533

pon-onu-mng gpon-onu_1/13/4:3
  service voip type voip gemport 3 vlan 100
  voip protocol h248
  switchport-bind switch_0/1 iphost 2
  vlan-filter-mode iphost 2 tag-filter vid-filter untag-filter transparent
  vlan-filter iphost 2 priority 0 vid 100


========================= 开启 ONU WEB远端访问代码==============================
【OLT端】

interface vlan 523   // 语音单层VLAN
  ip address 172.19.212.253 255.255.255.0
!

interface vlan 4050  // ONU远程管理VLAN
  ip address 192.192.161.254 255.255.255.0
!

///然后配置好下面ONU数据  在网管服务器上登录器ONU的管理IP,(也可以是网管的内网登录) 就可以进入了光猫WEB配置界面了
===============================
【ONU】配置-下面只是开通了ONU的语音业务

interface gpon-olt_1/3/6
onu 41 type ZTEG-F612 loid STLTDL-3-6-41
!
interface gpon-onu_1/13/4:3
  tcont 2 name tcont2 profile UP-5M
  gemport 2 unicast tcont 2 dir both queue 1
  switchport mode hybrid vport 2
  service-port 1 vport 2 user-vlan 4050 vlan 4050    //  ONU 4050管理vlan
  service-port 2 vport 2 user-vlan 100 vlan 2500 svlan 533    //  100 光猫端配置,然后在OLT端转化为2500VLAN【这个地方走的】
!

pon-onu-mng gpon-onu_1/13/4:3
  mgmt-ip 192.192.161.2 255.255.255.0 vlan 4050 priority 0 route 0.0.0.0 0.0.0.0 192.192.161.254 host 1     //192.192.161.2 ONU光猫远程管理地址;192.192.161.254 都需要在OLT上先做静态路由
  service internet type internet gemport 2 vlan 4050
  service voip type voip gemport 2 vlan 100
  voip protocol h248
  switchport-bind switch_0/1 iphost 2
  vlan-filter-mode iphost 2 tag-filter vid-filter untag-filter transparent
  vlan-filter iphost 2 priority 0 vid 100
  security-mng 1 state enable mode permit protocol web     /// 打开 ONU远程 web 80端口(默认情况下关闭了80、23远程端口)
!

举报本楼

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

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

GMT+8, 2024-9-24 19:17 , Processed in 0.147980 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图