Huawei Quidway S9300 Configuration Manual page 231

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
[S9300A] interface GigabitEthernet 6/0/2
[S9300A-GigabitEthernet6/0/2] stp root-protection
[S9300A-GigabitEthernet6/0/2] quit
# Enable MSTP.
[S9300A] stp enable
Step 2 Configure S9300B.
# Configure the MST region on S9300B.
[S9300B] stp region-configuration
[S9300B-mst-region] region-name RG2
[S9300B-mst-region] instance 1 vlan 1 to 10
# Activate the configuration of the MST region.
[S9300B-mst-region] check region-configuration
[S9300B-mst-region] active region-configuration
[S9300B-mst-region] quit
# Set the priority of S9300B in MSTI0 to 4096 to ensure that S9300B functions as the CIST
root.
[S9300B] stp instance 0 priority 4096
# Configure S9300B to use Huawei private algorithm to calculate the path cost.
[S9300B] stp pathcost-standard legacy
# Create VLANs 1 to 20.
[S9300B] vlan batch 2 to 20
# Add GE 6/0/1 to the VLANs.
[S9300B] interface GigabitEthernet 6/0/1
[S9300B-GigabitEthernet6/0/1] port link-type trunk
[S9300B-GigabitEthernet6/0/1] port trunk allow-pass vlan 1 to 20
[S9300B-GigabitEthernet6/0/1] quit
# Add GE 6/0/2 to the VLANs.
[S9300B] interface GigabitEthernet 6/0/2
[S9300B-GigabitEthernet6/0/2] port link-type trunk
[S9300B-GigabitEthernet6/0/2] port trunk allow-pass vlan 1 to 20
[S9300B-GigabitEthernet6/0/2] quit
# Enable MSTP.
[S9300B] stp enable
Step 3 Configure S9300C.
# Configure the MST region on S9300C.
[S9300C] stp region-configuration
[S9300C-mst-region] region-name RG1
[S9300C-mst-region] instance 1 vlan 1 to 10
# Activate the configuration of the MST region.
[S9300C-mst-region] check region-configuration
[S9300C-mst-region] active region-configuration
[S9300C-mst-region] quit
# Configure S9300C to use Huawei private algorithm to calculate the path cost.
[S9300C] stp pathcost-standard legacy
Issue 03 (2009-08-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 MSTP Configuration
8-29

Advertisement

Table of Contents
loading

Table of Contents