Stp Port-Log - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Examples
# In MSTP mode, set the priority of port GigabitEthernet 1/0/3 to 16 in MSTI 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] stp instance 2 port priority 16
# In PVST mode, set the priority of port GigabitEthernet 1/0/3 to 16 in VLAN 2.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] stp vlan 2 port priority 16

stp port-log

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.
Syntax
stp port-log { instance { instance-id | all } | vlan vlan-list }
undo stp port-log { instance { instance-id | all } | vlan vlan-list }
View
System view
Default level
2: System level
Parameters
instance instance-id: Specifies an MSTI. The value of instance-id is in the range of 0 to 31, where 0
represents the CIST. To enable or disable output of port state transition information in STP/RSTP mode,
specify instance 0.
all: Specifies all MSTIs.
vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1- 1 0>, where the
vlan-id parameter represents the VLAN ID, in the range of 1 to 4094, and &<1- 1 0> indicates that you can
specify up to 10 VLAN IDs or VLAN ID ranges.
Examples
# In MSTP mode, enable output of port state transition information for MSTI 2.
<Sysname> system-view
[Sysname] stp port-log instance 2
%Aug
16
GigabitEthernet1/0/1 has been set to discarding state!
00:49:41:856
2006
Sysname
MSTP/3/MSTP_DISCARDING:
128
Instance
2's

Advertisement

Table of Contents
loading

Table of Contents