Configuration example, Configuration procedure, Configuring the mstp time-related parameters – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 191

Advertising
background image

22-22

The bigger the maximum hop count, the larger the MST region is. Note that only the maximum hop
settings on the device operating as a region root can limit the size of the MST region.

Configuration example

# Configure the maximum hop count of the MST region to be 30.

<device> system-view

[device] stp max-hops 30

Configuring the Network Diameter of the Switched Network

In a switched network, any two devices can communicate with each other through a specific path made
up of multiple devices. The network diameter of a network is measured by the number of devices; it
equals the number of the devices on the longest path (that is, the path containing the maximum number
of devices).

Configuration procedure

Follow these steps to configure the network diameter of the switched network:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the network diameter of
the switched network

stp bridge-diameter

bridgenumber

Required
The default network diameter of a
network is 7.

The network diameter parameter indicates the size of a network. The bigger the network diameter is,
the larger the network size is.

After you configure the network diameter of a switched network, an MSTP-enabled device adjusts its
hello time, forward delay, and max age settings accordingly to better values.

The network diameter setting only applies to CIST; it is invalid for MSTIs.

Configuration example

# Configure the network diameter of the switched network to 6.

<device> system-view

[device] stp bridge-diameter 6

Configuring the MSTP Time-related Parameters

Three MSTP time-related parameters exist: forward delay, hello time, and max age. You can configure
the three parameters to control the process of spanning tree calculation.

Configuration procedure

Follow these steps to configure MSTP time-related parameters:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the forward delay
parameter

stp timer forward-delay

centiseconds

Required
The forward delay parameter
defaults to 1,500 centiseconds
(namely, 15 seconds).

Advertising