Transition Networks MIL-SM2401MAF User Manual

Page of 178
 
                                                                               
 
38
 
stp-path-cost 
[number] 
Interface 
configuration 
mode 
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. 
Use the no form of 
this command to 
return to the default 
value. 
10 Mbps 
  – 100 
 
100 Mbps 
– 10 
Switch (config)# 
interface 
fastEthernet 0/2 
Switch (config-if)# 
stp-path-cost 20 
spanning-tree 
forward-time 
[seconds] 
Global 
configuration 
mode 
Use the 
spanning-tree 
forward-time global 
configuration 
command to set the 
forwarding-time for 
the specified 
spanning-tree 
instances. The 
forwarding time 
determines how 
15 sec. 
Switch (config)# 
spanning-tree 
forward-time 20