Справочное Руководство для 3com S7906E
1-28
Parameters
all: Enables output of port state transition information for all MSTIs.
instance instance-id: Enables output of port state transition information for the specified MSTI. The
value of instance-id ranges from 0 to 31. The minimum value is 0, representing the CIST.
Description
Use the stp port-log command to enable output of port state transition information for the specified
MSTI or all MSTIs.
Use the undo stp port-log command to disable output of port state transition information for the
specified MSTI or all MSTIs.
By default, this function is enabled.
Examples
# Enable output of port state transition information for MSTI 2.
<Sysname> system-view
[Sysname] stp port-log instance 2
%Aug 16 00:49:41:856 2006 Sysname MSTP/3/PDISC: Instance 2's GigabitEthernet 2/0/1 has been
set to discarding state!
%Aug 16 00:49:41:856 2006 Sysname MSTP/3/PFWD: Instance 2's GigabitEthernet 2/0/2 has been
set to forwarding state!
// The information above shows that in MSTI 2 the state of GigabitEthernet 2/0/1 has changed to
discarding and that of GigabitEthernet 2/0/2 has changed to forwarding.
stp priority
Syntax
stp [ instance instance-id ] priority priority
undo stp [ instance instance-id ] priority
View
System view
Default Level
2: System level
Parameters
instance instance-id: Sets the priority of the device in a particular spanning tree instance. The value of
instance-id ranges from 0 to 31. The minimum value is 0, representing the CIST.
priority: Port priority, in the range of 0 to 61440 in steps of 4096, namely you can set up to 16 priority
values, such as 0, 4096, 8192…, on the device.
Description
Use the stp priority command to set the priority of the device.
Use the undo stp priority command to restore the default device priority.
By default, the device priority is 32768.