Chapter 27: MSTP Commands
428
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