Switch 1
Create Bridge-Aggregation LACP Trunk
interface Bridge-Aggregation100
link-aggregation mode dynamic
Apply port configuration.
interface GigabitEthernet1/0/49
port link-aggregation group 100
#
interface GigabitEthernet1/0/50
port link-aggregation group 100
#
interface GigabitEthernet1/0/51
port link-aggregation group 100
#
interface GigabitEthernet1/0/52
port link-aggregation group 100
Switch 2
interface Bridge-Aggregation100
link-aggregation mode dynamic
Apply port configuration.
interface GigabitEthernet2/0/1
port link-aggregation group 100
#
interface GigabitEthernet2/0/2
port link-aggregation group 100
#
interface GigabitEthernet1/0/1
port link-aggregation group 100
#
interface GigabitEthernet1/0/2
port link-aggregation group 100
Switch 1
interface Bridge-Aggregation100
port link-type trunk
undo port trunk permit vlan 1
port trunk pvid vlan 456
Switch 2
interface Bridge-Aggregation100
port link-type trunk
undo port trunk permit vlan 1
port trunk pvid vlan 456
Respect the order, do not apply commands to physical interfaces.