Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-48
Parameters
None
Description
Use the
stp portlog all
command to enable log and trap message output for the ports
of all instances.
Use the
undo stp portlog all
command to disable this function.
By default, log and trap message output is disabled on the ports of all instances.
Examples
# Enable log and trap message output for the ports of all instances.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp portlog all
1.1.43 stp priority
Syntax
stp
[
instance
instance-id
]
priority priority
undo stp
[
instance
instance-id
]
priority
View
System view
Parameters
instance-id
: MSTI ID ranging from 0 to 16. The value of 0 refers to the CIST.
priority
: Switch priority to be set. This argument ranges from 0 to 61,440 and must be a
multiple of 4,096 (such as 0, 4,096, and 8,192). There are totally 16 available switch
priorities.
Description
Use the
stp priority
command to set the priority of the switch in the specified MSTI.
Use the
undo stp priority
command to restore the switch priority to the default priority
in the specified MSTI.
The default priority of a switch is 32,768.
The priorities of switches are used for spanning tree calculation. Switch priorities are
spanning tree-specific. That is, you can set different priorities for the same switch in
different MSTIs.