Huawei stp rstp mstp configuration

1, the topology experiment
Huawei stp rstp mstp configuration
2, stp arranged
SWl
VLAN10 defined VLAN
VLAN20

interface Eth-Trunk1 配置链路聚合
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20
mode lacp-static
max active-linknumber 1

interface GigabitEthernet0 / 0/1 interface is added to the polymerization logical port
Eth-Trunk. 1
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1

stp mode stp open STP
STP instance 0 Primary SWl the root of the spanning tree root node (the root node to select a strong performance general selection switch)

SW2
vlan10 defined vlan
vlan20

interface Eth-Trunk1 配置链路聚合
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20
mode lacp-static
max active-linknumber 1

interface GigabitEthernet0 / 0/1 interface is added to the polymerization logical port
Eth-Trunk. 1
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1

stp mode stp open STP
STP instance as spanning SW2 0 Secondary times the root root node (the root node as a backup)

SW3
vlan10 defined vlan
vlan20

interface Ethernet0 / 0/1 configuration associated access switches aggregation Interface
Port Link Trunk-type
Use the undo Trunk Port VLAN. 1 Pass the allow-
Port VLAN 10 Trunk 20 is the allow-Pass

interface Ethernet0 / 0/2 access switch configuration associated aggregation interfaces
Port Link Trunk-type
Use the undo Trunk Port VLAN. 1 Pass the allow-
Port VLAN 10 Trunk 20 is the allow-Pass

stp mode stp stp open

3, Rstp arranged
SWl
VLAN10 defined VLAN
VLAN20

interface Eth-Trunk1 配置链路聚合
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20
mode lacp-static
max active-linknumber 1

interface GigabitEthernet0 / 0/1 interface is added to the polymerization logical port
Eth-Trunk. 1
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1

stp mode rstp open RSTP
STP instance 0 Primary SWl the root of the spanning tree root node (the root node to select a strong performance general selection switch)

SW2
vlan10 defined vlan
vlan20

interface Eth-Trunk1 配置链路聚合
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20
mode lacp-static
max active-linknumber 1

interface GigabitEthernet0 / 0/1 interface is added to the polymerization logical port
Eth-Trunk. 1
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1

stp mode rstp open RSTP
STP instance 0 Secondary SW2 the root node to generate a backup root

SW3
vlan10 defined vlan
vlan20

interface Ethernet0 / 0/1 configuration associated access switches aggregation Interface
Port Link Trunk-type
Use the undo Trunk Port VLAN. 1 Pass the allow-
Port VLAN 10 Trunk 20 is the allow-Pass

interface Ethernet0 / 0/2 access switch configuration associated aggregation interfaces
Port Link Trunk-type
Use the undo Trunk Port VLAN. 1 Pass the allow-
Port VLAN 10 Trunk 20 is the allow-Pass

stp mode rstp open rstp

4, arranged MSTP
SWl
VLAN10 defined VLAN
VLAN20

interface Eth-Trunk1 配置链路聚合
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20
mode lacp-static
max active-linknumber 1

interface GigabitEthernet0 / 0/1 interface is added to the polymerization logical port
Eth-Trunk. 1
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1

stp mode mstp open mstp

stp region-configuration disposed spanning domain
name region-name huawei domain configuration, each running domain protocol required uniform
instance 1 vlan 10 defines an instance VLAN10
instance 20 is VLAN 2 define two instances VLAN20
Active Region Configuration-activated
quit
STP instance. 1 root primary root bridge configuration switch as example 1
stp instance 2 root secondary switch configured to example 2 of the root bridge

SW2
vlan10 defined vlan
vlan20

interface Eth-Trunk1 配置链路聚合
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20
mode lacp-static
max active-linknumber 1

interface GigabitEthernet0 / 0/1 interface is added to the polymerization logical port
Eth-Trunk. 1
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1

stp mode mstp open mstp

stp region-configuration disposed spanning domain
name region-name huawei domain configuration, each running domain protocol required uniform
instance 1 vlan 10 defines an instance VLAN10
instance 20 is VLAN 2 define two instances VLAN20
Active Region Configuration-activated
quit
STP instance. 1 examples of switches configured to root secondary root bridge 1 is
configured to switch the root bridge 2 of example stp instance 2 root primary

SW3
vlan10 defined vlan
vlan20

interface Ethernet0 / 0/1 configuration associated access switches aggregation Interface
Port Link Trunk-type
Use the undo Trunk Port VLAN. 1 Pass the allow-
Port VLAN 10 Trunk 20 is the allow-Pass

interface Ethernet0 / 0/2 access switch configuration associated aggregation interfaces
Port Link Trunk-type
Use the undo Trunk Port VLAN. 1 Pass the allow-
Port VLAN 10 Trunk 20 is the allow-Pass

stp mode mstp open mstp

stp region-configuration disposed spanning domain
name region-name huawei domain configuration, each running domain protocol required uniform
instance 1 vlan 10 defines an instance VLAN10
instance 20 is VLAN 2 define two instances VLAN20
Active Region Configuration-activated
quit

Guess you like

Origin blog.51cto.com/8843049/2438709