Configuring VLAN Retagging
Configuring VLAN retagging on a Layer 2 trunk interface requires a one-to-one mapping of the incoming and internal VLAN identifiers.
Before You Begin |
|---|
For background information, read: |
In the following example, a Layer 2 trunk interface is configured to receive packets with VLAN identifiers 1 through 10. Packets that arrive on the interface with VLAN identifier 11 are retagged with VLAN identifier 2. Before exiting the trunk interface, VLAN identifier 2 in the retagged packets is replaced with VLAN identifier 11.
You can use either J-Web or the CLI configuration editor to configure VLAN retagging.
This topic covers:
J-Web Configuration
To create a Layer 2 trunk interface:
- Select Configure>CLI Tools>Point and Click CLI.
- Next to Interfaces, click Configure or Edit.
- In the Interface name column, select ge-3/0/0.
- Under Unit, in the Interface unit number column, click 0.
- Next to Family group, select Bridge and then click Configure.
- Next to Interface mode, select trunk.
- Next to Vlan list, select Vlan id list.
- In the Vlan id box, type 1–10.
To configure VLAN retagging:
- Next to Vlan rewrite, click Configure.
- Next to Translate, click Add new entry.
- In the From vlan id box, type 11.
- In the To vlan id box, type 2.
- Click OK to return to the Vlan rewrite page.
- Click OK to return to the Family page.
- Click OK to return to the Unit page.
- Click OK to return to the Interface page.
- Click OK to return to the Interfaces page.
CLI Configuration
To create a Layer 2 trunk interface:
user@host# set interface ge-3/0/0 unit 0 family
bridge interface-mode trunk vlan-id-list 1–10
To configure VLAN retagging:
user@host# set interface xe-9/3/0 unit 0 family
bridge vlan-rewrite translate 11 2
Hide Navigation Pane
Show Navigation Pane
Download
SHA1