Alliedware plus command – Allied Telesis AT-S63 User Manual

Page 573

Advertising
background image

AT-S63 Management Software Command Line User’s Guide

Section V: Spanning Tree Protocols

573

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

AlliedWare Plus

Command

Syntax

spanning-tree path-cost

path-cost

spanning-tree priority

priority

spanning-tree edgeport|portfast
spanning-tree link-type point-to-point|shared

Mode

Port Interface mode

Description

This AlliedWare Plus command has the following rules and restrictions:

ˆ

The PATH-COST parameter sets the external path cost of a port.

ˆ

The EDGEPORT and PORTFAST parameters are equivalent and are
used to specify whether or not a port is an edge port of an MSTI.

ˆ

You cannot use this command to set the internal port cost or the
migration check of a port. To set these parameters, use the standard
command or another management interface.

ˆ

When setting a port’s priority, you can use the SPANNING TREE
PRIORITY command in the Port Interface mode if the port has just one
MSTI or if it has multiple MSTIs and you want to assign all of them the
same priority value. However, if you want to assign different priority
values to a port that belongs to more than one MSTI, use the standard
command.

Examples

These commands assign port 2 a port cost of 15 and a port priority of 192
(increment 12):

awplus> enable
awplus# configure terminal
awplus(config)# interface 2
awplus(config-if)# spanning-tree path-cost 15
awplus(config-if)# spanning-tree priority 12

These commands designate port 22 as an edge port:

awplus> enable
awplus# configure terminal
awplus(config)# interface 22
awplus(config-if)# spanning-tree edgeport

Advertising