Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set spantree portpri
6-34 Spanning Tree Configuration
Parameters
Defaults
If port‐string is not specified, port priority will be displayed for all Spanning Tree ports.
If sid is not specified, port priority will be displayed for Spanning Tree 0.
Mode
Switch command, read‐only.
Example
This example shows how to display the port priority for 
ge
.2.7:
D2(su)->show spantree portpri port ge.2.7
Port ge.2.7 has a Port Priority of 128 on SID 0
set spantree portpri
Use this command to set a port’s Spanning Tree priority. 
Syntax
set spantree portpri port-string priority [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 set the priority of 
ge
.1.3 to 240 on SID 1
D2(su)->set spantree portpri ge.1.3 240 sid 1
port port‐string
(Optional) Specifies the port(s) for which to display Spanning Tree priority. 
For a detailed description of possible port‐string values, refer to 
sid sid
(Optional) Displays port priority for a specific Spanning Tree identifier. 
Valid values are 0 ‐ 4094. If not specified, SID 0 is assumed.
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 
priority
Specifies a number that represents the priority of a link in a Spanning Tree 
bridge. Valid values are from 0 to 240 (in increments of 16) with 0 
indicating high priority.
sid sid
(Optional) Sets port priority for a specific Spanning Tree identifier. Valid 
values are 0 ‐ 4094. If not specified, SID 0 is assumed.