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

Port Configuration
Modifying Port Operating Characteristics
59272-00 C 85
Modifying Port Operating Characteristics
You can make permanent or temporary changes to port operating characteristics.
You make permanent port configuration changes using the Set Config Port
command. These changes are saved in the active configuration and are
preserved across Switch Module or port resets. The Set Port command makes
temporary changes that apply until the next port or Switch Module reset, or until
you activate a configuration.
Changing the Port Administrative State
The following example permanently changes the administrative state for external
port 0:
H3C #> admin start
H3C (admin) #> config edit
H3C (admin-config) #> set config port 0
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
Configuring Port Number: 0
------------------------
AdminState (1=Online, 2=Offline, 3=Diagnostics, 4=Down) [Online] 2
PortType (PT,TF) [TF ]
LinkSpeed (1=1Gb/s, 2=2Gb/s, 4=4Gb/s, 8=8Gb/s, A=Auto) [Auto ]
SymPortName (string, max=32 chars) [Port0 ]
Finished configuring attributes.
This configuration must be saved (see config save command) and
activated (see config activate command) before it can take effect.
To discard this configuration use the config cancel command.
H3C (admin-config) #> config save
The config named default has been saved.
H3C (admin) #> config activate
The currently active configuration will be activated.
Please confirm (y/n): [n] y
NOTE:
8-Gbps SFPs do not support the 1-Gbps setting. Setting a port to 1-Gbps
that has an 8-Gbps SFP will down the port.