SIGNAMAX a.s.
Office: Vlarska 22, 627 00 Brno, CZ
T:+420 533 338 854 l F:+420 533 338 883 l www.signamax.eu
60
2.6.12 RSTP command mode
SWH(config)# rstp
SWH(config-rstp)#
Command
Purpose & Description
Usage
=================== ===========================
=============================
sys Enter Sys Cmd. Mode sys
state Set State state <port_list> <type>
path-cost Set Path Cost path-cost <port_list> <cost>
priority Set Priority priority <port_list> <pri>
edge Set Edge edge <port_list> <type>
p2p Set P2p p2p <port_list> <type>
aggr Enter Aggr Cmd. Mode aggr
exit Exit from current mode exit
show Show RSTP Settings show
SWH(config-rstp)#
Prompt
Command & Parameter
Description
sys-prio <sys_prio>
Each interface is associated with a port
(number) in the STP code. And, each switch
has a relative priority and cost that is used to
decide what the shortest path is to forward a
packet. The lowest cost path is always used
unless the other path is down. If you have
multiple bridges and interfaces then you may
need to adjust the priorities to achieve
optimized performance.
The Managed Switch with the lowest priority
will be selected as the root bridge. The root
bridge is the “central” bridge in the spanning
tree.
<sys_prio>: 0:0 1:4096 2:8192 3:12288
4:16384 5:20480 6:24576 7:28672
8:32768 9:36864 10:40960 11:45056
12:49152 13:53248 14:57344 15:61440
For example:
SWH(config-rstp-sys)# sys-prio 1
max-age <max_age>
Max Age setting of the Managed Switch in a
specific VLAN.
<max_age>: 6~200 Seconds
For example:
SWH(config-rstp-sys)# max-age 20
hello-time <hello_time>
Hello Time setting of the Managed Switch in a
specific VLAN.
<hello_time>: 1~10 Seconds
For example:
SWH(config-rstp-sys)# hello-time 2
SWH(config-rstp-
sys)#
delay <forward_delay>
The Managed Switch’s setting of Forward
Delay Time in a specific VLAN.
<forward_delay>: 4~30 Seconds
For example:
SWH(config-rstp-sys)# delay 15