Specifications
Spanning Tree Configuration Command Set
Reviewing and Setting Spanning Tree Port Parameters
SecureStack B2 Configuration Guide 5-37
5.2.2.7 set spantree adminpathcost
Use this command to set the administrative path cost on a port and one or more Spanning Trees.
set spantree adminpathcost port-string cost [sid sid]
Syntax Description
Command Defaults
If sid is not specified, admin path cost will be set for Spanning Tree 0.
Command Mode
Read-Write.
Example
This example shows how to set the admin path cost to 200 for fe.3.2 on SID 1:
port-string Specifies the port(s) on which to set an admin path cost.
For a detailed description of possible port-string values,
refer to Section 3.1.1
.
cost Specifies the port path cost. Va1id values are 0 -
200000000.
sid sid (Optional) Sets the admin path cost for a specific
Spanning Tree identifier. Valid values are 0 - 4094. If not
specified, SID 0 will be assumed.
B2(rw)->set spantree adminpathcost fe.3.2 200 sid 1