& lt quidditch & gt system view
Execute the following command to enter the interface view of the switch port.
The port number of the interface XGigabitethernet switch.
For example, to close the 0/0/2 port, you need to enter the interface view of the port.
[Quidway] interface XGigabitethernet 0/0/2
Execute the following command to open or close the switch port.
Open the switch port
[quidway-xgigabit Ethernet 0/0/2] Cancel shutdown
Close the switch port
[Quitway-xgigabit Ethernet 0/0/2] Shut down
Execute the following command to exit the switch interface view.
[quidway-xgigabit Ethernet 0/0/2] exit