Allied Telesis AT-S63 User Manual

Page 482

Advertising
background image

Chapter 27: Multiple Spanning Tree Protocol Commands

482

Section V: Spanning Tree Protocols

Synax 1 Examples

The following command sets the external port cost to 500 for Ports 14 and
23:

set mstp port=14,23 extportcost=500

The following command sets the external port cost to 1,000,000 for Port 4
and designates it as an edge port:

set mstp port=6-8 edgeport=yes

The following command sets the external port cost for Ports 2 and 5 to
Auto, which sets the port cost based on speed:

set mstp port=2-5 extportcost=auto

The following command designates Ports 6 to 8 as point-to-point ports:

set mstp port=6-8 ptp=yes

Syntax 2 Examples

The following command sets the internal port cost to 500 for Ports 7 and
10. If the ports are members of more than one VLAN and the VLANs are
assigned to more than one MSTI, the new internal port cost is assigned to
all of their MSTI assignments:

set mstp port=7,10 intportcost=500

This example illustrates the STPID parameter. This parameter is used
when a port belongs to more than one VLAN and the VLANs are assigned
to different MSTIs. You can use the parameter to specify different priority
and internal port costs on a port for each MSTI assignment. This
command assigns Port 15 in MSTI 2 a priority of 64 (increment 4):

set mstp port=7,10 portpriority=4 stpid=2

The following command sets the internal port cost to 1,000,000 and port
priority to 224 (increment 14) for Port 4:

set mstp port=4 intportcost=1000000 portpriority=14

The following command is similar to the previous example, except it
assumes port 4 is a member of more than one MSTI and you want to
assign the new values to only one of its MSTI assignments, in this case
MSTI 12:

set mstp port=4 intportcost=1000000 portpriority=14 stpid=12

The following command sets the internal port cost for Ports 2 and 5 to
Auto, which sets the port cost based on speed:

set mstp port=2-5 intportcost=auto

Advertising