Exchange experiments

Requirements:
 1. MSTP configuration using four switches, the domain name huawei, configured as a revision number, two configuration examples
 2. Create a VLAN four SW3 / SW4 hand, respectively VLAN 10 20 30 40, SW1 and SW2 through GVRP to dynamically register the VLAN
 3. mapped to VLAN 10 20 example 1 which will be mapped to which VLAN 30 40 2 example
 4. example SW1 as a main root bridge as a root bridge 2 of example, SW2 taproot as example 2 bridge, as an example of a
   root bridge
 5.PC1 and PC2 belong to VLAN 10, PC3 and PC4 20 is part of the VLAN
 6.SW3 and SW4 disposed between eth-trunk link aggregation using LACP static
 7. the configuration in claim PC1 and PC2 as 10.1.1.0/24 segment, and can communicate with each other
 8. claim PC3 and PC4 is configured to 20.1.1.0/24 network segment, and to communicate with each other
 9. claimed exchange interface prevents unnecessary BPDU received from the PC
 required to ensure that the root bridge 10. the position of SW1, the switch preemption prevent other root bridge, deployed in the most appropriate place
 
1. The four switches use MSTP configuration, the domain name huawei, configuration revision number is 1, two examples of the configuration
stp region-configuration
 region-name huawei
 revision-level 1
active region-configuration
 
 2. SW3 / SW4 manually create four VLAN, respectively VLAN 10 20 30 40, SW1 and SW2 to dynamic VLAN registration through GVRP
 
R3, for example:
vlan batch 10 20 30 40
 
All trunk port switch
R1 as an example:
interface Ethernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan all
 
gvrp
interface Ethernet0/0/1
gvrp
All switch ports open gvrp
 
 R1:

3. mapped to VLAN 10 20 Example 1 which will be mapped to VLAN 30 40 Example 2 which

[Huawei-mst-region]DIS THIS
#
stp region-configuration
 region-name huawei
 revision-level 1
 instance 1 vlan 10 20
 instance 2 vlan 30 40
 active region-configuration

 4. The main root bridge SW1 as Example 1, as an example of the root bridge 2, SW2 main root bridge as Example 2, Example 1 as a
   root bridge

 

stp instance 1 root primary
stp instance 2 root secondary

 

 

 

 

5.PC1 and PC2 belong to VLAN 10, PC3 and PC4 belong to VLAN 20

LSW3:

interface Ethernet0/0/5
 port link-type access
 port default vlan 10

 interface Ethernet0/0/6
 port link-type access
 port default vlan 20
LSW4:
interface Ethernet0/0/5
 port link-type access
 port default vlan 20
#
interface Ethernet0/0/6
 port link-type access
 port default vlan 10
#
 
Eth-trunk link aggregation arranged between 6.SW3 and SW4, using the static LACP
 SW3 example:
 interface Eth-Trunk0
 mode lacp-static
trunkport and 0/0/3 0/0/4
R3:
 

 

 

Guess you like

Origin www.cnblogs.com/mqqq/p/11390919.html