User Manual

Table Of Contents
Chapter 6: Command Sets
146 GE-DSH-73/DSH-82 and DSH-82-PoE User Manual
Commands Level Description Example
stp-path-cost
[1~200000000]
I Use the spanning-tree cost
interface configuration
command to set the path
cost for Spanning Tree
Protocol (STP) calculations. In
the event of a loop,
spanning tree considers the
path cost when selecting
an interface to place into the
forwarding state.
switch(config)#interface fastEthernet
2
switch(config-if)#stp-path-cost 20
stp-path-priority
[Port Priority]
I Use the spanning-tree port-
priority interface
configuration command to
configure a port priority that
is used when two switches
tie for position as the root
switch.
switch(config)#interface fastEthernet
2
switch(config-if)#stp-path-priority 128
stp-admin-p2p
[Auto|True|False]
I Admin P2P of STP priority on
this interface.
switch(config)#interface fastEthernet
2
switch(config-if)#stp-admin-p2p Auto
stp-admin-edge
[True|False]
I Admin Edge of STP priority
on this interface.
switch(config)#interface fastEthernet
2
switch(config-if)#stp-admin-edge
True
stp-admin-non-stp
[True|False]
I Admin NonSTP of STP
priority on this interface.
switch(config)#interface fastEthernet
2
switch(config-if)#stp-admin-non-stp
False
show spanning-tree E Displays a summary of the
spanning-tree states.
switch>show spanning-tree
no spanning-tree G Disable spanning-tree. switch(config)#no spanning-tree