We have WS-C3650-24TS Catalyst L3 switch. I am trying to create a sub-interface on the ports but cannot make it work as the following error shows. Is there something I'm missing?
Sorry, newbie here.
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.Sign up to join this community
Subinterfaces are used on routers and they can be used on some L3 switches. You need to configure the physical interface as a routed port or L3 port using
exit its config and then you can configure a subinterface.
On the 3650 series, VLAN subinterfaces on routed ports are not supported: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/3se/int_hw_components/configuration_guide/b_int_3se_3650_cg/b_int_3se_3650_cg_chapter_010.html
A routed port behaves like a regular router interface, except that it does not support VLAN subinterfaces.
Of course, the physical interface should also be enabled:
Alternatively, use a switched interface and a VLAN with a switch virtual interface (SVI).