i understand that you cant create vlan subinterface on 3750 or 3550
% Invalid input detected at '^' marker.
Is there any alternative to create the above (by upgrading to latest ios?). basically i have a trunk port with SVI interfaces but i would like to spilit the trunk into sub interfaces and have it on its own vlan AND have the layer 3 ip for some (like below)
switch(config-if)# switch access vlan 100
switch(config-if)# switch access vlan 200
switch(config-if)# no switchport
switch(config-if)# ip address 10.10.30.1 255.255.255.0
int vlan 100
ip address 10.10.100.1 255.255.255.0
int vlan 200
ip address 10.10.200.1 255.255.255.0
is the above possible ?
What is your purpose for that? What do you want to reach?
For such thing you need router in order to create subinterfaces.
Hope it will help
i would like to spilit my vlans for troubleshooting. for instance i can just shutdown just 1 vlan instead of shutting down the entire trunk port ?
You can shut down a vlan from vlan config mode without going through this. I've never done it, but it sounds like this is what you're wanting.
VLAN configuration commands:
are Maximum number of All Route Explorer hops for this VLAN (or
zero if none specified)
backupcrf Backup CRF mode of the VLAN
bridge Bridging characteristics of the VLAN
exit Apply changes, bump revision number, and exit mode
media Media type of the VLAN
mtu VLAN Maximum Transmission Unit
name Ascii name of the VLAN
no Negate a command or set its defaults
parent ID number of the Parent VLAN of FDDI or Token Ring type VLANs
private-vlan Configure a private VLAN
remote-span Configure as Remote SPAN VLAN
ring Ring number of FDDI or Token Ring type VLANs
said IEEE 802.10 SAID
shutdown Shutdown VLAN switching
state Operational state of the VLAN
Unfortunately you cannot do that on a switch. Instead, you have to run a trunk and a bunch of SVIs, as you have done.
Unfortunately, if you are running any routing protocols through the trunk, and the trunk link fails, then the re-convergence is slower because it has to rely on dead times rather than detecting link-down.
say if i introduce to bring in a router and do
encapsulation dot1q 20
ip address 192.168.2.254 255.255.255.0
encapsulation dot1q 30
ip address 192.168.3.254 255.255.255.0
on the switch:
vlan 20 name 20
vlan 30 name 30
int vlan 20
ip address 192.168.2.200 255.255.255.0
int vlan 30
ip address 192.168.3.200 255.255.255.0
I know the above will work for L2 vlans but for Layer 3 (without any vlans will the below config do ?)
ip address 192.168.4.1 255.255.255.0
ip address 192.168.5.1 255.255.255.0
on switch side (different switch to the one above)
ip add 192.168.4.2 255.255.255.0
ip add 192.168.5.2 255.255.255.0
Basically my question is if i replace the l3 switch with a router can i use one port for L2 sub interface and another port for L3 sub interface as above ?
if so how do i create a layer 3 sub interface ?