SWT-DIST-02#sh run
Building configuration...
spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 100 priority 24576
Current configuration : 164 bytes
!
interface Ethernet0/2
switchport trunk allowed vlan 100,200
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast edge trunk
end
interface Ethernet0/0
switchport trunk allowed vlan 100,200
switchport trunk encapsulation dot1q
!
interface Ethernet0/1
switchport trunk allowed vlan 100,200
switchport trunk encapsulation dot1q
!
interface Ethernet0/2
switchport trunk allowed vlan 100,200
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast edge trunk
SWT-DIST-02#(switch7)
spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 100 priority 28672
spanning-tree vlan 200 priority 24576
!
vlan internal allocation policy ascending
!
interface Ethernet0/0
switchport trunk allowed vlan 100,200
switchport trunk encapsulation dot1q
switchport mode dynamic desirable (na outra ponta do switch deve estar em auto para negociar em trunk)
!
interface Ethernet0/1
switchport trunk allowed vlan 100,200
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
!
interface Ethernet0/2
!
interface Ethernet0/3
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server!
control-plane
line con 0
logging synchronous
line aux 0
line vty 0 4
end
SWT-DIST-01#