Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-47
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/3
[Sysname-Ethernet1/0/3] stp instance 2 port priority 16
1.1.41 stp portlog
Syntax
stp
[
instance
instance-id
]
portlog
undo stp
[
instance
instance-id
]
portlog
View
System view
Parameters
instance
instance-id
: Specifies an MSTI ID, ranging from 0 to 16. The value of 0
indicates the CIST.
Description
Use the
stp portlog
command to enable log and trap message output for the ports of a
specified instance.
Use the
undo stp portlog
command to disable this function.
By default, log and trap message output is disabled.
Executing the
stp portlog
command (without using the
instance
instance-id
parameters) will enable log and trap message output for the ports of instance 0.
Examples
# Enable log and trap message output for the ports of instance 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp instance 1 portlog
1.1.42 stp portlog all
Syntax
stp portlog all
undo
stp portlog all
View
System view