12-06-2018 08:25 PM - edited 03-08-2019 04:45 PM
Is it possible to configure sub-interfaces in etherchannel or portchannel in Cisco switches
12-06-2018 10:36 PM
An EtherChannel can be configured as Trunk, which means that you can transport different VLANs through the channel. That is equivalent to what you want to achieve with sub-interfaces.
12-06-2018 11:19 PM
To add to this, if you want to terminate the vlans on the switch, you can create SVIs (switched virtual interfaces), give them an ip, and they will work similar to a sub-interface.
Make the port channel a trunk, create the SVIs, and you basically have sub-interfaces (but slightly different).
12-07-2018 12:01 AM - edited 12-07-2018 12:02 AM
Yes, this is an example:
interface Port-channel10
description XXXX
no ip address
!
interface Port-channel10.200
encapsulation dot1Q 200
ip address 192.168.1.1 255.255.255.0
The Port Channel 10 has a sub interface 200 ables to handle tagged frames with vlan 200.
Regards.
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