Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(25)SEB4, RELEASE SOFTWARE (fc1)
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)
cisco WS-C3560-48TS (PowerPC405) processor (revision D0) with 118784K/12280K bytes of memory.
System image file is "flash:c3560-ipbase-mz.122-25.SEB4/c3560-ipbase-mz.122-25.SEB4.bin"
Второй
Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)
cisco WS-C3560-24TS (PowerPC405) processor (revision E0) with 122880K/8184K bytes of memory.
System image file is "flash:c3560-ipbase-mz.122-35.SE5/c3560-ipbase-mz.122-35.SE5.bin"
Между ними оборудование провайдера и оптика. Провайдер дает 1 ВЛАН 452.
Через него необходимо пробросить еще 4 ВЛАНа: 1,77,144,178.
Ниже конфиги.
Первый
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
no aaa new-model
ip subnet-zero
ip routing
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
description Server
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,77,144,178
switchport mode trunk
duplex full
!
interface FastEthernet0/2
description QinQLoopTrunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,77,144,178
switchport mode trunk
duplex full
!
interface FastEthernet0/3
description Q-IN-Q
switchport access vlan 452
switchport mode dot1q-tunnel
switchport nonegotiate
no mdix auto
no cdp enable
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface FastEthernet0/4
!
...
!
interface FastEthernet0/47
!
interface FastEthernet0/48
description ToSwitch2ViaTransport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 452
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
ip address 10.20.100.1 255.255.255.0
!
interface Vlan77
ip address 10.120.64.1 255.255.255.0
!
interface Vlan144
ip address 10.20.144.1 255.255.255.0
!
interface Vlan178
ip address 10.120.178.1 255.255.255.0
!
interface Vlan452
ip address 192.168.1.1 255.255.255.0
!
ip classless
ip http server
!
!
control-plane
!
end
Второй
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip routing
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/2
description QinQLoopTrunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,77,144,178
switchport mode trunk
duplex full
!
interface FastEthernet0/3
description Q-IN-Q
switchport access vlan 452
switchport mode dot1q-tunnel
switchport nonegotiate
no mdix auto
no cdp enable
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
!
interface FastEthernet0/4
!
...
!
interface FastEthernet0/17
!
interface FastEthernet0/18
switchport access vlan 452
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet0/19
!
interface FastEthernet0/20
switchport access vlan 144
switchport mode access
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
description ToSwitch1ViaTransport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 452
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 10.20.100.2 255.255.255.0
!
interface Vlan77
ip address 10.120.64.2 255.255.255.0
!
interface Vlan144
ip address 10.20.144.2 255.255.255.0
!
interface Vlan178
ip address 10.120.178.2 255.255.255.0
!
interface Vlan452
ip address 192.168.1.2 255.255.255.0
!
ip classless
ip http server
!
!
control-plane
!
!
end
ВЛАН 1кое-как ходит, остальные нет.