work-mode

Function

The work-mode command configures the automatic gain locking value and automatic power locking value.

Using the undo work-mode command, you can cancel the configuration of the automatic gain locking value and automatic power locking value.

By default, no automatic power control value or automatic gain control value is configured.

Format

work-mode { agc agc-value | apc apc-value }

undo work-mode { agc [ agc-value ] | apc [ apc-value ] }

Parameters

Parameter Description Value
agc-value

Set a gain value. The input value is 10 times the expected value (in dB). For example, If you want 10, input 100.

The value is an integer that ranges from 0 to 65535.

apc-value

Set a power value. The input value is 10 times the expected value (in dBm). For example, If you want 10, input 100.

The value is an integer that ranges from 0 to 65535.

Views

100GE interface view, 400GE interface view, 40GE interface view, 50GE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
interface-mgr write

Usage Guidelines

Usage Scenario

You can run the work-mode command to configure the gain optical amplification function.

Precautions

  • You can run the display optical-module base information command to check the working mode of the optical amplifier module.
  • You can run the display optical-module extend information command to check the automatic power locking value or automatic gain locking value.
  • The automatic gain locking mode and the automatic power locking mode are mutually exclusive.

Example

# Set agc to 15dB.
<HUAWEI> system-view
[~HUAWEI] interface 100GE0/1/32
[~HUAWEI-100GE0/1/32] work-mode agc 150
Copyright ? Huawei Technologies Co., Ltd.
Copyright ? Huawei Technologies Co., Ltd.
< Previous topic Next topic >