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 (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 in the S-, K-, and 7100 Series Configuration Guide.
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.

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

All command modes.

Example

This example shows how to display the admin path cost for ge.3.4 on SID 1:

System(rw)->show spantree adminpathcost port ge.3.4 sid 1
Port ge.3.4 has a Port Admin Path Cost of 0 on SID 1