bd101{
vlan-id101;
}
bd200{
vlan-id200;
}
bd300{
vlan-id300;
}
bd500{
vlan-id500;
}
bd600{
vlan-id600;
}
}
}
ConfiguringERP on AS1
CLIQuick
Configuration
Toquicklyconfigure AS1 for ERP, copythe following commands and paste them into the
switchterminal window of AS1:
[edit]
setinterfaces ge-2/0/5unit 0 family bridge interface-mode trunk
setinterfaces ge-2/0/5unit 0 family bridge vlan-id-list 100-1000
setinterfaces ge-2/1/1 unit 0 family bridge interface-modetrunk
setinterfaces ge-2/1/1 unit 0 family bridge vlan-id-list 100-1000
setprotocols protection-groupethernet-ring ring-1 east-interface control-channel ge-2/0/5.0
setprotocols protection-groupethernet-ring ring-1 east-interface control-channel vlan 100
setprotocols protection-groupethernet-ring ring-1 west-interface control-channel ge-2/1/1.0
setprotocols protection-groupethernet-ring ring-1 west-interface control-channel vlan 100
setprotocols protection-groupethernet-ring ring-1 data-channel vlan [200, 300]
setprotocols protection-groupethernet-ring ring-2 east-interface control-channel ge-2/0/5.0
setprotocols protection-groupethernet-ring ring-2 east-interface control-channel vlan 101
setprotocols protection-groupethernet-ring ring-2 west-interface control-channel ge-2/1/1.0
setprotocols protection-groupethernet-ring ring-2 west-interface control-channel vlan 101
setprotocols protection-groupethernet-ring ring-2 data-channel vlan [500, 600]
setbridge-domains bd100 vlan-id 100
setbridge-domains bd101 vlan-id 101
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 AS1:
Configurethe trunk interface ge-2/0/5to connect CS2 to CS1 and trunk interface
ge-2/1/1 toconnect CS2 to CS1, and configure the family statementas bridge with
aVLAN ID list of 100 through 1000:
1.
[edit interfaces]
user@as1# setge-2/0/5 unit 0 familybridge interface-mode trunk
user@as1# setge-2/0/5 unit 0 familybridge vlan-id-list 100-1000
user@as1# setge-2/1/1 unit 0 family bridge interface-mode trunk
user@as1# setge-2/1/1 unit 0 family bridge vlan-id-list 100
2. EnableERP,specifying the control channels and data channels for ring-1 and ring-2:
163Copyright© 2010, Juniper Networks,Inc.
Chapter13: Ethernet Ring Protection