Juniper Networks 10.4 Network Router User Manual


 
set bridge-domains bd200 vlan-id200
set bridge-domains bd300 vlan-id300
set bridge-domains bd500 vlan-id500
set bridge-domains bd600 vlan-id 600
Step-by-Step
Procedure
To configure ERP on CS2:
Configure the trunk interface ge-2/0/4 to connect CS2 to CS1 and trunk interface
ge-2/0/8 to connect CS2 to CS1, and configure the family statement as bridge with
a VLAN ID list of 100 through 1000:
1.
[edit interfaces]
user@cs2# set ge-2/0/4 unit 0 family bridge interface-mode trunk
user@cs2# set ge-2/0/4 unit 0 family bridge vlan-id-list 100-1000
user@cs2# set ge-2/0/8 unit 0 family bridgeinterface-mode trunk
user@cs2# set ge-2/0/8 unit 0 family bridgevlan-id-list 100–1000
2. EnableERP, specifying the control channelsand data channels for ring-1 and ring-2,
and configure ring-2 as the ring protection link owner:
NOTE: Always configure the east-interface statement first, before
configuring the west-interface statement.
[edit protection-group]
user@cs2# set ethernet-ring ring-1 east-interface control-channel ge-2/0/4.0
user@cs2# set ethernet-ring ring-1 east-interface control-channel vlan 100
user@cs2# set ethernet-ring ring-1 west-interface control-channel ge-2/0/8.0
user@cs2# set ethernet-ring ring-1 west-interface control-channel vlan 100
user@cs2# set ethernet-ring ring-2 data-channel vlan [200,300]
user@cs2# set ethernet-ring ring-2 east-interface control-channel ge-2/0/4.0
user@cs2# set ethernet-ring ring-2 east-interface control-channel vlan 101
user@cs2# set ethernet-ring ring-2 ring-protection-link-owner
user@cs2# set ethernet-ring ring-2 west-interface control-channel ge-2/0/8.0
user@cs2# set ethernet-ring ring-2 west-interface control-channel vlan 101
user@cs2# set ethernet-ring ring-2 west-interface ring-protection-link-end
user@cs2# 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@cs2# set bd100 vlan-id 100
user@cs2# set bd101 vlan-id 101
user@cs2# set bd200 vlan-id 200
user@cs2# set bd300 vlan-id 300
user@cs2# set bd500 vlan-id 500
user@cs2# set bd600 vlan-id 600
Results Check the results of the configuration:
user@cs2> show configuration
interfaces {
ge-2/0/4 {
unit 0 {
family bridge {
161Copyright © 2010, Juniper Networks, Inc.
Chapter 13: Ethernet Ring Protection