Here are the outputs:
[sw1]display link-aggregation summary
Aggregation Interface Type:
BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation
Aggregation Mode: S -- Static, D -- Dynamic
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, d07e-2865-3fce
AGG AGG Partner ID Select Unselect Share
Interface Mode Ports Ports Type
-------------------------------------------------------------------------------
BAGG1 D 0x8000, 0000-0000-0000 1 1 Shar
[sw1]display link-aggregation verbose Bridge-Aggregation 1
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregation Interface: Bridge-Aggregation1
Aggregation Mode: Dynamic
Loadsharing Type: Shar
System ID: 0x8000, d07e-2865-3fce
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
GE1/0/23 S 32768 1 {ACDEFG}
GE1/0/24 U 32768 2 {ACG}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
GE1/0/23 0 32768 0 0x8000, 0000-0000-0000 {DEF}
GE1/0/24 0 32768 0 0x8000, 0000-0000-0000 {DEF}
I am not sure why it is only selection one port and not both: btw I have ran following commands:
int range gi 1/0/23 to gi 1/0/24
speed auto
duplex auto
quit
And Finally the following interface summery :
[sw1-GigabitEthernet1/0/23]display this
#
interface GigabitEthernet1/0/23
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 10
port link-aggregation group 1
#
return
[sw1-GigabitEthernet1/0/24]display this
#
interface GigabitEthernet1/0/24
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 10
port link-aggregation group 1
#
return