Huawei Quidway S9300 Configuration Manual page 230

Terabit routing switch
Table of Contents

Advertisement

8 MSTP Configuration
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
Procedure
Step 1 Configure S9300A.
# Configure the MST region on S9300A.
<S9300A> system-view
[S9300A] stp region-configuration
[S9300A-mst-region] region-name RG1
[S9300A-mst-region] instance 1 vlan 1 to 10
# Activate the configuration of the MST region.
[S9300A-mst-region] check region-configuration
[S9300A-mst-region] active region-configuration
[S9300A-mst-region] quit
# Set the priority of S9300A in MSTI0 to 0 to ensure that S9300A functions as the CIST root.
[S9300A] stp instance 0 priority 0
# Set the priority of S9300A in MSTI1 to 1 to ensure that S9300A functions as the regional root
of MSTI1.
[S9300A] stp instance 1 priority 0
# Configure S9300A to use Huawei private algorithm to calculate the path cost.
[S9300A] stp pathcost-standard legacy
# Create VLANs 1 to 20.
[S9300A] vlan batch 2 to 20
# Add GE 6/0/2 to the VLANs.
[S9300A] interface GigabitEthernet 6/0/2
[S9300A-GigabitEthernet6/0/2] port link-type trunk
[S9300A-GigabitEthernet6/0/2] port trunk allow-pass vlan 1 to 20
[S9300A-GigabitEthernet6/0/2] quit
# Add GE 6/0/1 to the VLANs.
[S9300A] interface GigabitEthernet 6/0/1
[S9300A-GigabitEthernet6/0/1] port link-type trunk
[S9300A-GigabitEthernet6/0/1] port trunk allow-pass vlan 1 to 20
[S9300A-GigabitEthernet6/0/1] quit
# Enable root protection on the GE 6/0/1.
[S9300A] interface GigabitEthernet 6/0/1
[S9300A-GigabitEthernet6/0/1] stp root-protection
[S9300A-GigabitEthernet6/0/1] quit
# Enable root protection on the GE 6/0/2.
8-28
Region that S9300A and S9300C belong to: RG1
Region that S9300B and S9300D belong to: RG2
Numbers of the GE interfaces, as shown in
VLAN IDs: 1-20
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
Figure 8-7
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents