Juniper Networks 10.4 Network Router User Manual


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