Today I will show you an example of such settings, through which you can tag Multi-VLANs by trunking the LAN Port of ONU of any brand or any company from your BDCOM OLT.
Many people think that ONU can only tag a single VLAN. Actually, poison is just a misconception. Passing services like Multi-Vlan with an ONU is quite easy. We will know from the very beginning (Uplink Configuration). So let's get started.
UPlink Configuration
Now we are configuring our uplink as G3 Don't forget to save the specified VLANs on uplink ports and EPON ports.
Switch_config# interface gigabitethernet 0/3
Switch_config_g0/3# switchport mode trunk
Switch_config_g0/3# switchport trunk VLAN 100 - 104
Switch_config_g0/3# exit
PON-Port-Configure:
Switch_config# interface epon 0/1
Switch_config_epon0/1# switchport mode trunk
Switch_config_epon0/1# switchport trunk vlan-allowed 100,101,102,103,104
Switch_config_epon0/1# exit
Switch_config#
ONU Tag with single VLAN:
Suppose single port ONU is already connected and registered with OLT (100 VLANs without a tag):
Switch_config# interface epon 0/1:5
switch_config_epon0/1:5#epon onu port 1 ctc vlan mode tag 100 priority 0
switch_config_epon0/1:5#exit
ONU Tag with Multi-VLANs:
And when we need to tag Multi-VLANs in a single ONU then we will follow the below command.
Switch_config# interface epon 0/1:6
When default VLAN we mean 1. So you can keep the default VLAN as Standard if you want. Or you can configure only specific VLANs by trunking. There will be no problem.
switch_config_epon0/1:5#epon onu port 1 ctc vlan mode trunk 1 101,102,103,104