port-alarm down (system view)

Function

The port-alarm down command enables the function for all interfaces on a subcard to shut down the associated physical port when an alarm is reported on an interface.

The undo port-alarm down command disables the function for all interfaces on a subcard to shut down the associated physical port when an alarm is reported on an interface.

By default, the function to shut down the associated physical port is disabled when an alarm is reported on an interface.

Format

For NetEngine 8000 F1A, NetEngine 8000 F2A:

port-alarm down slot slot-id card cardid { crc-error | symbol-error | input-error | output-error }

undo port-alarm down slot slot-id card cardid { crc-error | symbol-error | input-error | output-error }

For NetEngine 8000 F1A:

port-alarm down slot slot-id card cardid sdh-error

undo port-alarm down slot slot-id card cardid sdh-error

Parameters

Parameter Description Value
card cardid

Specifies the ID of a registered subcard.

-

crc-error

CRC error threshold alarm.

-

symbol-error

Specifies symbol alarms.

-

input-error

Sets alarm thresholds for input errors.

-

output-error

Sets alarm thresholds for output errors.

-

slot slot-id

Specifies the ID of a slot.

-

sdh-error

Specifies SDH alarms.

NOTE:

This parameter is supported only on the NetEngine 8000 F1A.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

This command can be used to shut down the associated physical port when an alarm of a certain type is reported to the NMS. The type of the alarm can be a CRC, SDH, input, output, symbol alarm.

You can run the port-alarm clear command to clear the alarms generated on a port and restore the port.

Precautions

In VS mode, this command is supported only by the admin VS.

This command takes effect only when the corresponding alarm function is enabled. You can run the snmp-agent trap enable port command to enable the function to generate alarms for CRC, SDH, input, output, symbol errors on an interface.

Example

# Enable the function for all interfaces on subcard 1 in slot 1 to shut down the associated physical port when crc-error alarm is reported on an interface.
<HUAWEI> system-view
[~HUAWEI] port-alarm down slot 1 card 1 crc-error
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >