Copyright © 2012, Juniper Networks, Inc.
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;
}
}
}
Configure the bridge domain:
2.
[edit]
bridge-domains {
bd1 {
domain-type bridge;
interface ge-1/2/1.1;
interface ge-1/0/2.1;
}
}
Configure the Ethernet protection group:
3.
[edit]
protocols {
protection-group {
ethernet-ring pg102 {
east-interface {
control-channel ge-1/0/2.1;
}
west-interface {
control-channel ge-1/2/1.1;
}
}
}
}
Configure Ethernet OAM:
4.
[edit]
protocols {
oam {
ethernet {
connectivity-fault-management {
action-profile rmep-defaults {
default-action {
interface-down;
}
}
Chapter 13: Ethernet Ring Protection
151