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

Network interfaces configuration
Table of Contents

Advertisement

JUNOS 10.1 Network Interfaces Configuration Guide
Swap a VLAN ID on
Ingress
Swap a VLAN ID on
Egress
682
Examples: Stacking and Rewriting Gigabit Ethernet IQ VLAN Tags
}
[edit interfaces]
ge-4/0/0 {
vlan-tagging;
encapsulation vlan-ccc;
gigether-options {
ethernet-switch-profile {
tag-protocol-id 0x9100;
}
}
...
unit 1 {
encapsulation vlan-ccc;
vlan-id 1000;
input-vlan-map {
swap;
tag-protocol-id 0x9100;
vlan-id 2000;
}
}
}
ge-4/2/0 {
vlan-tagging;
encapsulation vlan-ccc;
...
unit 1 {
encapsulation vlan-ccc;
vlan-id 2000;
input-vlan-map {
swap;
tag-protocol-id 0x9100;
vlan-id 1000;
}
}
[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-4/0/0 {
vlan-tagging;
encapsulation vlan-ccc;

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos 10.1

Table of Contents