EasyManuals Logo
Home>HP>Switch>A5830 Series

HP A5830 Series Command Reference

HP A5830 Series
249 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #135 background imageLoading...
Page #135 background image
128
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-10>, where the
vlan-id parameter represents the VLAN ID, in the range of 1 to 4094, and &<1-10> 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 00:49:41:856 2006 Sysname MSTP/3/MSTP_DISCARDING: Instance 2's
GigabitEthernet1/0/1 has been set to discarding state!

Table of Contents

Other manuals for HP A5830 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP A5830 Series and is the answer not in the manual?

HP A5830 Series Specifications

General IconGeneral
BrandHP
ModelA5830 Series
CategorySwitch
LanguageEnglish

Related product manuals