Description

Customer want to swap the vlan being used to interface CE with another vlan inside vpls instance.

Symptoms

Customer Was testing below config for the swap operation at ACX

 

set interfaces et-0/0/12 unit 3390 encapsulation vlan-bridge

set interfaces et-0/0/12 unit 3390 vlan-id 3390

set interfaces et-0/0/12 unit 3390 input-vlan-map push

set interfaces et-0/0/12 unit 3390 input-vlan-map vlan-id 3390

set interfaces et-0/0/12 unit 3390 output-vlan-map pop

 

set routing-instances Dot1q-test-3233 instance-type virtual-switch

set routing-instances Dot1q-test-3233 protocols vpls neighbor a.b.c.d

set routing-instances Dot1q-test-3233 protocols vpls service-type single

set routing-instances Dot1q-test-3233 protocols vpls encapsulation-type ethernet-vlan

set routing-instances Dot1q-test-3233 protocols vpls no-tunnel-services

set routing-instances Dot1q-test-3233 protocols vpls vpls-id 3233

set routing-instances Dot1q-test-3233 vlans VLAN3233 vlan-id 3233

set routing-instances Dot1q-test-3233 vlans VLAN3233 interface et-0/0/12.3233

Solution

We changed the config wrt the ACX & it started working fine.

 

Topology:

Ixia (vl3233) <-> EX1 (vl3233) <-> ACX1 <-> ACX2 <-> EX (vl3390) <-> Ixia (vl3390)

 

Working Config:

set interfaces et-0/0/26 flexible-vlan-tagging

set interfaces et-0/0/26 encapsulation flexible-ethernet-services

set interfaces et-0/0/26 unit 3390 encapsulation vlan-bridge

set interfaces et-0/0/26 unit 3390 vlan-id 3390

|

set routing-instances Dot1q-test-3233 instance-type virtual-switch

set routing-instances Dot1q-test-3233 protocols vpls neighbor 10.9.1.250

set routing-instances Dot1q-test-3233 protocols vpls service-type single

set routing-instances Dot1q-test-3233 protocols vpls encapsulation-type ethernet-vlan

set routing-instances Dot1q-test-3233 protocols vpls no-tunnel-services

set routing-instances Dot1q-test-3233 protocols vpls vpls-id 3233

set routing-instances Dot1q-test-3233 interface et-0/0/26.3233

set routing-instances Dot1q-test-3233 vlans VLAN3233 vlan-id 3233

set routing-instances Dot1q-test-3233 vlans VLAN3233 interface et-0/0/26.3390

 

EX1 MAC:

Ethernet switching table : 2 entries, 2 learned

Routing instance : default-switch

  Vlan        MAC         MAC     Age  Logical        NH    RTR 

  name        address       flags       interface       Index   ID

  vl3233       00:00:00:11:7d:7a  D       -  xe-0/1/1.3233     0     0    

  vl3233       00:00:00:11:7d:7b  D       -  xe-0/1/0.3233     0     0    

 

EX2 MAC:

Ethernet switching table : 2 entries, 2 learned

Routing instance : default-switch

  Vlan        MAC         MAC     Age  GBP   Logical        NH    RTR 

  name        address       flags       Tag   interface       Index   ID

  vl3233       00:00:00:11:7d:7a  D       -      xe-0/1/0.3233     0     0    

  vl3233       00:00:00:11:7d:7b  D       -      xe-0/1/1.3233     0     0  

 

ACX1 MAC:

Ethernet switching table : 2 entries, 2 learned

Routing instance : Dot1q-test-3233

  Vlan        MAC         MAC     Age  GBP   Logical        NH    MAC    RTR

  name        address       flags       Tag   interface       Index   property  ID

  VLAN3233      00:00:00:11:7d:7a  D       -      et-0/0/26.3233     0          0    

  VLAN3233      00:00:00:11:7d:7b  D       -      lsi.1048576      0          0    

 

ACX2 MAC:

Ethernet switching table : 2 entries, 2 learned

Routing instance : Dot1q-test-3233

  Vlan        MAC         MAC     Age  GBP   Logical        NH    MAC    RTR

  name        address       flags       Tag   interface       Index   property  ID

  VLAN3233      00:00:00:11:7d:7a  D       -      lsi.1048576      0          0    

  VLAN3233      00:00:00:11:7d:7b  D       -      et-0/0/26.3233     0          0    

Modification History

2025-01-24 : Article Created