Switch stp configuration, switch stp
Topology
Configuration code
SW1 ---------------------------------------------------
1. configuration code
Sys
Vlan 2
Vlan 3
Quit
Interface eth-trunk 1
Quit
Interface g0/0/1
Eth-trunk 1
Quit
Interface g0/0/2
Eth-trunk 1
Quit
Interface eth-trunk 1
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Interface g0/0/3
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Interface g0/0/4
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Stp region-configuration
Region-name fxl
Revision-level 1
Instance 1 vlan 2
Instance 2 vlan 3
Active region-configuration
Quit
Stp instance 1 priority 4096
SW2 ---------------------------------------------------
Sys
Vlan 2
Vlan 3
Quit
Interface eth-trunk 1
Quit
Interface g0/0/1
Eth-trunk 1
Quit
Interface g0/0/2
Eth-trunk 1
Quit
Interface eth-trunk 1
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Interface g0/0/3
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Interface g0/0/4
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Stp region-configuration
Region-name fxl
Revision-level 1
Instance 1 vlan 2
Instance 2 vlan 3
Active region-configuration
Quit
Stp instance 2 priority 4096
SW3 ---------------------------------------------------
Sys
Vlan 2
Vlan 3
Quit
Interface e0/0/1
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Interface e0/0/2
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Stp region-configuration
Region-name fxl
Revision-level 1
Instance 1 vlan 2
Instance 2 vlan 3
Active region-configuration
Quit
SW4 ---------------------------------------------------
Sys
Vlan 2
Vlan 3
Quit
Interface e0/0/1
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Interface e0/0/2
Port link-type trunk
Port trunk allow-pass vlan all
Quit
Stp region-configuration
Region-name fxl
Revision-level 1
Instance 1 vlan 2
Instance 2 vlan 3
Active region-configuration
Quit