12
Software Reference
Figure 1-8: Example script for a Single Ring, Two Domain Network - Node 3
Configuring the other (non EPSR) ports is outside the scope of this example.
#
Node 3 (Transit node for Ring_A - Master Node for Ring_B)
# Set the Acceptable Frame Types parameter to admit only VLAN tagged frames.
# For Ring_B
set switch port=3 acc=vlan
set switch port=4 acc=vlan
# For Ring_A
set switch port=1 acc=vlan
set switch port=2 acc=vlan
#Create VLANs
# Ring_B
create vlan=control_ring_B vid=3
create vlan=data_ring_B vid=30
# Ring_A
create vlan=control_ring_A vid=2
create vlan=data_ring_A vid=20
# VLAN Port Configuration
# Ring_B
add vlan=control_ring_B port=3-4 frame=tagged
add vlan=data_ring_B port=3-4 frame=tagged
# Remove the Default VLAN from ports 3-4
del vlan=default po=3-4
# Ring_A
add vlan=control_ring_A port=1-2 frame=tagged
add vlan=data_ring_A port=1-2 frame=tagged
# Remove the Default VLAN from ports 1-2
del vlan=default po=1-2
# EPSR Configuration
# create epsr domains
# domain_B
create epsr=domain_B mode=master controlvlan=control_ring_B primaryport=3
add epsr=domain_B datavlan=data_ring_B
enable epsr=domain_B
# domain_A
create epsr=domain_A mode=transit controlvlan=control_ring_A
add epsr=domain_A datavlan=data_ring_A
enable epsr=domain_A