Juniper JUNOS 10.1 - CONFIGURATION GUIDE 1-2010 Configuration Manual page 754

Network interfaces configuration
Table of Contents

Advertisement

JUNOS 10.1 Network Interfaces Configuration Guide
Swap the Outer VLAN
Tag and Push a New
VLAN Tag on Ingress;
Pop the Outer VLAN Tag
and Swap the Inner
VLAN Tag on Egress
Swap a TPID and VLAN
ID Pair for Both VLAN
684
Examples: Stacking and Rewriting Gigabit Ethernet IQ VLAN Tags
}
}
}
ge-4/2/0 {
vlan-tagging;
encapsulation vlan-ccc;
gigether-options {
ethernet-switch-profile {
tag-protocol-id [ 0x8800 0x9100 ];
}
}
unit 1 {
encapsulation vlan-ccc;
vlan-id 2000;
output-vlan-map {
swap;
tag-protocol-id 0x8800;
}
}
}
[edit protocols]
mpls {
...
interface ge-4/0/0.1;
interface ge-4/2/0.1;
}
connections {
...
interface-switch vlan-tag-swap {
interface ge-4/2/0.1;
interface ge-4/0/0.1;
}
}
[edit interfaces]
ge-1/1/0 {
unit 1 {
vlan-id 200;
input-vlan-map {
swap-push;
tag-protocol-id 0x9100;
vlan-id 400;
inner-tag-protocol-id 0x9100;
inner-vlan-id 500;
}
output-vlan-map {
pop-swap;
inner-tag-protocol-id 0x9100;
}
}
}
[edit interfaces]
ge-1/1/0 {

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos 10.1

Table of Contents