05-15-2020 08:04 AM
Hello all,
I'm trying to configure Layer3 subinterfaces on port-channel on a C9500-48Y4C with version 16.9.4. However it seems the feature is not enabled or supported. When I try to apply this
interface Port-channel10.3000
encapsulation dot1Q 3000
ip address 10.229.0.2 255.255.255.0
!
I get the following error : Command Rejected: Sub-interface support is not enabled on port-channel
Does anyone have an idea about how to enable this feature or does anyone know whether it is supposed to be supported in later releases ?
thanks in advance
05-15-2020 08:30 AM - edited 05-15-2020 08:32 AM
Looks there is some limitation as i was testing with Cat 9500 with Stackwise virtual, as per some release notes it was not supported.
let me do some test and come back to you.
here some guide lines same product line :
05-18-2020 01:35 PM
Hi
feature is available in train 16.12 and above
kr
05-18-2020 02:43 PM
Sure at the stage 16.12.XX still not 5Start version, but this feature show stopper, can be tested.
02-12-2025 10:38 AM
For what its worth, this feature is still not enabled five years later. However, the way we are going around this is by creating vlan interfaces and trunking the "allowed vlans" on the appropriate port-channels. Hopefully this helps someone looking at trying to accomplish sub-interfaces.
02-20-2025 07:12 AM
Traditionally, your "work around" was how it was done on L3 switches. Actually, reading the replies noting it can be done on some later IOS versions, somewhat surprised that you can do subinterfaces on a L3 switch routed port.
02-20-2025 06:33 AM
On the contrary, this feature is supported and requires "no switchport" command for the portchannel.
Device(config)# interface port-channel 2
Device(config-if)# no switchport
Device(config-if)# no ip address
Device(config-if)# exit
Device(config)# interface port-channel 2.10
Device(config-subif)# encapsulation dot1q 10
Decvice(config-subif)# ip address 10.10.10.11 255.255.255.0
02-20-2025 07:59 AM
Sweet! Curious to know if there are advantages of having the sub-interface as a gateway, vs having an vlan interface, and vise versa? Is there any compute advantage or potential security upgrade?
02-20-2025 04:16 PM
Hello
FYI -your out of luck im afraid
Cat9k sub-interfaces supported from 6.12.X +
02-20-2025 06:59 PM
@NicolasDemonty On IOS XE 16.9.4, sub-interfaces on a port-channel are not enabled by default on the C9500-48Y4C. You need to enable the feature manually. Try running the following command in global configuration mode:
After applying this, save the config and reload the switch. Then, try configuring the sub-interface again. If this doesn't work, consider upgrading to a newer IOS XE version, as later releases may provide better support for this feature.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide