show spantree adminpathcost

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” on page 7‐1.

 

 

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

Switch command, read‐only.

Example

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

C3(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

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‐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.

 

 

Defaults

If sid is not specified, admin path cost will be set for Spanning Tree 0.

Mode

Switch command, read‐write.

9-38 Spanning Tree Configuration

Page 308
Image 308
Enterasys Networks 9034313-07 manual Show spantree adminpathcost, Set spantree adminpathcost