show spantree adminpathcost
Use this command to display the admin path cost for a port on one or more Spanning Trees.
Syntax
show spantree adminpathcost [port port-string] [sid sid]
Parameters
port port‐string
sid sid
Defaults
If port‐string is not specified, admin path cost for all Spanning Tree ports will be displayed.
If sid is not specified, admin path cost for Spanning Tree 0 will be displayed.
Mode
Switch command, read‐only.
Example
This example shows how to display the admin path cost for ge.3.4 on SID 1:
C2(su)->show spantree adminpathcost port
ge.
Port
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.
(Optional) Displays the admin path cost value for specific port(s). For a
detailed description of possible port‐string values, refer to "Port String
Syntax Used in the CLI" on page 7‐2.
(Optional) Displays 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 has a Port Admin Path Cost of 0 on SID 1
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 7‐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.
ge.
3.4 sid 1
SecureStack C2 Configuration Guide 9-37
show spantree adminpathcost
Need help?
Do you have a question about the SecureStack C2 C2G170-24 and is the answer not in the manual?
Questions and answers