EasyManua.ls Logo

Huawei quidway s7700 - Page 479

Huawei quidway s7700
648 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...
[SwitchC-GigabitEthernet2/0/1] port trunk allow-pass vlan 1 to 20
[SwitchC-GigabitEthernet2/0/1] quit
# Configure GE 1/0/1 as an edge port.
[SwitchC] interface GigabitEthernet 1/0/1
[SwitchC-GigabitEthernet1/0/1] stp edged-port enable
[SwitchC-GigabitEthernet1/0/1] port hybrid pvid vlan 20
[SwitchC-GigabitEthernet1/0/1] port hybrid untagged vlan 20
[SwitchC-GigabitEthernet1/0/1] quit
# Enable MSTP.
[SwitchC] stp enable
Step 4 Configure SwitchD.
# Configure the MST region on SwitchD.
[SwitchD] stp region-configuration
[SwitchD-mst-region] region-name RG2
[SwitchD-mst-region] instance 1 vlan 1 to 10
# Activate the configuration of the MST region.
[SwitchD-mst-region] active region-configuration
[SwitchD-mst-region] quit
# Set the priority of SwitchD in MSTI1 to 0 to ensure that SwitchD functions as the regional
root of MSTI1.
[SwitchD] stp instance 1 priority 0
# Configure SwitchD to use Huawei private algorithm to calculate the path cost.
[SwitchD] stp pathcost-standard legacy
# Enable BPDU protection.
[SwitchD] stp bpdu-protection
# Create VLANs 2 to 20.
[SwitchD] vlan batch 2 to 20
# Add GE 1/0/2 to the VLANs.
[SwitchD] interface gigabitEthernet 1/0/2
[SwitchD-GigabitEthernet1/0/2] port link-type trunk
[SwitchD-GigabitEthernet1/0/2] port trunk allow-pass vlan 1 to 20
[SwitchD-GigabitEthernet1/0/2] quit
# Add GE 2/0/1 to the VLANs.
[SwitchD] interface GigabitEthernet 2/0/1
[SwitchD-GigabitEthernet2/0/1] port link-type trunk
[SwitchD-GigabitEthernet2/0/1] port trunk allow-pass vlan 1 to 20
[SwitchD-GigabitEthernet2/0/1] quit
# Configure GE 1/0/1 as an edge port.
[SwitchD] interface GigabitEthernet 1/0/1
[SwitchD-GigabitEthernet1/0/1] stp edged-port enable
[SwitchD-GigabitEthernet1/0/1] port hybrid pvid vlan 10
[SwitchD-GigabitEthernet1/0/1] port hybrid untagged vlan 10
[SwitchD-GigabitEthernet1/0/1] quit
# Enable MSTP.
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 9 MSTP Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
462

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals