Stp Port-Log; Stp Priority - HP 5900 series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for 5900 series:
Table of Contents

Advertisement

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
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- 1 0>, where &<1- 1 0> indicates that you can specify up to 10 instances or instance
ranges. The instance-id argument ranges from 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.
The output shows that Ten-GigabitEthernet 1/0/1 in MSTI 2 transitioned to the discarding state and
Ten-GigabitEthernet 1/0/2 in MSTI 2 transitioned to the forwarding state.

stp priority

Use stp priority to set the priority of the device.
124

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series

Table of Contents