No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E-M2 V800R010C10SPC500 Configuration Guide - Interface and Data Link 01

This is NE40E-M2 V800R010C10SPC500 Configuration Guide - Interface and Data Link
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Physical Link Detection Function

Configuring the Physical Link Detection Function

The physical link detection function helps reduce the number of alarms generated on links and avoids system performance degradation caused by plenty of alarms that would be otherwise generated.

Usage Scenario

When plenty of alarms are generated on links, system performance deteriorates because the system has to process the huge number of alarms. You can set thresholds for different types of alarms, so that alarms are generated only when the alarm thresholds are reached. In addition, measures can be taken when necessary to remove faults and guarantee the transmission of normal traffic.

Pre-configuration Tasks

Before configuring physical link detection, complete the following tasks:

  • Powering on the Router, ensuring that the Router works properly and completes self-check successfully.
  • Configure physical attributes for interfaces on the Router.

Configuration Procedures

The following configurations are independent from each other. Perform them based on the network requirements.

Configuring the Alarm Function for CRC Errors, SDH Errors, Input Errors, Output Errors, or Optical Module Power Exceptions

You can configure the types of interface alarms for the system to process, alarm thresholds, and alarm intervals, so that the system only has to process a limited number of alarms. The alarm function avoids system performance degradation caused by a large number of alarms that would be otherwise generated on links. This section describes how to configure the alarm function for CRC errors, SDH errors, input errors, output errors, or optical module power exceptions.

Context

If the alarm function is enabled on an interface, the system generates an alarm when the number of errors or bandwidth usage exceeds or falls below the threshold set on the interface. If the alarm function is disabled, the system does not generate any alarm, no matter whether the number of errors or bandwidth utilization exceeds or falls below the set threshold. The configuration takes effect on all physical interfaces supporting the alarm function.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run snmp-agent trap enable port { crcexc-error | input-error | output-error | sdh-error-rising | optical-module-abnormal }

    The alarm function is enabled on interfaces.

    Different types of alarms can be set on an interface as necessary.

    • crcexc-error: Enables the alarm function for CRC errors on an interface.

    • sdh-error-rising: Enables the alarm function for SDH errors on an interface.

    • optical-module-abnormal: Enables the alarm function for optical module power exceptions on an interface.

    This command is supported only on the Admin-VS.

  3. Run interface interface-type interface-number

    The interface view is displayed.

  4. Configure thresholds for different types of interface alarms and the alarm intervals.

    • Configure the alarm threshold for inbound and outbound bandwidth usage:
      • Run trap-threshold { input-rate | output-rate } bandwidth-in-use [ resume-rate resume-threshold ]

        The inbound and outbound bandwidth usage threshold is set.

        To prevent alarms from being generated frequently, keep a large difference between bandwidth-in-use and resume-threshold.

      • Run set flow-stat interval interval

        The traffic statistic collection interval is set for the interface, in seconds.

        The new traffic statistic collection interval takes effect after the original traffic statistic collection interval expires. If the interface is logical, traffic statistics about the interface are updated when the new traffic statistic collection interval takes effect for the second time. If the interface is physical, traffic statistics about the interface are updated immediately after the new traffic statistic collection interval takes effect.

        The traffic statistic collection interval set on an interface is effective only on the interface.

        NOTE:

        You can configure a global traffic statistic collection interval, which takes effect on all interfaces, including the interfaces on which no traffic statistic collection interval has been set. To configure a global traffic statistic collection interval, run the set flow-stat interval interval command in the system view. The traffic statistic collection interval of an interface takes preference over a global traffic statistic collection interval.

    • Configure CRC alarm thresholds and an alarm interval (for Ethernet interfaces and POS interfaces using either of the following methods):
      • Run trap-threshold crc-error threshold interval-second interval [ shutdown ]

        An alarm threshold is set based on a specified interval. A device will generate an alarm if the number of packets with CRC errors received within the interval exceeds the configured alarm threshold.

      • Run trap-threshold crc-error high-threshold high-threshold low-threshold low-threshold interval-second interval [ shutdown ]

        The high threshold and low threshold for generating a CRC alarm, and the alarm interval are set.

        NOTE:

        You can run the trap-threshold slot slot-id card card-id crc-error high-threshold high-threshold low-threshold low-threshold interval-second interval command in the system view to configure global values for all interfaces on the specified subcard.

    • Configure CRC alarm thresholds and an alarm interval (for Serial interfaces and Trunk-Serial interfaces using either of the following methods):
      • Run trap-threshold crc-error threshold interval-second interval [ shutdown ]

        The alarm threshold for CRC errors occurring within a certain period is set.

      • Run trap-threshold crc-error high-threshold high-threshold low-threshold low-threshold interval-second interval [ shutdown ]

        The high threshold and low threshold for generating a CRC alarm, and the alarm interval are set.

    • Configure SDH alarm thresholds and an alarm interval (for 10GE WAN interfaces and POS interfaces using either of the following methods):
      • Run trap-threshold sdh-error threshold interval-second interval

        An alarm threshold is set based on a specified interval. A device will generate an alarm if the number of packets with SDH errors received within the interval exceeds the configured alarm threshold.

      • Run trap-threshold sdh-error high-threshold high-threshold low-threshold low-threshold interval-second interval

        The high threshold and low threshold for generating an SDH alarm, and the alarm interval are set.

        NOTE:

        You can run the trap-threshold slot slot-id card card-id sdh-error high-threshold high-threshold low-threshold low-threshold interval-second interval command in the system view to configure global values for all interfaces on the specified subcard.

    • Configure symbol alarm thresholds and an alarm interval (for Ethernet interfaces only).

      Run trap-threshold symbol-error high-threshold high-threshold low-threshold low-threshold interval-second interval

      The high threshold and low threshold for generating a symbol alarm, and the alarm interval are set.

      NOTE:

      You can run the trap-threshold slot slot-id card card-id symbol-error high-threshold high-threshold low-threshold low-threshold interval-second interval command in the system view to configure global values for all interfaces on the specified subcard.

    • Configure input/output alarm thresholds and an alarm interval (for Ethernet interfaces and POS interfaces).

      Run trap-threshold { input-error | output-error } high-threshold high-threshold low-threshold low-threshold interval-second interval

      The high and low thresholds for generating an interface input or output alarm are set.

      NOTE:

      You can run the trap-threshold slot slot-id card card-id symbol-error high-threshold high-threshold low-threshold low-threshold interval-second interval command in the system view to configure global values for all interfaces on the specified subcard.

    • Configure an alarm threshold and a clear alarm threshold for the CRC error packet ratio:

      Run trap-threshold crc-error packet-error-ratio alarm-threshold coefficient-value power-value [ resume-threshold coefficient-value power-value ] [ trigger-lsp | trigger-section ]

      An alarm threshold and a clear alarm threshold for the CRC error packet ratio are set.

    • Configure parameters for the algorithm to calculate the CRC packet error ratio:

      Run crc-error packet-error-ratio algorithm-parameter sample-window-factor child-window-max-number child-window-alarm-number child-window-resume-number

      The parameters are set for the algorithm to calculate the CRC packet error ratio.

    • Configure CRC alarm threshold in percentages:

      Run trap-threshold crc-error percent percent-value

      The CRC alarm threshold in percentages is set.

  5. (Optional) Run port-alarm down { crc-error | sdh-error | symbol-error | input-error | output-error }

    An interface is configured to go Down upon receiving the alarms.

    NOTE:
    • You can run the port-alarm down slot slot-id card card-id { crc-error | sdh-error | symbol-error | input-error | output-error } command in the system view to apply the configurations to all interfaces on the subcard.
    • After an interface is configured to go Down upon receiving the alarms, you can run the port-alarm clear { crc-error | sdh-error | symbol-error | input-error | output-error } command to clear the alarms on the interface.

  6. Run commit

    The configuration is committed.

Configuring the Alarm Function in Case the Number of SDH B1 or SDH B2 Error Packets That an Interface Receives Exceeds an Alarm Threshold

You can configure the alarm function in case the number of SDH B1 or SDH B2 error packets exceeds an alarm threshold. If such an alarm is generated, the link is in a poor condition.

Context

If an interface receives a large number of SDH B1 or SDH B2 error packets, the link is in a poor condition, affecting service transmission. In this situation, you can configure the alarm function, alarm threshold, and detection interval on an interface. The system then detects the number of SDH B1 or SDH B2 error packets that the interface receives at the configured interval. If the number of SDH B1 or SDH B2 error packets exceeds the configured alarm threshold, the system generates an alarm and sends it to the NMS, prompting the administrator to perform maintenance on the interface and troubleshoot the fault. When the number of SDH B1 or SDH B2 error packets falls below the alarm threshold, the system generates a clear alarm and sends it to the NMS, notifying the administrator that the alarm has been cleared.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run snmp-agent trap enable feature-name port trap-name { hwifmonitorsdhb1errorrising | hwifmonitorsdhb2errorrising }

    The alarm function is configured in case the number of SDH B1 or SDH B2 error packets exceeds an alarm threshold.

  3. Run interface interface-type interface-number

    The interface view is displayed.

    The interface can be a 10 GE WAN, ATM or POS interface.

  4. Run trap-threshold { sdh-b1-error | sdh-b2-error } threshold interval-second interval

    An alarm threshold is configured for the number of SDH B1 or SDH B2 error packets that the interface receives, and an interval is configured for the system to detect the number of SDH B1 or SDH B2 error packets.

  5. Run commit

    The configuration is committed.

Configuring the Alarm Function in Case the Number of Bytes of Error Packets That an Interface Receives Exceeds an Alarm Threshold

You can configure the alarm function in case the number of bytes of error packets exceeds a threshold. If such an alarm is generated, the link is in a poor condition.

Context

If an interface receives a large number of bytes of error packets, the link is in a poor condition, affecting service transmission. In this situation, you can configure the alarm function, alarm threshold, and detection interval on an interface. The system then detects the number of bytes of error packets that the interface receives at the configured interval. If the number of bytes of error packets exceeds the configured alarm threshold, the system generates an alarm and sends it to the NMS, prompting the administrator to perform maintenance on the interface and troubleshoot the fault. When the number of bytes of error packets falls below the alarm threshold, the system generates a clear alarm and sends it to the NMS, notifying the administrator that the alarm has been cleared.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run snmp-agent trap enable port bad-bytes

    The alarm function is configured in case the number of bytes of error packets exceeds an alarm threshold.

  3. Run interface interface-type interface-number

    The interface view is displayed.

    The interface can be a GE, 10 GE, 40 GE, or 100 GE interface.

  4. Run trap-threshold bad-bytes trap-threshold interval-second interval

    An alarm threshold is configured for the number of bytes of error packets that the interface receives, and an interval is configured for the system to detect the number of bytes of error packets.

  5. Run commit

    The configuration is committed.

Verifying the Physical Link Detection Configuration

You can check the interface configuration and state information after configuring the physical link detection function.

Context

You can check the interface configuration and state information after configuring the physical link detection function.

Procedure

  • Run the display trap-info command in the interface view, or run the display trap-info { interface-type interface-number | interface-name | slot slot-id card card-id } command in the system view to check configuration and state information about the specified interface, including whether the alarm function is enabled on the interface, alarm threshold, alarm interval, alarm blocking, current alarm state, and the number of current alarms.
  • Run the display port-error-info interface { interface-type interface-number | interface-nameommand in the interface view to check the trap information about error codes/error packets of an interface.

Example

Run the display trap-info command on the GE interface 0/1/0.
<HUAWEI> system-view
[~HUAWEI] interface gigabitethernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] display trap-info
==========================================================================
Gigabiethernet0/1/0 trap information
================|=========================================================
trapEnable high-threshold low-threshold interval downFlag alarmFlag Statistics
----------------|---------------------------------------------------------
crc-error       enable   3      3     10       disable  alarm    100
input-error     enable   1000   100   10       disable  none     0
output-error    enable   1000   100   10       disable  none     0
symbol-error    enable   1000   100   10       disable  none     0
local-fault    	enable   -   	-     -        -		none     - 
remote-fault   	enable   -   	-     -        -		none     -
hi-ber    		enable   -   	-	  -        -		none     -
bip8-sd    		enable   6   	7     -        disable  none     -

BIP8 statistics: EB 1000, ES 50, SES 20, UAS 15, BBE 800.
Run the display port-error-info command on the GE interface 0/1/0:
<HUAWEI> system-view
[~HUAWEI] interface gigabitethernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] display port-error-info interface GigabitEthernet 0/1/0
GigabitEthernet0/1/0 port-error information 
GigabitEthernet0/1/0 port-error information

================================================================================

 b1tca                    | b2tca                    | b3tca

--------------------------------------------------------------------------------

 trap enable : Yes        | trap enable : Yes        | trap enable : Yes

 trigger down: No         | trigger down: No         | trigger down: No

 alarm status: No         | alarm status: No         | alarm status: No

 threshold   : 6 (10e-n)  | threshold   : 6 (10e-n)  | threshold   : 6 (10e-n)

================================================================================

 sdh-b1-error             | sdh-b2-error             | sdh-error

--------------------------------------------------------------------------------

 trap enable : Yes        | trap enable : Yes        | trap enable : Yes

 trigger down: No         | trigger down: No         | trigger down: No

 alarm status: No         | alarm status: No         | alarm status: No

 threshold   : 3          | threshold   : 3          | threshold   : 3

 interval    : 10    sec. | interval    : 10    sec. | interval    : 10    sec.

 stat(h)     : 0          | stat(h)     : 0          | stat(h)     : 0

 stat(l)     : 0          | stat(l)     : 0          | stat(l)     : 0

================================================================================

 sdbere                                 | sfbere

--------------------------------------------------------------------------------

 trap enable    : Yes                   | trap enable    : Yes

 trigger down   : No                    | trigger down   : No

 alarm status   : No                    | alarm status   : No

 threshold      : 6(10e-n)              | threshold      : 3(10e-n)

================================================================================

 input-error                            | output-error

--------------------------------------------------------------------------------

 trap enable    : Yes                   | trap enable    : Yes

 trigger down   : No                    | trigger down   : No

 alarm status   : No                    | alarm status   : No

 threshold high : 1000                  | threshold high : 1000

 threshold low  : 100                   | threshold low  : 100

 interval       : 10    sec.            | interval       : 10    sec.

 stat(h)        : 0                     | stat(h)        : 0

 stat(l)        : 0                     | stat(l)        : 0

================================================================================

 crc-error                              | symbol-error

--------------------------------------------------------------------------------

 trap enable    : Yes                   | trap enable    : Yes

 trigger down   : No                    | trigger down   : No

 alarm status   : No                    | alarm status   : No

 threshold high : 3                     | threshold high : 1000

 threshold low  : 3                     | threshold low  : 100

 percent        : 0                     | N/A            : N/A

 interval       : 10    sec.            | interval       : 10    sec.

 stat(h)        : 0                     | stat(h)        : 0

 stat(l)        : 0                     | stat(l)        : 0
Download
Updated: 2019-01-02

Document ID: EDOC1100058380

Views: 2043

Downloads: 15

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next