HP VPN Firewall Appliances Network Management Configuration Guide

87
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the spanning tree mode.
stp mode { mstp | rstp | stp } The default setting is MSTP mode.
Configuring an MST region
Two or more spanning tree devices belong to the same MST region only if they are configured to have the
same format selector (0 by default, not configurable), MST region name, MST region revision level, and
VLAN-to-instance mapping entries in the MST region, and they are connected via a physical link.
The configuration of MST region-related parameters, especially the VLAN-to-instance mapping table, will
result in a new spanning tree calculation. To reduce the possibility of topology instability, the MST region
configuration takes effect only after you activate it by using the active region-configuration command, or
enable a spanning tree protocol by using the stp enable command if the spanning tree protocol is
disabled.
To configure an MST region:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MST region view.
stp region-configuration N/A
3. Configure the MST region
name.
region-name name
Optional.
The MST region name is the MAC
address by default.
4. Configure the
VLAN-to-instance mapping
table.
instance instance-id vlan vlan-list
Or
vlan-mapping modulo modulo
Optional.
By default, all VLANs are mapped
to the CIST (MSTI 0). For
information about the value range
for the instance-id argument, see
Network Management Command
Reference.
5. Configure the MSTP revision
level of the MST region.
revision-level level
Optional.
The default setting is 0.
6. Display the MST region
configurations that are not
activated yet.
check region-configuration Optional.
7. Activate MST region
configuration manually.
active region-configuration N/A
8. Display the activated
configuration information of
the MST region.
display stp region-configuration [ |
{ begin | exclude | include }
regular-expression ]
Optional.
Available in any view.
Configuring the root bridge or a secondary root bridge
You can have MSTP determine the root bridge of a spanning tree through MSTP calculation, or you can
specify the current device as the root bridge or as a secondary root bridge.