AT-S62 Command Line User’s Guide
427
untagged and tagged ports whose VLANs belong to
more than one MSTI. You can specify more than one
MSTI at a time (e.g., 4,6,11). If the VLANs of a port
belong to just one MSTI, you can omit this parameter.
Description
This command sets a port’s MSTP settings. The command is illustrated in
two syntaxes to represent the two groups of MSTI port parameters. The
first group is referred to as generic parameters. They are set just once on
a port, regardless of the number of MSTIs where a port is a member.
These parameters are the external path cost and edge port and point-to-
point port designations.
The second group can be applied independently on a port on a per-MSTI
basis. There are two parameters in this group — internal path cost and
priority. A port whose VLANs are members of different MSTIs can have
different settings in each MSTI. The MSTI is identified with the STPID
parameter. You can omit the STPID parameter if a port is a member of
one or more VLANs that all belong to the same MSTI, or if you want to
assign the port the same path cost or priority value in all of its MSTI
assignments.
Syntax 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