MST小实验

需求:

image

配置

S4:

vtp domain CCIE
vtp mode transparent
!
!
!
spanning-tree mode mst
spanning-tree portfast edge bpduguard default
spanning-tree extend system-id

spanning-tree backbonefast
!
spanning-tree mst configuration
name CCIE
revision 1
instance 1 vlan 7, 11, 29, 333, 999
instance 2 vlan 20, 30, 50
!
spanning-tree mst 1 priority 24576
spanning-tree mst 2-3 priority 28672
!
vlan 7,11,20,29-30,50,333,999
 

interface Ethernet0/0
switchport
switchport access vlan 7
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/1
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,11,20,29,30,50,333,999
switchport mode trunk
switchport nonegotiate
duplex auto
!
interface Ethernet0/2
no ip address
shutdown
duplex auto
spanning-tree guard root
!
interface Vlan1
no ip address
shutdown
!
interface Vlan7
ip address 4.1.1.1 255.255.255.0

S5:

vtp domain CCIE
vtp mode transparent
!
!
!
spanning-tree mode mst
spanning-tree extend system-id

spanning-tree backbonefast
!
spanning-tree mst configuration
name CCIE
revision 1
instance 1 vlan 7, 11, 29, 333, 999
instance 2 vlan 20, 30, 50
!
spanning-tree mst 1 priority 28672
spanning-tree mst 2-3 priority 24576
!
vlan internal allocation policy ascending
!
vlan 7,11,17,20,29-30,34,38,45,50,56,67,89,100,200,300,333,666,999
!
!
!        
!
!
!
!
interface Port-channel1
no ip address
shutdown
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface Ethernet0/1
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,11,20,29,30,50,333,999
switchport mode trunk
switchport nonegotiate
duplex auto
!
interface Ethernet0/2
no ip address
duplex auto
spanning-tree guard root

S9:

vtp domain CCIE
vtp mode transparent
!
!
!
spanning-tree mode mst
spanning-tree portfast edge bpduguard default
spanning-tree extend system-id
spanning-tree uplinkfast
spanning-tree backbonefast
!
spanning-tree mst configuration
name CCIE
revision 1
instance 1 vlan 7, 11, 29, 333, 999
instance 2 vlan 20, 30, 50
!
vlan 7,11,20,29-30,50,333,999
!
interface Ethernet0/0
switchport
switchport access vlan 11
switchport mode access
duplex auto
spanning-tree portfast edge
!
interface Ethernet0/1
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,11,20,29,30,50,333,999
switchport mode trunk
switchport nonegotiate
duplex auto
spanning-tree guard root
!
interface Ethernet0/2
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,11,20,29,30,50,333,999
switchport mode trunk
switchport nonegotiate
duplex auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan11
ip address 9.1.1.1 255.255.255.0

S10:

vtp domain CCIE
vtp mode transparent
!
!
!
spanning-tree mode mst
spanning-tree extend system-id
spanning-tree uplinkfast
spanning-tree backbonefast
!
spanning-tree mst configuration
name CCIE
revision 1
instance 1 vlan 7, 11, 29, 333, 999
instance 2 vlan 20, 30, 50
!
!
vlan internal allocation policy ascending
!
vlan 7,11,20,29-30,50,333,999
!
!
!
!        
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface Ethernet0/1
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,11,20,29,30,50,333,999
switchport mode trunk
switchport nonegotiate
duplex auto
!
interface Ethernet0/2
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,11,20,29,30,50,333,999
switchport mode trunk
switchport nonegotiate
duplex auto

本文出自 “forest” 博客,转载请与作者联系!

你可能感兴趣的:(MST小实验)