Description

This article describes the procedure of configuring VLAN retagging/translation for transparent mode chassis cluster. The goal in this example will be to re-tag traffic from vlan444 to vlan555.


Symptoms

The topology:

[host1]---vlan444-trunk---[reth0--SRX-retagging--reth1]----vlan555-trunk----[host2]

Solution

The relevant configuration:

set interfaces reth0 redundant-ether-options redundancy-group 1
set interfaces reth0 unit 0 family bridge interface-mode trunk
set interfaces reth0 unit 0 family bridge vlan-id-list 555
set interfaces reth0 unit 0 family bridge vlan-rewrite translate 444 555

set interfaces reth1 redundant-ether-options redundancy-group 1
set interfaces reth1 unit 0 family bridge interface-mode trunk
set interfaces reth1 unit 0 family bridge vlan-id-list 555

set bridge-domains v555 domain-type bridge
set bridge-domains v555 vlan-id 555

Additional information:

Even though the configuration is applied from the perspective of  translate from 444 to 555 , the retagging occurs in both directions, regardless of the fact that the traffic ingresses from the VLAN 444 trunk (with the VLAN tag for 444) or from the VLAN 555 trunk (with the VLAN tag for 555). Apart from the translate command itself, all other references in the entire configuration is applied from the perspective of only VLAN 555; the translate to vlan-id .