Clear spantree portpri, Show spantree adminpathcost – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 227

Advertising
background image

clear spantree portpri

D-Series CLI Reference 6-35

clear spantree portpri

Use this command to reset the bridge priority of a Spanning Tree port to a default value of 128. 

Syntax

clear spantree portpri port-string [sid sid]

Parameters

Defaults

If sid is not specified, port priority will be set for Spanning Tree 0.

Mode

Switch command, read‐write.

Example

This example shows how to reset the priority of 

ge

.1.3 to 128 on SID 1

D2(su)->clear spantree portpri ge.1.3 sid 1

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.

port‐string

Specifies the port(s) for which to set Spanning Tree port priority. For a 
detailed description of possible port‐string values, refer to 

Port String 

Syntax Used in the CLI

” on page 4‐1.

sid sid

(Optional) Resets the port priority for a specific Spanning Tree identifier. 
Valid values are 0 ‐ 4094. If not specified, SID 0 will be assumed.

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

Advertising
This manual is related to the following products: