EasyManua.ls Logo

Huawei AR3200 Series - Page 225

Huawei AR3200 Series
275 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
Loading...
l Enable RSTP globally.
l Enable RSTP on all the interfaces except the interfaces connected to terminals.
NOTE
RSTP is not required on the interfaces connected to terminals because these interfaces do not
need to participate in RSTP calculation.
2. Configure RSTP protection functions, for example, configure root protection on a
designated port of a root bridge.
Data Preparation
To complete the configuration, you need the following data.
l Ethernet interface number, as shown in Figure 7-4
l Primary root bridge RouterA and secondary root bridge SwitchA
l Path cost of a port to be blocked (200000 is used in this example)
Procedure
Step 1 Configure basic RSTP functions.
1. Configure the RSTP mode for the devices on the ring network.
# Configure the RSTP mode on RouterA.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] stp mode rstp
# Configure the RSTP mode on SwitchA, SwitchB, SwitchC and SwitchD.
NOTE
l Huawei 2300 Series Switch is used in this example. If other types of switches are used, refer to
the documentation of the switches.
2. Configure primary and secondary root bridges.
# Configure RouterA as the primary root bridge.
[RouterA] stp root primary
# Configure SwitchA as a second root bridge.
3. Set path costs for the interface to be blocked.
NOTE
l The values of path costs depend on path cost calculation methods. This example uses the Huawei
proprietary calculation method and sets the path cost to 200000.
l If the switches are not Huawei 2300 Series, all switches on a network must use the same path
cost calculation method. Refer to STP List of path costs to get standard of other calculation
methods.
# On RouterA, configure the path cost calculation method as the Huawei proprietary
method.
[RouterA] stp pathcost-standard legacy
# On SwitchA, SwitchB, SwitchC and SwitchD, configure the path cost calculation method
as the Huawei proprietary method.
# As shown in Figure 7-4, set the path cost of Eth0/0/4 on SwitchC and SwitchD to 200000.
4. Enable RSTP to eliminate loops.
l Disable RSTP on interfaces connected to PCs.
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN 7 STP/RSTP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
214

Table of Contents

Related product manuals