system-view Enter system view, return user view with Ctrl+Z. [SwitchB]interface stack-port 0/2 [SwitchB-stack-port0/2]port interface XGigabitEthernet0/0/2 enable Warning: Enabling stack function may cause configuration loss on the interface, continue?[Y/N]:y Info: Port groups XGigabitEthernet0/0/1 to XGigabitEthernet0/0/4 have been configured as physical stack-ports. [SwitchB-stack-port0/2]port interface XGigabitEthernet0/0/7 enable Warning: Enabling stack function may cause configuration loss on the interface, continue?[Y/N]:y Info:Port groups XGigabitEthernet0/0/5 to XGigabitEthernet0/0/8 have been configured as physical stack-ports [SwitchB-stack-port0/2] [SwitchB-stack-port0/2]quit