The port-mode command sets a bandwidth mode for an interface.
The undo port-mode command restores the default configuration.
By default, an interface's bandwidth automatically switches between 1 Gbit/s and 10 Gbit/s according to the type of the inserted optical module.