[SW1] port-group group-member gi 0/0/23 0/0/24
[SW1-port-group] no shutdown
[SW1-port-group] exit
[SW1] interface Eth-Trunk 1
[SW1-Eth-Trunk1] mode lacp-static
[SW1-Eth-Trunk1] trunkport gi 0/0/23 0/0/24
[SW1-Eth-Trunk1] undo shutdown
[SW1-Eth-Trunk1] quit
[SW1] display port vlan
[SW1] display eth-trunk 1
now, you can use this interface as any other
[SW2] stp region-configuration
[SW2-mst-region] region-name HUWAEI2022
[SW2-mst-region] instance 1 vlan 100
[SW2-mst-region] instance 2 vlan 200
[SW2-mst-region] revision-level 1
[SW2-mst-region] active region-configuration
[SW2-mst-region] display stp region-configuration
[SW2] stp instance 1 priority 4096
[SW2] display stp instance 1 brief
[SW2] display stp instance 0
...
[SW1] stp instance 1 root primary
[R3] acl 2000
[R3-acl-basic-2000] rule permit source 192.168.100.0 0.0.0.255
[R3-acl-basic-2000] rule permit source 172.16.40.0 0.0.0.255
[R3-acl-basic-2000] quit
[R3] interface gi 0/0/1
[R3-GigabitEthernet0/0/1] nat outbound 2000
[SW1] clear configuration interface gi 0/0/23