![HP FlexNetwork 5130 HI series Command Reference Manual Download Page 153](http://html.mh-extra.com/html/hp/flexnetwork-5130-hi-series/flexnetwork-5130-hi-series_command-reference-manual_165888153.webp)
145
undo
stp
port-log
{
all
|
instance
instance-list
|
vlan
vlan-id-list
}
Default
This feature is disabled.
Views
System view
Predefined user roles
network-admin
Parameters
all
: Specifies all MSTIs or VLANs.
instance instance-list:
Specifies a space-separated list of up to 10 MSTI items. Each item specifies
an MSTI or a range of MSTIs in the form of
instance-id1
[
to
instance-id2
]. The value for
instance-id2
must be equal to or greater than the value for
instance-id1
. The value range for the
instance-id
argument is 0 to 4094, and the value 0 represents the CIST.
vlan
vlan-id-list
: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a
VLAN or a range of VLANs in the form of
vlan-id1
[
to
vlan-id2
]. The value for
vlan-id2
must be equal
to or greater than the value for
vlan-id1
. The value range for the
vlan-id
argument is 1 to 4094.
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 STP/3/STP_DISCARDING: Instance 2's port
GigabitEthernet1/0/1 has been set to discarding state.
%Aug 16 00:49:41:856 2011 Sysname STP/3/STP_FORWARDING: Instance 2's port
GigabitEthernet1/0/2 has been set to forwarding state.
The output shows that GigabitEthernet 1/0/1 in MSTI 2 transited to the discarding state and
GigabitEthernet 1/0/2 in MSTI 2 transited to the forwarding state.
# In PVST mode, enable outputting port state transition information for VLAN 1 through VLAN 4094.
<Sysname> system-view
[Sysname] stp port-log vlan 1 to 4094
%Aug 16 00:49:41:856 2006 Sysname STP/3/STP_DISCARDING: VLAN 2's GigabitEthernet1/0/1 has
been set to discarding state!
%Aug 16 00:49:41:856 2006 Sysname STP/3/STP_FORWARDING: VLAN 2's GigabitEthernet1/0/2 has
been set to forwarding state.
The output shows that GigabitEthernet 1/0/1 in VLAN 2 transited to the discarding state and
GigabitEthernet 1/0/2 in VLAN 2 transited to the forwarding state.
stp priority
Use
stp priority
to set the priority of the device.
Use
undo stp priority
to restore the default priority.
Syntax
stp
[
instance
instance-list
|
vlan
vlan-id-list
]
priority priority
undo stp
[
instance
instance-list
|
vlan
vlan-id-list
]
priority
Default
The device priority is 32768.
Summary of Contents for FlexNetwork 5130 HI series
Page 302: ...294 ...