Huawei Quidway S9300 Configuration Manual page 232

Terabit routing switch
Table of Contents

Advertisement

8 MSTP Configuration
# Enable BPDU protection.
[S9300C] stp bpdu-protection
# Create VLANs 1 to 20.
[S9300C] vlan batch 2 to 20
# Add GE 1/0/2 to the VLANs.
[S9300C] interface GigabitEthernet 1/0/2
[S9300C-GigabitEthernet1/0/2] port link-type trunk
[S9300C-GigabitEthernet1/0/2] port trunk allow-pass vlan 1 to 20
[S9300C-GigabitEthernet1/0/2] quit
# Add GE 2/0/1 to the VLANs.
[S9300C] interface GigabitEthernet 2/0/1
[S9300C-GigabitEthernet2/0/1] port link-type trunk
[S9300C-GigabitEthernet2/0/1] port trunk allow-pass vlan 1 to 20
[S9300C-GigabitEthernet2/0/1] quit
# Configure GE 1/0/1 as an edge port.
[S9300C] interface GigabitEthernet 1/0/1
[S9300C-GigabitEthernet1/0/1] stp edged-port enable
[S9300C-GigabitEthernet1/0/1] port hybrid pvid vlan 20
[S9300C-GigabitEthernet1/0/1] port hybrid untagged vlan 20
[S9300C-GigabitEthernet1/0/1] quit
# Enable MSTP.
[S9300C] stp enable
Step 4 Configure S9300D.
# Configure the MST region on S9300D.
[S9300D] stp region-configuration
[S9300D-mst-region] region-name RG2
[S9300D-mst-region] instance 1 vlan 1 to 10
# Activate the configuration of the MST region.
[S9300D-mst-region] check region-configuration
[S9300D-mst-region] active region-configuration
[S9300D-mst-region] quit
# Set the priority of S9300D in MSTI1 to 0 to ensure that S9300D functions as the regional root
of MSTI1.
[S9300D] stp instance 1 priority 0
# Configure S9300D to use Huawei private algorithm to calculate the path cost.
[S9300D] stp pathcost-standard legacy
# Enable BPDU protection.
[S9300D] stp bpdu-protection
# Create VLANs 1 to 20.
[S9300D] vlan batch 2 to 20
# Add GE 1/0/2 to the VLANs.
[S9300D] interface gigabitEthernet 1/0/2
[S9300D-GigabitEthernet1/0/2] port link-type trunk
8-30
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents