huawei router or device that support L2 and L3 sub-interface on the same physical interface

Created: Oct 20, 2019 21:41:45Latest reply: Oct 28, 2019 17:35:52 173 6 0 0
  Rewarded Hi-coins: 0 (problem resolved)

hello everone , 

kindly i have scenario where i need to have device that support L2 and L3 sub-interface on the same physical interface to work as CE that will be connected to a PE of the customer, it should be xg interface , 
Ex:


i need one interface that i will be able to configure it as below on my CE 


} interface xg 0/0/1.10 

} ip add x.x.x.x 

} dot1q termination vid vlan-id

}q


the same interface should work as l2 in sub-interface mode 
} interface xg 0/0/1.20 

}dot1q termination vid vlan-id 


Note:- 


this interface  will be connected to up-link device PE where we will have the same sub-interface criteria and then we apply bgp for interface xg 0.0.1.10 subinterface . and for layer 2 interface the customer will configure from his PE what known as VRF for layer 3 sub-interface and  VPLS to carry the traffic of the L2 sub-interface and pointed them for specific nodes sepreatly on his MPLS network .


my explaination my be not that good due to language issue but still i wish if some-one can understand what i mean and help me out  
 your always co-operation is really highly appriciated . 


Note :-
if neede i can creat PPT drawing shows the excat scenario we need to apply .


thnx in advance everyone . 

  • x
  • convention:

Featured Answers
ViktorG
Created Oct 21, 2019 05:37:35 Helpful(0) Helpful(0)

Hi there, @Ali_medani !

if you already met the not-typical configuration requests for your network gear - i would suggest you to consider the NE40/NE20 series routers - they support L2/L3 on the same physical interface and can met other non trivial tasks that you can face soon :)

Take care and have a great day!
Viktor.
  • x
  • convention:

Take%20care%20and%20have%20a%20great%20day!%3Cbr%2F%3E%3Cbr%2F%3EViktor
chenhui
Admin Created Oct 21, 2019 03:05:30 Helpful(0) Helpful(0)

@Ali_medani hello,
when binding the interface to the VPLS, the interface should be a layer 3 interface.
In addition,
interface xg 0/0/1.20
dot1q termination vid vlan-id
these configuration doesn't mean the sub-interface is a layer 2 interface. the layer 2 interface only can be enabled on the layer 3 interface, the configuration only indicates the interface can terminate the vlan.
  • x
  • convention:

All Answers
chenhui
chenhui Admin Created Oct 21, 2019 03:05:30 Helpful(0) Helpful(0)

@Ali_medani hello,
when binding the interface to the VPLS, the interface should be a layer 3 interface.
In addition,
interface xg 0/0/1.20
dot1q termination vid vlan-id
these configuration doesn't mean the sub-interface is a layer 2 interface. the layer 2 interface only can be enabled on the layer 3 interface, the configuration only indicates the interface can terminate the vlan.
  • x
  • convention:

Ali_medani
Ali_medani Created Oct 21, 2019 03:52:57 Helpful(0) Helpful(0)

Posted by chenhui at 2019-10-21 03:05 @Ali_medani hello,when binding the interface to the VPLS, the interface should be a layer 3 interfac ...
hello bro morning to you , ok got your point , but any recommendation for a device that have xg interface and support L2 and L3 sub-interface on the same interface .
  • x
  • convention:

ViktorG
ViktorG Created Oct 21, 2019 05:37:35 Helpful(0) Helpful(0)

Hi there, @Ali_medani !

if you already met the not-typical configuration requests for your network gear - i would suggest you to consider the NE40/NE20 series routers - they support L2/L3 on the same physical interface and can met other non trivial tasks that you can face soon :)

Take care and have a great day!
Viktor.
  • x
  • convention:

Take%20care%20and%20have%20a%20great%20day!%3Cbr%2F%3E%3Cbr%2F%3EViktor
LuizPuppin
LuizPuppin MVE Created Oct 21, 2019 13:50:38 Helpful(0) Helpful(0)

@Ali_medani, you can use the interface with "portswitch" command and apply vlan to this interface. The vlan that need L3 you can create "interface vlanif", the vlan that need L2 could be used normally.

vlan batch 10 20

Interface xg0/0/1
portswitch
port link-type trunk
port trunk allow-pass vlan 10 20

int vlan 10
ip add xx.xx.xx.xx
  • x
  • convention:

I%20have%2020%20years%20working%20with%20telecom%20market.%20On%20all%20this%20time%20I%20worked%20always%20in%20great%20projects.%20The%20biggest%20was%20the%202014%20World%20Cup%20Command%20and%20Control%20Centre%2C%20where%20I%20was%20the%20Soluction%20Architect%20and%20Implementation%20Manager%20of%20Network%20and%20security%20Solution.%0AI%20work%20with%20Huawei%20s%20products%20to%20ISP%20Market%20since%202015%20and%20in%202017%20started%20to%20present%20trainnings%20customized%20to%20this%20market%2C%20focused%20in%20BGP%20and%20MPLS%20solution.%20I%20had%20more%20than%20400%20students%20and%20more%20than%20100%20ISP%20on%20my%20classes%20on%20last%2018%20mounths.
LuizPuppin
LuizPuppin MVE Created Oct 21, 2019 13:51:19 Helpful(0) Helpful(0)

When you use sub-interface, the vlan cannot be used in L2 mode.
  • x
  • convention:

I%20have%2020%20years%20working%20with%20telecom%20market.%20On%20all%20this%20time%20I%20worked%20always%20in%20great%20projects.%20The%20biggest%20was%20the%202014%20World%20Cup%20Command%20and%20Control%20Centre%2C%20where%20I%20was%20the%20Soluction%20Architect%20and%20Implementation%20Manager%20of%20Network%20and%20security%20Solution.%0AI%20work%20with%20Huawei%20s%20products%20to%20ISP%20Market%20since%202015%20and%20in%202017%20started%20to%20present%20trainnings%20customized%20to%20this%20market%2C%20focused%20in%20BGP%20and%20MPLS%20solution.%20I%20had%20more%20than%20400%20students%20and%20more%20than%20100%20ISP%20on%20my%20classes%20on%20last%2018%20mounths.
Ali_medani
Ali_medani Created Oct 28, 2019 17:35:52 Helpful(0) Helpful(0)

thnx all for your support , it really means alot to me , the solution was to give vpls on sub-interface ( layer 2 vpn ) again on the same physical interface will be two sub-interfaces with L3 vpn-instance ( VRF ) . we have done L2 VPLS with the help of Vlan-stacking and qinq vlan-translation .
for L3 vpn we used the sub-interfaces on the PE side and down-link ( CE side ) we only use vlanif as point to point connection and then we allow pass for these 3 vlans .

thnx guys
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login