Boda 3616 Series OLT Hebei Radio and Television Qinq configuration
Summary of common configuration of radio and television
1 Qinq related configuration 1.1 add outer tags based on inner vlan (static mode)
Taking the configuration of Radio and Television in Tangshan as an example
Policy-map iptv IPTV inner layer 200, outer layer 2001-2100
Classify ivlan 200
Action vlanIDadd 2001
!
Policy-map ppoe PPOE inner layer 500-1524, outer layer 2101-2200
Classify ivlan 500-1524
Action vlanID add 2101
!
Interface EPON0/1 Downlink PON Port entry Direction applies policy-map
Switchport mode dot1q-translating-tunnel
Qos policy iptv ingress
Qos policy ppoe ingress
Switchport protected 1
!
Interface GigaEthernet0/1
The uplink pass-through management of switchport trunk vlan-allowed 98 and vlan 2001 and 2101
Switchport mode dot1q-tunnel-uplink
!
Dot1q-tunnel enables the qinq function globally and creates the corresponding vlan
Vlan 1pr 98200500-1524pr 2001 pr 2101
!
1.2 add outer label based on traffic type (dynamic)
Take Yanshan Radio and Television configuration in Qinhuangdao as an example
!
Mac access-list ppoe creates PPOE business layer 2 ACL
Permit any any 0x8863 releases pppoe discovery and session traffic
Permit any any 0x8864
!
Mac access-list ipoe creates IPTV business layer 2 ACL
Permit any any 0x0800 releases IPTV service IP and ARP traffic
Permit any any arp
!
Policy-map ppoe1 creates PPOE policy-map (1-8 PON ports)
Classify mac ppoe Application PPOE layer 2 ACL
Action vlanID add 2081 add outer vlan
!
Policy-map ppoe2 creates PPOE policy-map (9-16 PON ports)
Classify mac ppoe Application PPOE layer 2 ACL
Action vlanID add 2082 add outer vlan
!
Policy-map 91 creates Direct Connect policy-map
Inner layer 91 of classify ivlan 91, keep single layer 91
Action vlanID 91
!
Policy-map ipoe1 creates IPOE policy-map (1-8 PON ports)
Classify mac ipoe Application IPOE layer 2 ACL
Action vlanID add 1081 add outer vlan
!
Policy-map ipoe2 ditto (9-16 PON)
Classify mac ipoe
Action vlanID add 1082
!
Interface TGigaEthernet0/1 through vlan (cascading OLT needs to pass through the outer vlan) switchport trunk vlan-allowed91,101,1081-1082 Magi 1121-1122, 2081-2082 meme 2121-2122
Switchport mode dot1q-tunnel-uplink
!
The order of vlan_91 and qos of interface EPON0/1 transparent Direct Connect is ppoe, Direct Connect and 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