
setbridge-domains bd200 vlan-id 200
setbridge-domains bd300 vlan-id 300
setbridge-domains bd500 vlan-id 500
setbridge-domains bd600 vlan-id 600
Step-by-Step
Procedure
Toconfigure ERP on CS2:
Configurethe trunk interface ge-2/0/4to connect CS2 to CS1 and trunk interface
ge-2/0/8to connect CS2 toCS1, and configure the family statement as bridge with
aVLAN ID list of 100 through 1000:
1.
[edit interfaces]
user@cs2# setge-2/0/4unit 0 family bridge interface-mode trunk
user@cs2# setge-2/0/4unit 0 family bridge vlan-id-list 100-1000
user@cs2# setge-2/0/8 unit 0 familybridge interface-mode trunk
user@cs2# setge-2/0/8 unit 0 familybridge vlan-id-list 100–1000
2. EnableERP,specifying the control channels and data channels for ring-1 and ring-2,
andconfigure ring-2 as the ring protection link owner:
NOTE: Alwaysconfigurethe east-interface statement first, before
configuringthe west-interface statement.
[edit protection-group]
user@cs2# setethernet-ring ring-1 east-interfacecontrol-channel ge-2/0/4.0
user@cs2# setethernet-ring ring-1 east-interfacecontrol-channel vlan 100
user@cs2# setethernet-ring ring-1 west-interfacecontrol-channel ge-2/0/8.0
user@cs2# setethernet-ring ring-1 west-interfacecontrol-channel vlan 100
user@cs2# setethernet-ring ring-2 data-channel vlan [200, 300]
user@cs2# setethernet-ring ring-2 east-interfacecontrol-channel ge-2/0/4.0
user@cs2# setethernet-ring ring-2 east-interfacecontrol-channel vlan 101
user@cs2# setethernet-ring ring-2 ring-protection-link-owner
user@cs2# setethernet-ring ring-2 west-interfacecontrol-channel ge-2/0/8.0
user@cs2# setethernet-ring ring-2 west-interfacecontrol-channel vlan 101
user@cs2# setethernet-ring ring-2 west-interfacering-protection-link-end
user@cs2# setethernet-ring ring-2 data-channel vlan [500, 600]
3. Configurethe routing instance, the bridge domains, and the VLAN IDs associated
witheach bridge domain:
[edit bridge-domains]
user@cs2# setbd100 vlan-id 100
user@cs2# setbd101 vlan-id 101
user@cs2# setbd200 vlan-id 200
user@cs2# setbd300 vlan-id 300
user@cs2# setbd500 vlan-id 500
user@cs2# setbd600 vlan-id 600
Results Checkthe results of the configuration:
user@cs2>show configuration
interfaces{
ge-2/0/4{
unit0 {
familybridge {
161Copyright© 2010, Juniper Networks,Inc.
Chapter13: Ethernet Ring Protection