Junos OS

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.

Transport additional vlans through a only one vlan link

  • 1.  Transport additional vlans through a only one vlan link

    This message was posted by a user wishing to remain anonymous
    Posted 11-24-2021 14:20
    This message was posted by a user wishing to remain anonymous

    I have the following scenario and I need to transport vlans 10 (trunk) and 20 (access) from Switch 1 to Switch 2.
    But I only can use 9090 vlan for link switch 1 and switch 2. I thought if something like qinq would be possible. How to configure?


    SWITCH 1

    set interfaces xe-0/0/0 description LINK-TO-SW2
    set interfaces xe-0/0/0 mtu 9216
    set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode trunk
    set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members v9090-THS-MANAGE
    
    
    set vlans v9090-THS-MANAGE l3-interface irb.9090
    set vlans v9090-THS-MANAGE vlan-id 9090
    
    set interfaces irb unit 9090 family inet address 192.168.0.1/30
    
    
    
    set interfaces xe-0/0/1 description C1
    set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode trunk
    set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members V10-C1
    
    set vlans V10-C1 vlan-id 10
    
    
    set interfaces xe-0/0/2 description C2
    set interfaces xe-0/0/2 unit 0 family ethernet-switching interface-mode access
    set interfaces xe-0/0/2 unit 0 family ethernet-switching vlan members V20-C2
    
    set vlans V20-C2 vlan-id 20
    ​



    SWITCH 2

    set interfaces xe-0/0/0 description LINK-TO-SW1
    set interfaces xe-0/0/0 mtu 9216
    set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode trunk
    set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members v9090-THS-MANAGE
    
    
    set vlans v9090-THS-MANAGE l3-interface irb.9090
    set vlans v9090-THS-MANAGE vlan-id 9090
    
    set interfaces irb unit 9090 family inet address 192.168.0.2/30
    
    
    
    set interfaces xe-0/0/1 description C1
    set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode trunk
    set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members V10-C1
    
    set vlans V10-C1 vlan-id 10
    
    
    set interfaces xe-0/0/2 description C2
    set interfaces xe-0/0/2 unit 0 family ethernet-switching interface-mode access
    set interfaces xe-0/0/2 unit 0 family ethernet-switching vlan members V20-C2
    
    set vlans V20-C2 vlan-id 20​