R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

146
When the setting is configured in Layer 2 aggregate interface view, it takes effect on only the aggregate
interface.
When the setting is configured on a member port in an aggregation group, it takes effect only after the
port leaves the aggregation group.
Examples
# In MSTP mode, set the priority of port Ten-GigabitEthernet 1/0/3 to 16 in MSTI 2.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/3
[Sysname-Ten-GigabitEthernet1/0/3] stp instance 2 port priority 16
Related commands
display stp
stp port-log
Use stp port-log to enable outputting port state transition information for the specified MSTI or for all
MSTIs.
Use undo stp port-log to disable outputting port state transition information for the specified MSTI or for
all MSTIs.
Syntax
stp port-log { all | instance instance-list }
undo stp port-log { all | instance instance-list }
Default
This function is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
all: Specifies all MSTIs.
instance instance-list: Specifies the MSTIs by an instance list, in the format of instance-list = { instance-id
[ to instance-id ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 instances or instance
ranges. The value range for the instance-id argument is 0 to 4094, and the value 0 represents the CIST.
Examples
# In MSTP mode, enable outputting port state transition information for MSTI 2.
<Sysname> system-view
[Sysname] stp port-log instance 2
%Aug 16 00:49:41:856 2011 Sysname MSTP/3/MSTP_DISCARDING: Instance 2's port
Ten-GigabitEthernet1/0/1 has been set to discarding state.
%Aug 16 00:49:41:856 2011 Sysname MSTP/3/MSTP_FORWARDING: Instance 2's port
Ten-GigabitEthernet1/0/2 has been set to forwarding state.