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

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2016-1-3
发表于 2017-11-15 10:16:13 |显示全部楼层
平时HUAWEIONU一个口一个业务vlan,现在大家这边有个公共WiFi项目,对接市里的平台,必须一个onu口透传2个vlan。市里用的中兴OLT很容易实现,我这里的HUAWEIOLT,翻遍互联网也没找到有效的答案。
         业务vlan 3100,管理vlan 250. 现把尝试过的代码贴出来,求论坛大神给看看,哪里不对。


[vlan-config]
  <vlan-config>
vlan 250 smart
vlan 3100 smart
port vlan 250 0/19 0
port vlan 3100 0/19 0

dba-profile add profile-id 12 profile-name "dba-profile_12" type3 assure 2048  max 204800

ont-srvprofile gpon profile-id 6 profile-name "WiFi"
  ont-port eth 4
  port vlan eth 1 transparent
  port vlan eth 2 transparent
  port vlan eth 3 transparent
  port vlan eth 4 transparent
  commit

ont-lineprofile gpon profile-id 6 profile-name "WiFi"
  tr069-management ip-index 0
  tcont 0 dba-profile-id 12
  tcont 1 dba-profile-id 12
  gem add 1 eth tcont 1
  gem add 2 eth tcont 0
  gem mapping 1 1 vlan 3100 transparent enable
  gem mapping 2 1 vlan 250 transparent enable
  commit
  quit

MA5680T(config-if-gpon-0/1)# ont add 0 98 sn-auth "485754438DD9D99A" omci ont-lineprofile-id 6 ont-srvprofile-id 6

MA5680T(config)#service-port  vlan 3100 gpon 0/1/0 ont 98 gemport 1 multi-service user-vlan 3100 tag-transform transparent inbound traffic-table index 6 outbound
traffic-table index 6

MA5680T(config)#service-port  vlan 250 gpon 0/1/0 ont 98 gemport 2 multi-service user-vlan 250 tag-transform transparent inbound traffic-table index 6 outbound traffic-table index 6


设置完成后,PC设置固定IP 后ping OLT上这两个vlan的网关不通。用单口单vlan的方法是可以通的。
设置 MA5680T(config-if-gpon-0/1)#ont port vlan 0 98 eth 1 transparent 时,提示模板中已经有了此设置,所以在此并未做该项配置。

论坛大神有对HUAWEIONU单口多vlan透传了解的吗?在此请教

亚星游戏官网-yaxin222





举报本楼

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

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

GMT+8, 2024-9-23 03:31 , Processed in 0.097156 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图