博达3616系列OLT河北广电Qinq配置

发布时间:2020-06-17 10:23:19 作者:oriental123
来源:网络 阅读:2414

 

广电常用配置总结

1      Qinq相关配置

1.1    基于内层vlan添加外层标签(静态方式)

以唐山市广电配置为例

policy-map      iptv                 IPTV内层200,外层2001-2100

classify ivlan 200

action vlanIDadd 2001

!

policy-map      ppoe                PPOE内层500-1524,外层2101-2200

classify ivlan 500- 1524

action vlanID add 2101

!

interface EPON0/1                                下行PON口入方向应用policy-map

 switchport mode dot1q-translating-tunnel

 qos policy iptv ingress

 qos policy ppoe ingress

 switchport protected 1

!

interface GigaEthernet0/1

 switchport trunk vlan-allowed 98,2001,2101            上行口透传管理、外层vlan

 switchport mode dot1q-tunnel-uplink

!

dot1q-tunnel                         全局启用qinq功能,创建相应vlan

vlan 1,98,200,500-1524,2001,2101             

!

1.2    基于流量类型添加外层标签(动态方式)

以秦皇岛燕山广电配置为例

!

mac access-list ppoe                                      创建PPOE业务二层ACL

 permit any any 0x8863                                   放行pppoe discoverysession流量

 permit any any 0x8864

!

mac access-list ipoe                                    创建IPTV业务二层ACL

permit any any 0x0800                                  放行IPTV业务IPARP流量

 permit any any arp                                                       

!

policy-map  ppoe1                              创建PPOE  policy-map 1 – 8 PON口)

classify mac ppoe                                                应用PPOE二层ACL

 action vlanID add 2081                                          添加外层vlan

!

policy-map  ppoe2                               创建PPOE policy-map 9 – 16 PON口)                                                                              

 classify mac ppoe                                                                             应用PPOE二层ACL

 action vlanID add 2082                                       添加外层vlan

!

policy-map  91                                创建专线policy-map

 classify ivlan 91                                                     内层91的,保持单层91

 action vlanID 91

!

policy-map  ipoe1                                         创建IPOE policy-map 1 – 8 PON口)

 classify mac ipoe                                                                              应用IPOE二层ACL

 action vlanID add 1081                                                                   添加外层vlan

!

 

policy-map  ipoe2                                  同上(9 – 16 PON口)

 classify mac ipoe                                                                             

 action vlanID add 1082

!

interface  TGigaEthernet0/1                上联口透传vlan(级联OLT需透传下挂外层vlan                                                                              switchport trunk vlan-allowed91,101,1081-1082,1121-1122, 2081-2082,2121-2122

 switchport mode dot1q-tunnel-uplink

!

interface EPON0/1                         透传专线vlan_91qos顺序为ppoe、专线、ipoe

 switchport mode dot1q-translating-tunnel

 switchport dot1q-translating-tunnel mode flattranslate 91 91 0

 qos policy ppoe1 ingress

 qos policy 91 ingress

 qos policy ipoe1 ingress


推荐阅读:
  1. 带你全面了解QinQ
  2. VUE系列之路由配置

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

广电oltqinq 广电 ol

上一篇:Yii 中使用分页

下一篇:golang中的read会发生阻塞吗

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》