Juniper Networks 10.4 Network Router User Manual


 
bd101 {
vlan-id 101;
}
bd200 {
vlan-id 200;
}
bd300 {
vlan-id 300;
}
bd500 {
vlan-id 500;
}
bd600 {
vlan-id 600;
}
}
}
Configuring ERP on AS1
CLI Quick
Configuration
To quickly configure AS1 for ERP, copy the following commands and paste them into the
switch terminal window of AS1:
[edit]
set interfaces ge-2/0/5 unit 0 family bridge interface-mode trunk
set interfaces ge-2/0/5 unit 0 family bridge vlan-id-list 100-1000
set interfaces ge-2/1/1 unit 0 familybridge interface-mode trunk
set interfaces ge-2/1/1 unit 0 familybridge vlan-id-list 100-1000
set protocols protection-group ethernet-ringring-1 east-interface control-channel ge-2/0/5.0
set protocols protection-group ethernet-ringring-1 east-interface control-channel vlan 100
set protocols protection-group ethernet-ringring-1 west-interface control-channelge-2/1/1.0
set protocols protection-group ethernet-ringring-1 west-interface control-channelvlan 100
set protocols protection-group ethernet-ringring-1 data-channel vlan [200, 300]
set protocols protection-group ethernet-ringring-2 east-interface control-channel ge-2/0/5.0
set protocols protection-group ethernet-ringring-2 east-interface control-channel vlan 101
set protocols protection-group ethernet-ringring-2 west-interface control-channelge-2/1/1.0
set protocols protection-group ethernet-ringring-2 west-interface control-channelvlan 101
set protocols protection-group ethernet-ringring-2 data-channel vlan [500, 600]
set bridge-domains bd100 vlan-id100
set bridge-domains bd101 vlan-id101
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 AS1:
Configure the trunk interface ge-2/0/5 to connect CS2 to CS1 and trunk interface
ge-2/1/1 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@as1# set ge-2/0/5 unit 0 family bridge interface-mode trunk
user@as1# set ge-2/0/5 unit 0 family bridge vlan-id-list 100-1000
user@as1# set ge-2/1/1 unit 0 family bridge interface-mode trunk
user@as1# set ge-2/1/1 unit 0 family bridge vlan-id-list 100
2. EnableERP, specifying the control channelsand data channels forring-1 and ring-2:
163Copyright © 2010, Juniper Networks, Inc.
Chapter 13: Ethernet Ring Protection