Router 2 configuration – Juniper Networks JUNOS OS 10.4 User Manual
Page 177
Router 2 Configuration
To configure Router 2:
1.
Configure the interfaces:
[edit]
interfaces {
ge-1/0/2 {
vlan-tagging;
encapsulation flexible-ethernet-services;
unit 1 {
encapsulation vlan-bridge;
vlan-id 100;
}
}
ge-1/2/1 {
vlan-tagging;
encapsulation flexible-ethernet-services;
unit 1 {
encapsulation vlan-bridge;
vlan-id 100;
}
}
irb {
unit 0 {
family inet {
address address 192.1.1.22/24;
}
}
}
}
2.
Configure the bridge domain:
[edit]
bridge-domains {
bd1 {
domain-type bridge;
vlan-id 100;
interface ge-1/2/1.1;
interface ge-1/0/2.1;
routing-interface irb.0;
}
}
3.
Configure the Ethernet protection group:
[edit]
protocols {
protection-group {
ethernet-ring pg102 {
node-id 00:22:22:22:22:22;
east-interface {
control-channel ge-1/0/2.1;
}
west-interface {
157
Copyright © 2013, Juniper Networks, Inc.
Chapter 13: Ethernet Ring Protection