Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
I'm currently studding for Junos service provider exam. I'm using V-LAB to experiment my reading. In order to teste my knowledge I use topology "BGP - Multi-AS with Dual Route Reflectors" in V-LABs.
I load factory-default configuration and load the attached router configuration. In the topology RR1 and RR2 aren't used as host device from which I'm initiating ping request to each other to test VLAN connectivity.
As a testing purpose only I had setup on each router IRB interface on both VLAN 100 and 200 to validate the each host are properly connected on their respective VLAN on both interface to each switches. So RR1 is able to ping 10.100.111.111 and 10.100.222.222, and RR2 can ping 10.100.222.111 & 10.100.111.222.
IRB interface on VMX1 can't ping IRB on VM2. same as for RR2 can ping RR1 on either interface and can only ping one of IRB interface on each VMX even if they have interface on vlan vlan ID (I know from routing perspective my setup is actualy making no sense... but I'm only troubleshooting trunk interface ge-0/0/0 between vMX1 & 2 actually)
from the beginning I was setting it up as an enterprise style usigng
on either side VMX1 & 2
interface ge-0/0/0 vlan-tagginginterface ge-0/0/0 unit 0 family bridge interface-mode trunkinterface ge-0/0/0 unit 0 family bridge vlan-id-list 100interface ge-0/0/0 unit 0 family bridge vlan-id-list 200set bridge-domains vlan-100 vlan-id 100set bridge-domains vlan-200 vlan-id 200
since it was't working as expected, I setup the flexible style in V2 of the configuration and modify the configuration this way :
set interfaces ge-0/0/0 flexible-vlan-taggingset interfaces ge-0/0/0 encapsulation flexible-ethernet-servicesset interfaces ge-0/0/0 unit 100 encapsulation vlan-bridgeset interfaces ge-0/0/0 unit 100 vlan-id 100set interfaces ge-0/0/0 unit 200 encapsulation vlan-bridgeset interfaces ge-0/0/0 unit 200 vlan-id 200
set bridge-domains vlan-100 domain-type bridgeset bridge-domains vlan-100 vlan-id 100set bridge-domains vlan-100 interface ge-0/0/0.100set bridge-domains vlan-100 routing-interface irb.100set bridge-domains vlan-200 domain-type bridgeset bridge-domains vlan-200 vlan-id 200 set bridge-domains vlan-200 interface ge-0/0/0.200
What is actully missing in my configuration to make my trunk interface working fine in both configuration style.
I had attached a diagram of the topology with IP address on the diagram to explain setup and provide visual of the configuration.
Thank you !
Hi,it's a well known issue for vLAB
Flexible VLAN Tagging on CPE device:
Config on vMX-A5:
set interfaces ge-0/0/0 flexible-vlan-tagging
set interfaces ge-0/0/0 gigether-options ethernet-switch-profile tag-protocol-id 0x9100
set interfaces ge-0/0/0 unit 100 vlan-tags outer 0x9100.100
set interfaces ge-0/0/0 unit 200 vlan-tags outer 0x9100.200
set interfaces ge-0/0/0 unit 100 family inet address 192.168.100.10/24
Config on vMX-A4:
set interfaces ge-0/0/0 unit 100 family inet address 192.168.100.20/24
Config on Core:
Config on vMX-A1:
set interfaces ge-0/0/3 gigether-options ethernet-switch-profile tag-protocol-id 0x9100
set interfaces ge-0/0/2 gigether-options ethernet-switch-profile tag-protocol-id 0x9100
set interfaces ge-0/0/3 unit 100 vlan-tags outer 0x9100.100
set interfaces ge-0/0/3 unit 200 vlan-tags outer 0x9100.200
set interfaces ge-0/0/2 unit 100 vlan-tags outer 0x9100.100
set interfaces ge-0/0/2 unit 200 vlan-tags outer 0x9100.200
set interfaces ge-0/0/3 unit 0 family bridge interface-mode trunk
set interfaces ge-0/0/3 unit 0 family bridge vlan-id-list 100-300
set interfaces ge-0/0/2 unit 0 family bridge interface-mode trunk
set interfaces ge-0/0/2 unit 0 family bridge vlan-id-list 100-300
set bridge-domains bridge100 vlan-tags outer 0x9100.100
set bridge-domains bridge200 vlan-tags outer 0x9100.200