H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7

Command Reference
Set Port
59272-00 C 217
state [state]
Specifies one of the following administrative states for the specified port:
Online
Activates and prepares the port to send data.
Offline
Prevents the port from receiving signal and accepting a device login.
Diagnostics
Prepares the port for testing and prevents the port from accepting a device
login.
Down
Disables the port by removing power from the port lasers.
Examples The following is an example of the Set Port State command:
H3C #> admin start
H3C (admin) #> set port state 0 down