Show spantree adminpathcost, Set spantree adminpathcost – Enterasys Networks D-Series User Manual
Page 255
show spantree adminpathcost
Enterasys D-Series CLI Reference
8-37
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
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 fe.3.4 on SID 1:
D2(su)->show spantree adminpathcost port
fe
.3.4 sid 1
Port
fe
.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
Defaults
If sid is not specified, admin path cost will be set for Spanning Tree 0.
Mode
Switch command, read‐write.
port port‐string
(Optional) Displays the admin path cost value for specific port(s). For a
detailed description of possible port‐string values, refer to “
sid sid
(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.
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 “
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.