generally speaking on standard C6500 ports you cannot use subinterfaces and you cannot on C3750 as well.
However, you can easily emulate a vlan based L3 subinterface by using SVIs:
the SVI is associated with the L2 broadcast domain so interface vlan100 is the SVI of L2 broadcast domain vlan 100.
To emulate a routed subinterface you just need to take care of allowing the required vlans only on the physical port
so the physical port is a L2 trunk allowing vlans 100,101,102 for example
show vlan id 100
you can check that the vlan is permitted only on the desired port.
This aspect is very important as the state of SVI depends on the presence of at least an active L2 port in STP forwarding state, if multiple ports are in vlan 100 the SVI vlan 100 will not go down when the official port goes down causing routing problems for example.
This feature is called autostate and we need to take care of this behaviour.
with only one port in vlan X if that port fails SVI Vlan X goes down and this emulates a router subinterface.
the L2 vlan must exist in order to be able to see the corresponding SVI up/up and the SVI can start its life in shutdown mode
interface vlan 100
ip address x.x.x.x 255.255.255.252
interface gi n/m
switchport trunk allowed vlan 100
switchport enc dot1q
switchport mode trunk
Be aware that trunk ports by default allow all Vlans so if you are using this you need to configure all trunk ports with the list of necessary Vlans.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...