setrouting-instances vs bridge-domains bd300 vlan-id300
setrouting-instances vs bridge-domains bd500 vlan-id500
setrouting-instances vs bridge-domains bd600 vlan-id600
Step-by-Step
Procedure
Toconfigure ERP on CS1:
Configurethe trunk interfacege-3/2/4to connect CS1 to CS2 and the trunk interface
ge-5/2/3to connect CS1 to AS, and configurethe family statement as bridge with
aVLAN ID list of 100 through 1000:
1.
[edit interfaces]
user@cs1# setge-3/2/4vlan-tagging
user@cs1# setge-3/2/4unit 0 family bridge interface-mode trunk
user@cs1# setge-3/2/4unit 0 family bridge vlan-id-list 100-1000
user@cs1# setge-5/2/3 vlan-tagging
user@cs1# setge-5/2/3 unit 0 family bridge interface-modetrunk
user@cs1# setge-5/2/3 unit 0 family bridge vlan-id-list100-1000
2. EnableERP,specifying the control channels and data channels for ring-1 and ring-2,
andconfigure ring-1 as the ring protection link owner:
NOTE: Alwaysconfigurethe east-interface statement first, before
configuringthe west-interface statement.
[edit protection-group]
user@cs1# setethernet-ring ring-1 ring-protection-link-owner
user@cs1# setethernet-ring ring-1 east-interfacecontrol-channel ge-3/2/4.0
user@cs1# setethernet-ring ring-1 east-interfacecontrol-channel vlan 100
user@cs1# setethernet-ring ring-1 east-interfacering-protection-link-end
user@cs1# setethernet-ring ring-1 west-interfacecontrol-channel ge-5/2/3.0
user@cs1# setethernet-ring ring-1 west-interfacecontrol-channel vlan 100
user@cs1# setethernet-ring ring-1 data-channel vlan [200, 300]
user@cs1# setethernet-ring ring-2 east-interfacecontrol-channel ge-3/2/4.0
user@cs1# setethernet-ring ring-2 east-interfacecontrol-channel vlan 101
user@cs1# setethernet-ring ring-2 west-interfacecontrol-channel ge-5/2/3.0
user@cs1# setethernet-ring ring-2 west-interfacecontrol-channel vlan 101
user@cs1# 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 routing-instances]
user@cs1# setvs instance-type virtual-switch
user@cs1# setvs interface ge-3/2/4.0
user@cs1# setvs interface ge-5/2/3.0
user@cs1# setvs bridge-domains bd100 vlan-id 100
user@cs1# setvs bridge-domains bd101 vlan-id 101
user@cs1# setvs bridge-domains bd200 vlan-id 200
user@cs1# setvs bridge-domains bd300 vlan-id 300
user@cs1# setvs bridge-domains bd500 vlan-id 500
user@cs1# setvs bridge-domains bd600 vlan-id 600
Results Checkthe results of the configuration:
user@cs1>show configuration
Copyright© 2010, Juniper Networks,Inc.158
Junos10.4 MX Series Ethernet ServicesRouters Solutions Guide