port-mode (25GE interface view)

Function

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 according to the type of the inserted optical module.

Format

undo port-mode

port-mode { 25ge | 10ge }

Parameters

Parameter Description Value
25ge

Sets an interface's bandwidth mode to 25 Gbit/s.

-

10ge

Sets an interface's bandwidth mode to 10 Gbit/s.

-

Views

25GE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

When interconnecting interfaces that require the same bandwidth mode, you can run the port-mode command to set an interface's bandwidth.

Follow-up Procedure

After running this command, activate the port in the license view.

Example

# Set 25GE 0/1/1's bandwidth mode to 10 Gbit/s.
<HUAWEI> system-view
[~HUAWEI] interface 25GE 0/1/1
[~HUAWEI- 25GE0/1/1] port-mode 10GE
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >