set spantree adminpathcost
Mode
Switch command, read‐only.
Example
This example shows how to display the admin path cost for
C2(su)->show spantree adminpathcost port ge.3.4 sid 1
Port ge.3.4 has a Port Admin Path Cost of 0 on SID 1
set spantree adminpathcost
Use this command to set the administrative path cost on a port and one or more Spanning Trees.
Syntax
set spantree adminpathcost port-string cost [sid sid]
Parameters
port‐string
cost
sid sid
Defaults
If sid is not specified, admin path cost will be set for Spanning Tree 0.
Mode
Switch command, read‐write.
Example
This example shows how to set the admin path cost to 200 for
C2(su)->set spantree adminpathcost ge.3.2 200 sid 1
clear spantree adminpathcost
Use this command to reset the Spanning Tree default value for port admin path cost to 0.
Syntax
clear spantree adminpathcost port-string [sid sid]
7-36 Spanning Tree Configuration
Specifies the port(s) on which to set an admin path cost. For a detailed
description of possible port‐string values, refer to "Port String Syntax Used
in the CLI" on page 5‐2.
Specifies the port path cost. Va1id values are 0 ‐ 200000000.
(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.
.3.4 on SID 1:
ge
.3.2 on SID 1:
ge
Need help?
Do you have a question about the SecureStack C2 and is the answer not in the manual?
Questions and answers