I have 5 VLANs in a switch SF300 configured in Layer3. I Set the switch to general mode so I could connect all the vlans. After 2 weeks that connection has been lost. Now you can only communicate with your respective gateway.
This are the vlans.
interface vlan 2
name "Linea Nueva"
ip address 10.0.0.150 255.255.255.0
!
interface vlan 3
name vlan_invitados
ip address 192.168.10.253 255.255.255.0
!
interface vlan 4
name "Red Administrativa"
ip address 10.178.5.150 255.255.255.0
!
interface vlan 5
name vlan_plc2
ip address 192.168.1.65 255.255.255.0
!
interface vlan 6
name vlan_plc3
ip address 192.168.0.150 255.255.255.0
config-file-header
ciscoauto2
v1.3.5.58 / R750_NIK_1_35_647_358
CLI v1.0
set system mode router
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 2-6,700
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
bonjour interface range vlan 1
hostname ciscoauto2
username cisco password encrypted fc48b9daa3849fab289dd8919097ede3b9f2b3eb privilege 15
clock timezone " " 0 minutes 0
ip telnet server
!
interface vlan 1
no ip address dhcp
!
interface vlan 2
name "Linea Nueva"
ip address 10.0.0.150 255.255.255.0
!
interface vlan 3
name vlan_invitados
ip address 192.168.10.253 255.255.255.0
!
interface vlan 4
name "Red Administrativa"
ip address 10.178.5.150 255.255.255.0
!
interface vlan 5
name vlan_plc2
ip address 192.168.1.65 255.255.255.0
!
interface vlan 6
name vlan_plc3
ip address 192.168.0.150 255.255.255.0
!
interface fastethernet1
switchport default-vlan tagged
!
interface fastethernet2
spanning-tree link-type point-to-point
switchport mode general
macro description switch
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type unknown
!
interface fastethernet3
spanning-tree link-type point-to-point
switchport mode general
macro description switch
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type unknown
!
interface fastethernet4
spanning-tree link-type point-to-point
switchport mode general
switchport general allowed vlan add 700 tagged
macro description switch
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type unknown
!
interface fastethernet5
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
no macro auto smartport
!
interface fastethernet6
switchport trunk allowed vlan add 2
switchport trunk native vlan 4
!
interface fastethernet7
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet8
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet9
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet10
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet11
spanning-tree link-type point-to-point
switchport mode general
switchport general allowed vlan add 2-6 untagged
switchport general pvid 2
interface fastethernet12
spanning-tree link-type point-to-point
switchport mode general
switchport general allowed vlan add 2-6 untagged
switchport general pvid 6
!
interface fastethernet13
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet14
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet15
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet16
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet17
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet18
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet19
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet20
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet21
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet22
switchport trunk allowed vlan add 2
switchport trunk native vlan 4
!
interface fastethernet23
switchport trunk allowed vlan add 4
switchport trunk native vlan 2
!
interface fastethernet24
spanning-tree link-type point-to-point
switchport mode general
switchport general allowed vlan add 2-6 untagged
switchport general pvid 5
!
interface gigabitethernet1
spanning-tree link-type point-to-point
switchport mode general
switchport general allowed vlan add 3 tagged
switchport general allowed vlan add 2,4-5 untagged
switchport general pvid 4
macro description switch
!next command is internal.
macro auto smartport dynamic_type unknown
!
interface gigabitethernet3
switchport mode access
switchport access vlan 3
!
exit
---------------------------------------------
C 10.0.0.0/24 is directly connected, vlan 2
C 10.178.5.0/24 is directly connected, vlan 4
C 192.168.0.0/24 is directly connected, vlan 6
C 192.168.1.0/24 is directly connected, vlan 5
C 192.168.10.0/24 is directly connected, vlan 3