Allied Telesis AT-9924SP-30 Switch User Manual


 
Page 26 | AlliedWare™ OS How To Note: EPSR
Example 6: EPSR with an iMAP
Example 6: EPSR with an iMAP
This example is the same as "Example
1
: A Basic Ring" on page 11 except that one of the
three switches is an iMAP. We used an AT-TN7
1
00 iMAP running 6.
1
.
1
0. The ring ports on
the iMAP are 5.0 and 5.
1
. The example first shows the configuration script for the iMAP as
the master node, then as the transit node. For the configuration of the other two switches,
see Example
1
.
Configure the AT-TN7
1
00 iMAP as Master Node
The following diagram shows a partial script for the iMAP, with the commands for configuring
it as a EPSR master node and other relevant commands.
ADD IP INTERFACE=MGMT IPADDRESS=172.28.9.3 SUBNETMASK=255.255.255.0
CARD=ACTCFC GATEWAY=172.28.9.1
#
SET SWITCH AGEINGTIMER=300
#
SET SYSTEM PROVMODE=AUTO
SET SYSTEM GATEWAY=172.28.9.1
#
CREATE EPSR=test MASTER HELLOTIME=1 FAILOVERTIME=2 RINGFLAPTIME=0
#
CREATE VLAN=vlan2 VID=2 FORWARDINGMODE=STD
CREATE VLAN=vlan1000 VID=1000 FORWARDINGMODE=STD
#
ADD VLAN=2 INTERFACE=ETH:[5.0-1] FRAME=TAGGED
ADD VLAN=1000 INTERFACE=ETH:[5.0-1] FRAME=TAGGED
#
DELETE VLAN=1 INTERFACE=ETH:[5.0-1]
#
SET INTERFACE=ETH:[5.0-1] ACCEPTABLE=VLAN
#
ADD EPSR=test INTERFACE=ETH:[5.0] TYPE=PRIMARY
ADD EPSR=test INTERFACE=ETH:[5.1] TYPE=SECONDARY
ADD EPSR=test VLAN=1000 TYPE=CONTROL
ADD EPSR=test VLAN=2 TYPE=DATA
#
ENABLE EPSR=test