EasyManua.ls Logo

Huawei AR530 Series - Page 227

Huawei AR530 Series
408 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...
1. Configure basic STP functions, including:
a. Configure the STP mode for the switching devices on the ring network.
b. Configure primary and secondary root bridges.
c. Set a path cost for the port to be blocked.
d. Enable STP to eliminate loops.
l Enable STP globally.
l Enable STP on all the ports except those connected to terminals.
NOTE
STP is not required on the ports connected to terminals because these ports do not need to
participate in STP calculation. Disable STP on the ports or configure the ports as edge ports.
Procedure
Step 1 Configure basic STP functions.
1. Configure the STP mode for the switching devices on the ring network.
# Configure the STP mode on RouterA. The configurations of SwitchA, SwitchB, SwitchC
and SwitchD are similar to that of RouterA.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] stp mode stp
2. Configure primary and secondary root bridges.
# Configure RouterA as the primary root bridge.
[RouterA] stp root primary
# Configure SwitchA as the secondary root bridge.
[SwitchA] stp root secondary
3. Set a path cost for the port to be blocked.
NOTE
l The path cost value range depends on path cost calculation methods. This example uses the
Huawei proprietary calculation method and sets the path cost to 200000.
l All switching devices on a network must use the same path cost calculation method. To use other
path cost calculation methods, see the list of recommended value ranges for the specific path cost
calculation method.
# On RouterA, set the path cost calculation method to the Huawei proprietary method. The
configurations of SwitchA, SwitchB, SwitchC and SwitchD are similar to that of RouterA.
[RouterA] stp pathcost-standard legacy
# Set the path cost of ethernet0/0/4 on SwitchC and SwitchD to 200000.
[SwitchC] interface ethernet 0/0/4
[SwitchC-Ethernet0/0/4] stp cost 200000
[SwitchC-Ethernet0/0/4] quit
[SwitchD] interface ethernet 0/0/4
[SwitchD-Ethernet0/0/4] stp cost 200000
[SwitchD-Ethernet0/0/4] quit
4. Enable STP to eliminate loops.
l Disable STP on the ports directly connected to PCs.
# Disable STP on Ethernet0/0/2 and Ethernet0/0/3 of SwitchC. The configuration of
SwitchD is similar to that of SwitchC.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
6 STP/RSTP Configuration
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
213

Table of Contents

Other manuals for Huawei AR530 Series

Related product manuals