2. Enable ERP, specifying the control channels and data channels for ring-1 and ring-2:
NOTE: Always configure the east-interface statement first, before
configuring the west-interface statement.
[edit protection-group]
user@as1# set ethernet-ring ring-1 east-interface control-channel ge-2/0/5.0
user@as1# set ethernet-ring ring-1 east-interface control-channel vlan 100
user@as1# set ethernet-ring ring-1 west-interface control-channel ge-2/1/1.0
user@as1# set ethernet-ring ring-1 west-interface control-channel vlan 100
user@as1# set ethernet-ring ring-2 east-interface control-channel ge-2/0/5.
user@as1# set ethernet-ring ring-2 east-interface control-channel vlan 101
user@as1# set ethernet-ring ring-2 west-interface control-channel ge-2/1/1.0
user@as1# set ethernet-ring ring-2 west-interface control-channel vlan 101
user@as1# set ethernet-ring ring-2 data-channel vlan [500, 600]
3. Configure the routing instance, the bridge domains, and the VLAN IDs associated
with each bridge domain:
[edit bridge-domains]
user@as1# set bd100 vlan-id 100
user@as1# set bd101 vlan-id 101
user@as1# set bd200 vlan-id 200
user@as1# set bd300 vlan-id 300
user@as1# set bd500 vlan-id 500
user@as1# set bd600 vlan-id 600
Results Check the results of the configuration:
user@as1> show configuration
interfaces {
ge-2/0/5 {
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list 100-1000
}
}
}
ge-2/1/1 {
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list 100-1000
}
}
}
protocols {
protection-group {
ethernet-ring ring-1 {
east-interface {
control-channel {
ge-2/0/5.0;
vlan 100;
Copyright © 2012, Juniper Networks, Inc.164
Junos OS 12.1 MX Series 3D Universal Edge Routers Solutions Guide