I got two L3 switches (Cisco 3560) with no switcport
ports connected to L2 switch (Cisco 2960).
It used to work, but when I saved and restarted Packet Tracer -- all ports went into standalone mode.
This is the configuration of ports:
Vlan-40-Main (L3):
interface Port-channel5
no switchport
ip address 192.168.100.7 255.255.255.0
!
interface FastEthernet0/1
no switchport
no ip address
channel-group 5 mode active
duplex auto
speed auto
!
interface FastEthernet0/2
no switchport
no ip address
channel-group 5 mode active
duplex auto
speed auto
!
Vlan-30-Main (L3):
interface Port-channel6
no switchport
ip address 192.168.100.6 255.255.255.0
!
interface FastEthernet0/1
no switchport
no ip address
channel-group 6 mode active
duplex auto
speed auto
!
interface FastEthernet0/2
no switchport
no ip address
channel-group 6 mode active
duplex auto
speed auto
!
Upper-Trunk2 (L2):
interface Port-channel1
switchport mode trunk
interface Port-channel2
switchport mode trunk
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
1 Po1(SD) LACP Fa0/1(I) Fa0/2(I)
2 Po2(SD) LACP Fa0/3(I) Fa0/4(I)
3 Po3(SU) LACP Fa0/5(P) Fa0/6(P)