}
vlans {
vlan1 {
interface ge-1/2/4.1;
interface ge-1/0/1.1;
}
vlan100 {
interface ge-1/2/4.100;
interface ge-1/0/1.100;
}
}
protocols {
protection-group {
ethernet-ring pg101 {
ring-id 101;
compatibility-version 2;
node-id 00:01:01:00:00:01;
ring-protection-link-owner;
east-interface {
control-channel ge-1/0/1.1;
ring-protection-link-end;
}
west-interface {
control-channel ge-1/2/4.1;
}
data-channel vlan 100;
}
}
}
protocols {
oam {
ethernet {
connectivity-fault-management {
action-profile rmep-defaults {
default-action {
interface-down;
}
}
maintenance-domain d1 {
level 0;
maintenance-association 100 {
mep 1 {
interface ge-1/0/1;
remote-mep 2 {
action-profile rmep-defaults;
}
}
}
}
maintenance-domain d2 {
level 0;
maintenance-association 100 {
mep 1 {
interface ge-1/2/4;
remote-mep 2 {
action-profile rmep-defaults;
}
}
}
121Copyright © 2017, Juniper Networks, Inc.
Chapter 4: Configuring Interfaces and Chassis