Allied Telesis RAPIER I User Manual
Page 212

14
Software Reference
Figure 1-10: Example script for a combined EPSR STP network - Master Node 1
Figure 1-11: Example script for a combined EPSR STP network - Transit Node 3
# EPSR configuration with spanning tree lobe
# For the Master Node (Node 1)
# Set the Acceptable Frame Types parameter to admit only VLAN tagged frames on
# ports 1 and 2.
set switch port=1 acc=vlan
set switch port=2 acc=vlan
# Create VLANs
create vlan=control_ring vid=2
create vlan=data_ring vid=200
# VLAN Port Configuration
add vlan=control_ring port=1-2 frame=tagged
add vlan=data_ring port=1-2 frame=tagged
# Remove the Default VLAN from ports 1-2
del vlan=default po=1-2
# EPSR Configuration
create epsr=domain_one mode=master controlvlan=control_ring primaryport=1
add epsr=domain_one datavlan=data_ring
enable epsr=domain_one
# For Transit Node 3
# Set the Acceptable Frame Types parameter to admit only VLAN tagged frames on
# ports 1 and 2.
set switch port=1 acc=vlan
set switch port=2 acc=vlan
# Create VLANs
create vlan=control_ring vid=2
create vlan=data_ring vid=100
# VLAN Port Configuration
add vlan=control_ring port=1-2 frame=tagged
add vlan=data_ring port=1-2 frame=tagged
# Remove the Default VLAN from ports 1-2
del vlan=default po=1-2
# Enable the default STP instance
ena stp=default
# Disable the default STP instance on the ring ports 1 and 2, so that STP never
# blocks them.
dis stp=default po=1,2
# EPSR Configuration
create epsr=domain_one mode=transit controlvlan=control_ring
add epsr=domain_one datavlan=data_ring
enable epsr=domain_one