[Experience]: How to deploy VLAN Trunk Service on HG8245 by using QinQ

Felipe
Felipe  Platinum  (1)
7 years 8 months ago  View: 15780  Reply: 13
1F

Dear All, how are you?


Maybe some of you have asked if it?s possible to deploy VLAN Trunk in the Ethernet port of an ONT. In my experience I could do it using QinQ VLAN tag in the service profile of the HG8245 and works very fine, even more, I deploy one port of these ONTs with three VLANs and works ok.

The only recomendation for this deployment is not to pass more than 5 VLANs in the same ETH port of the ONT.


Below the script and E2E Diagram of the solution:


Script:

ont-srvprofile profile-name ONT_00CL2
  ont-port pots 2 eth 4
  port vlan eth 1 q-in-q 2501 user-vlan 1044 //Where 2501 is S-VLAN and 1044 is C-VLAN
  port vlan eth 1 q-in-q 2502 user-vlan 2044 //Where 2502 is S-VLAN and 2044 is C-VLAN
  port vlan eth 3 q-in-q 2500 user-vlan 46 //Where 2500 is S-VLAN and 46 is C-VLAN

  port vlan eth 4 q-in-q 2503 user-vlan 86 //Where 2503 is S-VLAN and 86 is C-VLAN

  port vlan eth 4 q-in-q 2504 user-vlan 246 //Where 2504 is S-VLAN and 246 is C-VLAN

  port vlan eth 4 q-in-q 2505 user-vlan 1004 //Where 2505 is S-VLAN and 1004 is C-VLAN

  commit

 ont-lineprofile profile-name ONT_00CL2
  tcont 3 dba-profile-id 30
  tcont 4 dba-profile-id 31

  tcont 4 dba-profile-id 32
  gem add 0 eth tcont 3
  gem add 1 eth tcont 4
  gem add 2 eth tcont 4

  gem add 3 eth tcont 5

  gem add 4 eth tcont 5

  gem add 5 eth tcont 5
  gem mapping 0 0 vlan 2500
  gem mapping 1 1 vlan 2501
  gem mapping 2 1 vlan 2502
  gem mapping 3 2 vlan 2503

  gem mapping 4 3 vlan 2504

  gem mapping 5 2 vlan 2505

  commit

ont add 0 14 sn-auth xxxxx omci ont-lineprofile-name ONT_00CL2 ont-srvprofile-name ONT_00CL2 desc 00CL2

service-port 4 vlan 2501 gpon 0/0/0 ont 14 gemport 1 multi-service user-vlan 2501 rx-cttr 6 tx-cttr 6
service-port 5 vlan 2502 gpon 0/0/0 ont 14 gemport 2 multi-service user-vlan 2502 rx-cttr 6 tx-cttr 6
service-port 6 vlan 2500 gpon 0/0/0 ont 14 gemport 0 multi-service user-vlan 2500 rx-cttr 6 tx-cttr 6

service-port 6 vlan 2500 gpon 0/0/0 ont 14 gemport 3 multi-service user-vlan 2500 rx-cttr 6 tx-cttr 6

service-port 6 vlan 2500 gpon 0/0/0 ont 14 gemport 4 multi-service user-vlan 2500 rx-cttr 6 tx-cttr 6

service-port 6 vlan 2500 gpon 0/0/0 ont 14 gemport 5 multi-service user-vlan 2500 rx-cttr 6 tx-cttr 6


Observation: S-VLAN does not need to be created with QinQ attribute in the OLT, the QinQ vlan tag is added and stripped on the ONT side.


E2E Diagram:



Real Time performance of the ETH port 4 of this ONT:



Hope this can be useful for someone!

Best Regards!

Felipe.

Nawab
Nawab  Junior 
6 years 8 months ago
2F

good post, Thanks for sharing

j80015295
j80015295  Jackeroo 
7 years 8 months ago
3F
Woooow awesomeee, I work for PAE outsoucing Huawei Mexico, our customer Iusacell has asked before about this soluction, is really clear your explanation, I will suggest customer this configuration to be test, thank a lot!!!
Neen
Neen  Platinum 
7 years 8 months ago
4F

Good post, i think it is useful to others.

Thank you for sharing, waiting for more posts.

Kevin.wangping
Kevin.wangping  Platinum 
7 years 8 months ago
5F
What a good post! thanks sevillaf, you can always give us surprise
bonner.marshall
bonner.marshall  Silver 
7 years 8 months ago
6F

Thanks for the so detailed example, it helps me a lot//

BTW, what you mentioned " The only recomendation for this deployment is not to pass more than 5 VLANs in the same ETH port of the ONT." , is it a internal limitation ? I mean , is it a hardware limitation ?


Kevin.wangping
Kevin.wangping  Platinum 
7 years 8 months ago
7F

Hi sevillaf, I have two questions,

1. For what scenario should you deploy one port of these ONTs with three different user VLANs  ? 

2. The E2E Diagram  is easy to understand, is it a snap from the U2000 NMS ?


Kevin.wangping
Kevin.wangping  Platinum 
7 years 8 months ago
8F

Quote 5 #

Thanks for the so detailed example, it helps me a lot//

BTW, what you mentioned " The only recomendation for this deployment is not to pass more than 5 VLANs in the same ETH port of the ONT." , is it a internal limitation ? I mean , is it a hardware limitation ?


bonner.marshall Posted on 2014-08-13 16:22


Well, I dont think there is a such hardware limitation for each ONT port, is it means that  customers can usually enjoy no more than five kind of services , so more VLANs are unnecessary ?

Felipe
Felipe  Platinum 
7 years 8 months ago
9F

Quote 6 #

Hi sevillaf, I have two questions,

1. For what scenario should you deploy one port of these ONTs with three different user VLANs  ? 

2. The E2E Diagram  is easy to understand, is it a snap from the U2000 NMS ?


Kevin Posted on 2014-08-13 16:38

Hi Kevin!

Below my answers:

1. It?s because in that port I need to deploy three services that need to be isolated. In other words each user vlan corresponds to one VPN service deployed in a router subif who strip the S-VLAN.

2. Yes my friend it?s a snapshot from U2000. It?s very illustrative this diagram and I use it a lot!


Best Regards!

Felipe
Felipe  Platinum 
7 years 8 months ago
10F

Quote 5 #

Thanks for the so detailed example, it helps me a lot//

BTW, what you mentioned " The only recomendation for this deployment is not to pass more than 5 VLANs in the same ETH port of the ONT." , is it a internal limitation ? I mean , is it a hardware limitation ?


bonner.marshall Posted on 2014-08-13 16:22

Hi my friend! below my answers:

is it a internal limitation ? I mean , is it a hardware limitation ? I don?t think is a hardware limetation, I consider this a best practice only, with more than 5 VLANs in an eth port with a rate of 100Mbps, maybe your BW won?t satisfy the service requirements. Maybe more than 5 vlans is too much.

Hope this can answer your doubt.

Best Regards!

1/2Page