通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2009-7-17
跳转到指定楼层
1#
发表于 2024-5-9 13:21:00 |只看该作者 |倒序浏览

VLAN转发配置
Contents
目的...............................................................................................................................2
范围...............................................................................................................................2
VLAN转发模式............................................................................................................2
Tag模式....................................................................................................................2
Transparent模式.....................................................................................................3
Translate模式..........................................................................................................4
TLSVLAN配置..........................................................................................................5
常见业务场景配置.......................................................................................................6
ONU管理...............................................................................................................6
专线业务................................................................................................................7
PPPOE业务...........................................................................................................8
E8C场景模式........................................................................................................8

7360GPONVLAN转发配置的相关流程,适合的7360FXGPONOLT版本为
及以上版本。
范围
FixedAccess产品的现场工程师配置时参考使用。
VLAN转发模式
.1Tag模式
模式下,上行的untag包都会打上一个vlantag;
VLAN:
LTuntag包cvlan:1000svlan:1000
vlanid1000moderesidential-bridgein-qos-prof-namename:11
bridgeport1/1/3/1/1/1/1vlan-id1000
bridgeport1/1/3/1/1/1/1pvid1000
VLAN:
LTuntag包cvlan:100svlan:1000cvlan:100
vlanidstacked:1000:0moderesidential-bridge
vlanidstacked:1000:100moderesidential-bridgein-qos-prof-namename:11
bridgeport1/1/3/1/1/1/1vlan-id100vlan-scopelocalnetwork-vlanstacked:1000:100
bridgeport1/1/3/1/1/1/1pvid100
.2Transparent模式
UNI口对cvlan-tag、s+cvlan-tag业务不做处理,对于untag的包直接丢弃掉
VLAN:
LTcvlan:1000cvlan:1000svlan:1000
vlanid1000moderesidential-bridgein-qos-prof-namename:11
bridgeport1/1/3/1/1/1/1vlan-id1000
VLAN:
LTcvlan:100cvlan:100svlan:1000cvlan:100
vlanidstacked:1000:0moderesidential-bridge
vlanidstacked:1000:100moderesidential-bridgein-qos-prof-namename:11
bridgeport1/1/3/1/1/1/1vlan-id100vlan-scopelocalnetwork-vlanstacked:1000:100
.3Translate模式
tag的业务流按已配置的转换条目进行处理后让其通过,没有匹配的条目则丢弃;

LTcvlan:100cvlan:1000svlan:1000
id1000moderesidential-bridgein-qos-prof-namename:11
bridgeport1/1/3/1/1/1/1vlan-id100vlan-scopelocalnetwork-vlan1000
VLAN:
LTcvlan:100cvlan:200svlan:1000cvlan:200
vlanidstacked:1000:0moderesidential-bridge
vlanidstacked:1000:200moderesidential-bridgein-qos-prof-namename:11
bridgeport1/1/3/1/1/1/1vlan-id100vlan-scopelocalnetwork-vlanstacked:1000:200
.4TLSVLAN配置
TLSVLAN的CC和RB模式;对于所有的包,打上svlan;
LTuntag包cvlan:1000svlan:1000
:100cvlan:100svlan:1000
:100
vlanidstacked:1000:0modecross-connectin-qos-prof-namename:11
vlanidstacked:1000:0moderesidential-bridgein-qos-prof-namename:11
bridgeport1/1/3/1/1/1vlan-idstacked:1000:0
bridgeport1/1/3/1/1/1pvidstacked:1000:0
bridgeport1/1/3/1/1/1max-unicast-mac128
常见业务场景配置
ONU管理
ONU需要配置管理VLAN以及管理IP,比如7353。对于配置方式,一种类似于7342,
OLT上绑定IP;一种是打开ARP下行广播,不需要绑定IP;以常见的单层VLAN举例,
建议使用方法1
静态绑定
vlanid300moderesidential-bridgein-qos-prof-namename:11
vlanid300secure-forwarding
servicevpls300customer1v-vplsvlan300create
servicevpls300sapnt-a:xfp:1:300create
servicevpls300saplt:1/1/3:300create
servicevpls300noshutdown
qosinterface1/1/3/1/1/1/1upstream-queue0bandwidth-profilename:11
bridgeport1/1/3/1/1/1/1vlan-id300
bridgeport1/1/3/1/1/1/1max-unicast-mac4
bridgeport1/1/3/1/1/1/1pvid300
bridgeport1/1/3/1/1/1/1vlan-id300static-userip-address10.10.10.2/32
打开ARP下行广播,不要绑定
vlanid300moderesidential-bridgein-qos-prof-namename:11
vlanbroadcast-frames//该命令为全局配置,只需要打开一次
vlanid300broadcast-frames
servicevpls300customer1v-vplsvlan300create
servicevpls300sapnt-a:xfp:1:300create
servicevpls300saplt:1/1/3:300create
servicevpls300noshutdown
interface1/1/3/1/1/1/1upstream-queue0bandwidth-profilename:11
bridgeport1/1/3/1/1/1/1vlan-id300
bridgeport1/1/3/1/1/1/1max-unicast-mac4
bridgeport1/1/3/1/1/1/1pvid300
专线业务
IP上网模式,有2种配置方式:一种类似于7342,需要在OLT上绑
IP;一种是打开ARP下行广播,不需要绑定IP;以常见的单层VLAN举例,参考如下:
4
静态绑定
vlanid300moderesidential-bridgein-qos-prof-namename:11
vlanid300secure-forwarding
servicevpls300customer1v-vplsvlan300create
servicevpls300sapnt-a:xfp:1:300create
servicevpls300saplt:1/1/3:300create
servicevpls300noshutdown
qosinterface1/1/3/1/1/1/1upstream-queue0bandwidth-profilename:11
bridgeport1/1/3/1/1/1/1vlan-id300
bridgeport1/1/3/1/1/1/1max-unicast-mac4
bridgeport1/1/3/1/1/1/1pvid300
bridgeport1/1/3/1/1/1/1vlan-id300static-userip-address10.10.10.2/32
打开ARP下行广播,不要绑定
vlanid300moderesidential-bridgein-qos-prof-namename:11
vlanbroadcast-frames//该命令为全局配置,只需要打开一次
vlanid300broadcast-frames
servicevpls300customer1v-vplsvlan300create
servicevpls300sapnt-a:xfp:1:300create
servicevpls300saplt:1/1/3:300create
servicevpls300noshutdown
qosinterface1/1/3/1/1/1/1upstream-queue0bandwidth-profilename:11
bridgeport1/1/3/1/1/1/1vlan-id300
port1/1/3/1/1/1/1max-unicast-mac4
bridgeport1/1/3/1/1/1/1pvid300
PPPOE业务
UNI口相对应的创建一个bridgeport,在该bridgeport配置的相应
VLAN举例,参考如下:
1RB+RB
vlanidstacked:2000:0moderesidential-bridge
vlanidstacked:2000:1001moderesidential-bridgein-qos-prof-namename:11
2L2+CC
vlanidstacked:2000:0modelayer2-terminated
vlanidstacked:2000:1001modecross-connectin-qos-prof-namename:11
servicevpls2000customer1v-vplsvlan2000create
servicevpls2000sapnt-a:xfp:1:2000create
servicevpls2000saplt:1/1/3:2000create
servicevpls2000noshutdown
qosinterface1/1/3/1/1/1/1upstream-queue0bandwidth-profilename:11
bridgeport1/1/3/1/1/1/1vlan-idstacked:2000:1001
bridgeport1/1/3/1/1/1/1max-unicast-mac4
bridgeport1/1/3/1/1/1/1pvid1001
VLANMODE使用RB+RB还是L2+CC请根据现场情况自行选择,建议使用RB+RB

E8C

E8C特殊场景,需配置成VEIP模式
IPTV业务做一个CVLAN转换,参考如下:IPTV:43,CVLAN转
2051;PPPOE:41,CVLAN转换成1051;ITMS:45;VOIP:47

qosprofilesbandwidth100Mexcessive-info-rate100000committed-info-rate0assured-info-rate0
8
VLAN
idstacked:1104:0moderesidential-bridge
vlanidstacked:1104:47moderesidential-bridgein-qos-prof-namenameefault_TC0
vlanidstacked:1104:45moderesidential-bridgein-qos-prof-namenameefault_TC0
vlanidstacked:1104:1051moderesidential-bridgein-qos-prof-namenameefault_TC0
vlanidstacked:1104:2051moderesidential-bridgein-qos-prof-namenameefault_TC0
iHUBVLAN
servicevpls1104customer1v-vplsvlan1104create
servicevpls1104sapnt-a:xfp:1:1104create
servicevpls1104saplt:1/1/1:1104create
servicevpls1104noshutdown
servicevpls1104user-user-com
systemuser-user-hairpin
ONU(noversioncheck,不指定软件)
equipmentontinterface1/1/1/1/1sernumALCL:F8AFFB88desc2arf^sw-ver-planddisabledvoip-
enable
equipmentontinterface1/1/1/1/1admin-stateup
VEIP模式(SLOT号根据具体ONU配置)
equipmentontslot1/1/1/1/1/14planned-card-typeveipplndnumdataports1plndnumvoiceports0
veipont1/1/1/1/1/14/1admin-stateup

qosinterface1/1/1/1/1/14/1upstream-queue0bandwidth-profilename:100Mbandwidth-sharing

MAC数
bridgeport1/1/1/1/1/14/1max-unicast-mac16
VLAN转换
bridgeport1/1/1/1/1/14/1vlan-id47vlan-scopelocalnetwork-vlanstacked:1104:47(VOIP)
bridgeport1/1/1/1/1/14/1vlan-id41vlan-scopelocalnetwork-vlanstacked:1104:1051(PPPOE)
bridgeport1/1/1/1/1/14/1vlan-id45vlan-scopelocalnetwork-vlanstacked:1104:45(ITMS)
bridgeport1/1/1/1/1/14/1vlan-id43vlan-scopelocalnetwork-vlanstacked:1104:2051(IPTV单


、复制点在BRAS,配置方法等同于IPTV单播,无需配置
、复制点在OLT,E8C内需要在"远程管理--->日常应用"里配置跨vlan转换,实现组播vlan到E8C端口2的vlan
里面的IGMP的配置如下
iHUB部分组播VLAN3001,并配置到相应上联端口和LT板卡
servicevpls3001customer1v-vplsvlan3001create
servicevpls3001noshutdown
servicevpls3001saplt:1/1/1:3001create
servicevpls3001sapnt-a:xfp:1:3001create
NT部分组播VLAN3001
vlanid3001moderesidential-bridgein-qos-prof-namenameefault_TC0
IGMP版本为V2
igmpsystemstart
igmpsystemnetw-igmp-version2
igmpsystemuser-igmp-version2
CAC
qoscac-modenocac

mcastchannel239.1.1.1src-ip-addr0.0.0.0vlan-id3001peak-bit-rate10000
channel
igmpchannelvlan:1/1/1/1/1/14/1:43max-num-group10igmp-versionsystem-inherited

offile

举报本楼

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

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

GMT+8, 2024-12-24 00:56 , Processed in 0.250823 second(s), 16 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部