System information

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
56
SWH(config-
remarking-q-
mapping)#
show
Show current settings.
2.6.12 STP command mode
Enter the stp command in Configuration mode. Then, the stp mode shows as follows:
SWH(config)# stp
SWH(config-stp)#
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>
exit Exit from current mode exit
show Show RSTP Settings show
SWH(config-rstp)#
Prompt Command & Parameter Description
sys-prio <sys_prio>
When switches on a segment decide which
switch becomes a root bridge, they exchange
BPDU frames to determine which switch has
the lowest BID. BID mainly contains two parts.
The first part is system priority. Each interface
is associated with a port (number) in the STP
code. By default, every switch’s system
priority is 32768. You can change the value by
selecting from the pull-down menu but only in
increments of 4096. The Managed Switch with
the lowest priority will be selected as the root
bridge which is the “central” bridge in the
spanning tree. If switches have the same
priority, the other BID component, MAC
address, becomes the deciding factor to
determine the root bridge.
<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-stp-sys)# sys-prio 1
max-age_hop <max_age>
Maximum age is the length of time that a port
saves BPDU configuration information. By
default, the max-age_hop value is set to 20
seconds.
<max_age_hop>: 6~200
For example:
SWH(config-stp-sys)# max-age_hop 20
SWH(config-stp-
sys)#
hello-time <hello_time>
Periodically, a hello packet is sent out to all
ports that are not in blocking mode to
communicate information about the topology
throughout the entire Bridged Local Area
Network. The default hello time is 2 seconds