ge-1/0/2{
vlan-tagging;
encapsulationflexible-ethernet-services;
unit1 {
encapsulationvlan-bridge;
vlan-id100;
}
}
ge-1/2/1{
vlan-tagging;
encapsulationflexible-ethernet-services;
unit1 {
encapsulationvlan-bridge;
vlan-id100;
}
}
}
2. Configurethe bridge domain:
[edit]
bridge-domains{
bd1{
domain-typebridge;
interfacege-1/2/1.1;
interfacege-1/0/2.1;
}
}
3. Configurethe Ethernet protection group:
[edit]
protocols{
protection-group{
ethernet-ringpg102 {
east-interface{
control-channelge-1/0/2.1;
}
west-interface{
control-channelge-1/2/1.1;
}
}
}
}
4. ConfigureEthernet OAM:
[edit]
protocols{
oam{
ethernet{
connectivity-fault-management{
action-profilermep-defaults {
default-action{
interface-down;
}
}
maintenance-domaind1 {
151Copyright© 2010, Juniper Networks,Inc.
Chapter13: Ethernet Ring Protection