cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco announces new innovations in SD-WAN, ISRs, SD-WAN Services, and Catalyst 9000 Series switches


118
Views
15
Helpful
3
Replies
Highlighted
Beginner

Can we configure sub-interfaces in etherchannel

Is it possible to configure sub-interfaces in etherchannel or portchannel in Cisco switches 

 

3 REPLIES
VIP Advisor

Re: Can we configure sub-interfaces in etherchannel

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.

Beginner

Re: Can we configure sub-interfaces in etherchannel

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). 

Rising star

Re: Can we configure sub-interfaces in etherchannel

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.

Content for Community-Ad
Ask the Expert- DMVPN on Cisco routers