Stp Compliance - HP FlexNetwork 5130 HI series Command Reference Manual

Layer 2 - lan switching
Table of Contents

Advertisement

Views
System view
Predefined user roles
network-admin
Parameters
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. If you
set the STP, RSTP, or MSTP switched network diameter, do not specify this option.
diameter: Specifies the switched network diameter in the range of 2 to 7.
Usage guidelines
The switched network diameter refers to the maximum number of devices on the path for an edge
device to reach another through the root bridge.
An appropriate setting of hello time, forward delay, and max age can speed up network convergence.
The values of these timers are related to the network size, and you can set the timers by setting the
network diameter. With the network diameter set to 7 (the default), the three timers are also set to
their defaults.
In STP, RSTP, or MSTP mode, each MST region is considered a device, and the configured network
diameter of the switched network takes effect only on the CIST (or the common root bridge).
In PVST mode, the configured network diameter takes effect only on the root bridges of the specified
VLANs.
Examples
# In MSTP mode, set the network diameter of the switched network to 5.
<Sysname> system-view
[Sysname] stp bridge-diameter 5
# In PVST mode, set the network diameter of VLAN 2 in the switched network to 5.
<Sysname> system-view
[Sysname] stp vlan 2 bridge-diameter 5
Related commands
stp timer forward-delay
stp timer hello
stp timer max-age

stp compliance

Use stp compliance to configure the mode that a port uses to recognize and send MSTP BPDUs.
Use undo stp compliance to restore the default.
Syntax
stp compliance { auto | dot1s | legacy }
undo stp compliance
Default
A port automatically recognizes the formats of received MSTP packets and determines the formats
of MSTP packets to be sent based on the recognized formats.
131

Advertisement

Table of Contents
loading

Table of Contents