10-30-2025
06:46 AM
- last edited on
10-30-2025
07:07 AM
by
shazubai
PaI am using Packet Tracer to create a Lab.
On NY-R1 I am not able to create the port-channel 1.10 sub-interface. Does Packet Tracer allow me to create ether-channel sub-interface?
NY-R1(config)#interface port-channel 1.10
^
% Invalid input detected at '^' marker.
Trying to create 4 sub-interface on router for 4 VLANs.
Thanks,
Sunny
10-30-2025 07:16 AM - edited 10-30-2025 07:17 AM
Hello,
Can you provide the output of the following command:
interface port-channel ?
To see what your options are. I believe you will need to create the sub interfaces and make them a part of the channel group.
Packet tracer may also not support that function.
-David
10-30-2025 07:17 AM
Cannot say with 100% certainly, why PT doesn't accept that configuration option, but can say with 100% certainly, PT, generally, doesn't support all the features the real hardware/software would. So, beyond the most basic configuration options, they are very often not provided. Also, BTW, whatever features PT does provide may not work as they do on the real platform.
10-30-2025 07:22 AM
NY-R1#sh int port-channel 1
Port-channel1 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 0006.2a9d.3b2c (bia 0006.2a9d.3b2c)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Half-duplex, 100Mb/s
input flow-control is off, output flow-control is off
Members in this channel: Gig0/0 Gig0/1
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
956 packets input, 193351 bytes, 0 no buffer
Received 956 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
2357 packets output, 263570 bytes, 0 underruns
0 output errors, 0 collisions, 10 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
NY-R1#sh run
Building configuration...
Current configuration : 799 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname NY-R1
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX152400OC-
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Port-channel1
no ip address
!
interface GigabitEthernet0/0
no ip address
channel-group 1
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
channel-group 1
duplex auto
speed auto
!
interface Serial0/0/0
ip address 172.16.1.2 255.255.255.0
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
NY-R1#
NY-R1#
NY-R1#
NY-R1#
NY-R1#sh ip int bri
Interface IP-Address OK? Method Status Protocol
Port-channel1 unassigned YES unset up up
GigabitEthernet0/0 unassigned YES unset up up
GigabitEthernet0/1 unassigned YES unset up up
Serial0/0/0 172.16.1.2 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
10-30-2025 12:41 PM
Hi @SS-Shine ,
Keep in mind that it is probably 10 years since I configured one of these, so I may have forgotten things. But in the config you showed below, I see:
interface Port-channel1 no ip address
If you want to use sub-interfaces, I would have EXPECTED to see:
interface Port-channel1 no switchport no ip address
On the assumption that the default configuration for a port-channel is switchport, not a routed interface.
HTH
And as a bonus - let me give you some tips for posting to the forum (especially about posting console output)
RedNectar's Forum Tips:
This will give you access to the paragraph formatting drop down
This means you pictures are actually SEEN (a) in the email that gets sent to subscribers and (b) anyone who looks at this post in the future. Adding pictures as attachments... puts your submission into the TL;DR category.
10-30-2025 12:57 PM
Hello Chris,
Thanks for the Tip. I am configuring this in Packet Tracer 9 and it is on router 2901. I do not have option to for no switch port. Also, I need the router port as sub-interface so I can tag my vlans.
When I try interface port-channel 1.100 I receive "invalid input detected at as below
NY-R1(config)#interface port-channel 1.10
^
% Invalid input detected at '^' marker.
Does packet Tracer allow to create port channel sub-interface?
Thanks,
Sunny
10-30-2025 05:58 PM
Hi Sunny ,
Try this:
interface Port-channel1 no switchport exit
interface Port-channel 1.10
and see if the error still occurs.
The problem is that Cisco devices need to know if a port is a traditional router port (where you assign IPs to the interface/sub-interface itself) or a "switch" port (where you assign IPs to a VLAN interface, then enable the VLANs on particular "switchports")
By default, on a router, all interfaces are assumed to be router ports. Should you want the port to be used as a "switchport" you need to configure the switchport command on the interface.
By default, on a switch (your case) all interfaces are assumed to be "switchports". Should you want the port to be used as a "router port you need to configure the no switchport command on the interface.
Again I'm digging deep into my memory for this. Spent the past 10 years almost exclusively with ACI.
10-31-2025 04:37 AM
10-31-2025 01:51 AM
I am configuring this in Packet Tracer 9 and it is on router 2901.
Ah, version 9. Last, time I recently looked (within the last couple of weeks), I recall version 8 was still the recommended version, so version 9 is still, perhaps, considered beta. If so, possibly providing this feature is intended, but possibly just not working yet. Or, as both @David Ruess and I have both suggested, missing features isn't uncommon within PT.
As to @RedNectar suggestion looking to insure port is not in switchport mode, that should be a non issue on a router's built-in (L3) ports. I recall (?) it was applicable if using a router's L3 switch module's ports. However, I wouldn't suspect PT to (possibly ever) simulate them.
A CML router would likely support the configuration option(s) you're trying to configure.
10-31-2025 04:57 AM
Oh, forgot to mention, I believe Cisco now allows for a free 5 node version of CML, plus I recall their on-line version is free too, although it has other usage considerations beyond node count.
10-31-2025 12:44 PM
Thanks for doing the legwork to (in)validate my attempt.
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