Juniper Networks 10.4 Network Router User Manual


 
To configure the Ethernet interfaces and VLAN tags on all three routers:
1.
Configure the Ethernet interfaces and VLAN tags on Router 1:
[edit]
chassis {
aggregated-devices {
ethernet {
device-count 2; # Number of AE interfaces on router
}
}
}
interfaces ge-2/1/0 {
gigether-options {
802.3ad ae2;
}
}
interfaces ge-2/1/1 {
gigether-options {
802.3ad ae2;
}
}
interfaces ge-2/1/2 {
gigether-options {
802.3ad ae2;
}
}
interfaces ge-2/1/3 {
gigether-options {
802.3ad ae1;
}
}
interfaces ge-2/1/4 {
gigether-options {
802.3ad ae1;
}
}
interfaces ge-2/1/5 {
gigether-options {
802.3ad ae1;
}
}
interfaces ge-2/2/1 {
encapsulation flexible-ethernet-services;
vlan-tagging; # Customer interface uses singly-tagged frames
unit 100 {
encapsulation vlan-bridge;
vlan-id 100;
}
unit 200 {
encapsulation vlan-bridge;
vlan-id 200;
}
}
interfaces ge-2/2/2 {
unit 0 {
25Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Basic Layer 2 Features on MX Series Routers