Перейти к содержанию

Конфиги с устройств

Конфиги с устройств


  • SW1
SW1#show run
vtp mode off
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
 name WSR39
 instance 1 vlan 1000, 1200, 1300
 instance 2 vlan 1500, 1600
!
spanning-tree mst 1 priority 24576
!
vlan internal allocation policy ascending
!
vlan 1000
 name MGT
!
vlan 1200
 name DATA
!
vlan 1300
 name OFFICE
!
vlan 1500
 name NATIVE
!
vlan 1600
 name SHUTDOWN
!
!
interface Port-channel1
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
 switchport mode dynamic desirable
!
interface Port-channel2
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
 switchport mode dynamic desirable
!
interface GigabitEthernet0/0 #(Fa0/3)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
 switchport mode dynamic desirable
 media-type rj45
 negotiation auto
 channel-group 2 mode desirable
!
interface GigabitEthernet0/1 #(Fa0/4)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
 switchport mode dynamic desirable
 media-type rj45
 negotiation auto
 channel-group 2 mode desirable
!
interface GigabitEthernet1/0 #(Fa0/5)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
 switchport mode dynamic desirable
 media-type rj45
 negotiation auto
 channel-group 1 mode active
!
interface GigabitEthernet1/1 #(Fa0/6)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
 switchport mode dynamic desirable
 media-type rj45
 negotiation auto
 channel-group 1 mode active
!
interface GigabitEthernet2/0 #(Fa0/10 или Fa0/1)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
 media-type rj45
 duplex full
 no negotiation auto
!
interface Vlan1000
 ip address 10.0.100.10 255.255.255.0
  • SW2
SW2#show run
!
vtp mode off
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
 name WSR39
 instance 1 vlan 1000, 1200, 1300
 instance 2 vlan 1500, 1600
!
spanning-tree mst 2 priority 24576
!
vlan internal allocation policy ascending
!
vlan 1000
 name MGT
!
vlan 1200
 name DATA
!
vlan 1300
 name OFFICE
!
vlan 1500
 name NATIVE
!
vlan 1600
 name SHUTDOWN
!
interface Port-channel2
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
!
interface GigabitEthernet0/0 #(Fa0/3)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
 media-type rj45
 negotiation auto
 channel-group 2 mode auto
!
interface GigabitEthernet0/1 #(Fa0/4)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk native vlan 1500
 media-type rj45
 negotiation auto
 channel-group 2 mode auto
!
interface GigabitEthernet0/2 #(Fa0/2)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 1500
 switchport mode trunk
 switchport nonegotiate
 media-type rj45
 negotiation auto
!
interface GigabitEthernet2/0 #(Fa0/10)
 switchport access vlan 1300
 switchport mode access
 switchport nonegotiate
 media-type rj45
 negotiation auto
!
interface Vlan1000
 ip address 10.0.100.20 255.255.255.0
  • SW3
SW3#show run
!
vtp mode off
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
 name WSR39
 instance 1 vlan 1000, 1200, 1300
 instance 2 vlan 1500, 1600
!
!
vlan internal allocation policy ascending
!
vlan 1000
 name MGT
!
vlan 1200
 name DATA
!
vlan 1300
 name OFFICE
!
vlan 1500
 name NATIVE
!
vlan 1600
 name SHUTDOWN
!
!
interface Port-channel1
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 1500
 switchport mode trunk
!
interface GigabitEthernet0/2 #(Fa0/2)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 1500
 switchport mode trunk
 switchport nonegotiate
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/0 #(Fa0/5)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 1500
 switchport mode trunk
 media-type rj45
 negotiation auto
 channel-group 1 mode passive
!
interface GigabitEthernet1/1 #(Fa0/6)
 switchport trunk allowed vlan 1000,1200,1300,1500,1600
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 1500
 switchport mode trunk
 media-type rj45
 negotiation auto
 channel-group 1 mode passive
!
interface GigabitEthernet2/0 #(Fa0/10)
 switchport access vlan 1200
 switchport mode access
 switchport nonegotiate
 media-type rj45
 negotiation auto
!
interface Vlan1000
 ip address 10.0.100.30 255.255.255.0