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

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
iPCA Configuration Commands

iPCA Configuration Commands

NOTE:

Only the CE6880EI supports iPCA.

ach

Function

The ach command creates an Atomic Closed Hop (ACH) and displays the ACH view. If an ACH has already been created, the command directly displays the ACH view.

The undo ach command deletes an ACH and all configurations in the ACH view.

By default, no ACH is created.

Format

ach ach-id

undo ach ach-id

Parameters

Parameter Description Value
ach-id Specifies an ACH ID.

The value is an integer ranging from 1 to 2147483647.

Views

IPFPM-MCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An ACH comprises two target logical ports (TLPs) and identifies a range between two measurement points. To create an ACH for an IP FPM instance, run the ach command so that the target flow direction and measurement points can be configured for IP Forward Performance Monitoring (FPM) hop-by-hop performance statistics.

Prerequisites

The instance command has been run to configure an IP FPM instance on a measurement control point (MCP).

Example

# Create an ACH.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] ach 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] commit

authentication-mode (IPFPM-DCP view)

Function

The authentication-mode command configures the authentication mode and password for a data collecting point (DCP).

The undo authentication-mode command deletes the authentication mode and password of a DCP.

By default, no authentication mode or password is configured for a DCP.

Format

authentication-mode hmac-sha256 key-id key-id [ cipher ] password

undo authentication-mode hmac-sha256

Parameters

Parameter Description Value
hmac-sha256

Indicates the hashed message authentication code - secure hash algorithm 256 (HMAC-SHA256) authentication algorithm to be used for packets sent by a DCP to an MCP.

-

key-id key-id

Specifies the key ID for an authentication password of a DCP.

The value is an integer ranging from 1 to 64.

cipher

Indicates that an authentication password is displayed in ciphertext.

-

password

Specifies the authentication password of a DCP.

The value is a string of characters.
  • The value ranges from 1 to 255 for simple passwords.
  • The value ranges from 24 or 32 to 432 for ciphertext passwords.

Views

IPFPM-DCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enhance network security and performance statistics reliability, run the authentication-mode command so that authentication is performed during IP FPM performance statistics. An MCP and its associated DCPs must have the same authentication mode and password configured. The MCP processes packets only from the authenticated DCPs.

Prerequisites

The nqa ipfpm dcp command has been run to enable DCP globally.

Precautions

Example

# Configure the authentication mode and password for a DCP.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] authentication-mode hmac-sha256 key-id 1 cipher Huawei-123

authentication-mode (IPFPM-MCP view)

Function

The authentication-mode command configures the authentication mode and password for a measurement control point (MCP) in the IP Flow Performance Measurement (IP FPM) model.

The undo authentication-mode command deletes the authentication mode and password of an MCP in the IP FPM model.

By default, no authentication mode or password is configured for an MCP in the IP FPM model.

Format

authentication-mode hmac-sha256 key-id key-id [ cipher ] password

undo authentication-mode hmac-sha256 key-id key-id

Parameters

Parameter Description Value
hmac-sha256

Indicates the HMAC-SHA256 authentication algorithm to be used for packets sent by a DCP to an MCP.

-

key-id key-id

Specifies the key ID for an authentication password of an MCP.

The value is an integer ranging from 1 to 64.

cipher

Indicates that an authentication password is displayed in ciphertext.

-

password

Specifies the authentication password of an MCP.

The value is a string of characters.
  • The value ranges from 1 to 255 for simple passwords. The value is a string of case-sensitive characters, spaces not supported.
  • The value ranges from 24 or 32 to 432 for ciphertext passwords. The value is a string of case-sensitive characters, spaces not supported.

Views

IPFPM-MCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enhance network security and performance statistics reliability, run the authentication-mode command so that authentication is performed during IP FPM performance statistics. An MCP and its associated DCPs must have the same authentication mode and password configured. The MCP processes packets only from the authenticated DCPs.

Prerequisites

The nqa ipfpm mcp command has been run to enable MCP globally.

Precautions

The authentication mode and password configured on an MCP must be the same as those configured on the DCPs associated with this MCP. Otherwise, the MCP cannot process the statistics reported by the DCPs.

Example

# Configure the authentication mode and password for an MCP.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] authentication-mode hmac-sha256 key-id 1 cipher Huawei-123

authentication-mode (IPFPM-DCP instance view)

Function

The authentication-mode command configures the authentication mode and password for an IP Flow Performance Measurement (IP FPM) instance.

The undo authentication-mode command deletes the authentication mode and password of an IP FPM instance.

By default, no authentication mode or password is configured for an IP FPM instance.

Format

authentication-mode hmac-sha256 key-id key-id [ cipher ] password

undo authentication-mode hmac-sha256

Parameters

Parameter Description Value
hmac-sha256

Indicates the HMAC-SHA256 authentication algorithm to be used for packets sent by a DCP to an MCP.

-

key-id key-id

Specifies the key ID for an authentication password of an IP FPM instance.

The value is an integer ranging from 1 to 64.

cipher

Indicates that an authentication password is displayed in ciphertext.

-

password

Specifies the authentication password of an IP FPM instance.

The value is a string of characters.
  • The value ranges from 1 to 255 for simple passwords.
  • The value ranges from 24 or 32 to 432 for ciphertext passwords.

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enhance network security and performance statistics reliability, run the authentication-mode command so that authentication is performed during IP FPM performance statistics. An MCP and its associated DCPs must have the same authentication mode and password configured. The MCP processes packets only from the authenticated DCPs.

Prerequisites

The instance command has been run to configure an IP FPM instance on a DCP.

Precautions

If no authentication mode or password is configured for an IP FPM instance on a DCP, the authentication mode and password configured for the DCP takes effect. If the authentication mode and password are configured in both the DCP view and IP FPM instance view, the configuration in the IP FPM instance view takes effect.

Example

# Configure the authentication mode and password for an IP FPM instance.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] authentication-mode hmac-sha256 key-id 1 cipher Huawei-123
[*HUAWEI-nqa-ipfpm-dcp-instance-1] commit

color-flag

Function

The color-flag command configures measurement flags.

The undo color-flag command restores the default measurement flags.

By default, the sixth bit in the type of service (ToS) field of the IPv4 packet header is used as the loss measurement flag; the seventh bit in the ToS field of the IPv4 packet header is used as the delay measurement flag. Using the default configurations is recommended.

Format

color-flag loss-measure { tos-bit tos-bit | flags-bit0 } delay-measure { tos-bit tos-bit | flags-bit0 }

color-flag loss-measure { tos-bit tos-bit | flags-bit0 } delay-measure none

undo color-flag

Parameters

Parameter Description Value
loss-measure

Indicates IP Flow Performance Measurement (IP FPM) packet loss measurement.

-

tos-bit tos-bit

Specifies a bit from the third to seventh bits in the ToS field of the IPv4 packet header as a measurement flag.

The value is an integer ranging from 3 to 7.

flags-bit0

Specifies Bit 0 in the Flags field of the IPv4 packet header as a measurement flag.

-

delay-measure

Indicates IP FPM delay measurement.

-

none

Indicates that no measurement flags are set.

-

Views

IPFPM-DCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before using IP FPM to measure network performance, run the color-flag command to specify a bit as a measurement flag based on network planning.

Prerequisites

The nqa ipfpm dcp command has been run to enable DCP globally.

Precautions

The loss and delay measurement flags cannot use the same bit, and the bits used for loss and delay measurement must not have been used in other measurement tasks.

Example

# Configure IP FPM measurement flags.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] color-flag loss-measure tos-bit 3 delay-measure tos-bit 4
Related Topics

dcp

Function

The dcp command specifies a data collecting point (DCP) ID for an IP Flow Performance Measurement (IP FPM) instance on a measurement control point (MCP).

The undo dcp command deletes a DCP ID from an IP FPM instance on an MCP.

By default, no DCP ID is specified for an IP FPM instance on an MCP.

Format

dcp dcp-id

undo dcp [ dcp-id ]

Parameters

Parameter Description Value
dcp-id

Specifies the DCP ID of an IP FPM instance on an MCP.

This value is in dotted decimal notation.

Views

IPFPM-MCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An IP FPM instance contains one or more DCPs. To specify DCP IDs for an IP FPM instance after it is created on an MCP, run the dcp command so that the MCP can determine whether the statistics are reported from authenticated DCPs.

Prerequisites

The instance command has been run to configure an IP FPM instance on an MCP.

Precautions

The DCP ID specified for an IP FPM instance on an MCP must be the same as that configured in the dcp id command on a DCP.

Configuration Impact

If dcp-id is not specified, the undo dcp command deletes all DCP IDs from a specified IP FPM instance on an MCP.

Example

# Specify a DCP ID for IP FPM instance 1 on an MCP.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] dcp 10.1.1.1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] commit

dcp id

Function

The dcp id command configures a data collecting point (DCP) ID.

The undo dcp id command deletes a DCP ID.

By default, no DCP ID is configured.

Format

dcp id dcp-id

undo dcp id

Parameters

Parameter Description Value
dcp-id

Specifies the ID of a DCP in the IP FPM model.

Using the Router ID of a device that is configured as a DCP as its DCP ID is recommended.

This value is in dotted decimal notation.

Views

IPFPM-DCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To allow communication between an MCP and a DCP, run the dcp id command to configure a DCP ID. After the DCP receives the statistics for an IP FPM instance from TLPs, the DCP encapsulates the statistics and the DCP ID to packets and sends the packets with the DCP ID set to the source IP address. After the MCP receives the packets, it compares the DCP ID carried in the packets with that configured in the dcp command run on itself.
  • If the two DCP IDs are the same, the MCP accepts the packets and summarizes and calculates the statistics.
  • If the two DCP IDs are different, the MCP considers the packets invalid and discards them.

Prerequisites

The nqa ipfpm dcp command has been run to enable DCP globally.

Precautions

The DCP ID configured in an IP FPM instance must be the same as that specified in the dcp command run on an MCP. Otherwise, the MCP associated with this DCP cannot process the statistics reported by the DCP.

Example

# Configure a DCP ID.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] dcp id 10.1.1.1

delay-measure enable one-way

Function

The delay-measure enable one-way command enables on-demand one-way delay measurement for an IP Flow Performance Measurement (IP FPM) instance.

By default, on-demand one-way delay measurement of an IP FPM instance is disabled.

Format

delay-measure enable one-way tlp tlp-id [ time-range time-range ]

Parameters

Parameter Description Value
tlp

Enables one-way delay measurement for TLPs.

-

tlp-id

Specifies a TLP for one-way delay measurement.

The value is an integer ranging from 1 to 16777215.

time-range time-range

Specifies the statistical period for on-demand one-way delay measurement.

The value is an integer that can be 5, 10, 15, or 30, in minutes.

The default value is 10 m.

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The IP FPM performance statistics serve as a reliable reference for assessing IP network performance and therefore are useful for fault diagnosis and service statistics. To monitor one-way delay performance in a specified period, run the delay-measure enable one-way command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

After a master/slave main control board switchover or a device restart, on-demand one-way delay measurement does not take effect any longer.

On-demand one-way delay measurement cannot function together with on-demand or proactive two-way delay measurement.

Example

# Enable on-demand one-way delay measurement for an IP FPM instance.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 100 in-point ingress
[*HUAWEI-nqa-ipfpm-dcp-instance-1] delay-measure enable one-way tlp 100

delay-measure enable one-way tlp mid-point

Function

The delay-measure enable one-way tlp mid-point command enables delay measurement on a mid-point.

The undo delay-measure enable one-way tlp mid-point command disables delay measurement on a mid-point.

By default, delay measurement is disabled on a mid-point from an IP Flow Performance Monitor (IP FPM) instance.

Format

delay-measure enable one-way tlp mid-point [ time-range time-range | continual ]

undo delay-measure enable one-way tlp mid-point [ continual ]

Parameters

Parameter Description Value
time-range time-range

Specifies a time range for delay measurement on a mid-point.

The value is an integer that can be 5, 10, 15, or 30, in minutes.

The default value is 10 minutes.

continual

Indicates proactive delay measurement.

-

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The IP FPM performance statistics serve as a reliable reference for assessing IP network performance and therefore are useful for fault diagnosis and service statistics. To diagnose network faults and locate faulty nodes when network performance deteriorates, run the delay-measure enable mid-point command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

If a master/slave switchover is performed, or the device is restarted, delay measurement on the mid-point will become invalid. You must reconfigure the function.

Example

# Enable delay measurement on a mid-point in an IP FPM instance.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 100 in-point ingress
[*HUAWEI-nqa-ipfpm-dcp-instance-1] delay-measure enable one-way tlp mid-point time-range 30

delay-measure enable one-way continual

Function

The delay-measure enable one-way continual command enables proactive one-way delay measurement for an IP Flow Performance Measurement (IP FPM) instance.

The undo delay-measure enable command disables proactive delay measurement of an IP FPM instance.

By default, proactive one-way delay measurement of an IP FPM instance is disabled.

Format

delay-measure enable one-way tlp tlp-id continual

undo delay-measure enable

Parameters

Parameter Description Value
tlp tlp-id

Specifies a TLP ID for proactive one-way delay measurement.

The value is an integer ranging from 1 to 16777215.

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To detect faults when network performance deteriorates and monitor proactive one-way delay performance, run the delay-measure enable one-way continual command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

Proactive one-way delay measurement cannot function together with on-demand or proactive two-way delay measurement.

Example

# Enable proactive one-way delay measurement for an IP FPM instance.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 100 in-point ingress
[*HUAWEI-nqa-ipfpm-dcp-instance-1] delay-measure enable one-way tlp 100 continual

delay-measure enable two-way

Function

The delay-measure enable two-way command enables hop-by-hop two-way delay measurement for an IP Flow Performance Measurement (IP FPM) instance.

The undo delay-measure enable command disables hop-by-hop two-way delay measurement for an IP Flow Performance Measurement (IP FPM) instance.

By default, on-demand two-way delay measurement of an IP FPM instance is disabled.

Format

delay-measure enable two-way tlp tlp-id1 [ tlp-id2 ] [ time-range time-range ]

undo delay-measure enable

Parameters

Parameter Description Value
tlp tlp-id1 [ tlp-id2 ]

Specifies a TLP ID for on-demand two-way delay measurement.

The value is an integer ranging from 1 to 16777215.

time-range time-range

Specifies the statistical period for on-demand two-way delay measurement.

The value is an integer that can be 5, 10, 15, or 30, in minutes.

The default value is 10 minutes.

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The IP FPM performance statistics serve as a reliable reference for assessing IP network performance and therefore are useful for fault diagnosis and service statistics. To monitor two-way delay performance in a specified period or diagnose network faults and locate faulty nodes when network performance deteriorates, run the delay-measure enable two-way command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

Before implementing two-way delay measurement, ensure that the target flow in the IP FPM instance is bidirectional.

After a master/slave main control board switchover or a device restart, on-demand two-way delay measurement does not take effect any longer.

On-demand two-way delay measurement cannot function together with on-demand or proactive one-way delay measurement.

Example

# Enable on-demand two-way delay measurement for an IP FPM instance.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 100 in-point ingress
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 200 out-point egress
[*HUAWEI-nqa-ipfpm-dcp-instance-1] delay-measure enable two-way tlp 100 200 time-range 15

delay-measure enable two-way tlp mid-point

Function

The delay-measure enable two-way tlp mid-point command enables delay measurement on a mid-point.

The undo delay-measure enable two-way tlp mid-point command disables delay measurement on a mid-point.

By default, delay measurement is disabled on a mid-point from an IP Flow Performance Monitor (IP FPM) instance.

Format

delay-measure enable two-way tlp mid-point [ time-range time-range | continual ]

undo delay-measure enable two-way tlp mid-point [ continual ]

Parameters

Parameter Description Value
time-range time-range

Specifies a time range for delay measurement on a mid-point.

The value is an integer that can be 5, 10, 15, or 30, in minutes.

The default value is 10 minutes.

continual

Indicates proactive delay measurement.

-

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The IP FPM performance statistics serve as a reliable reference for assessing IP network performance and therefore are useful for fault diagnosis and service statistics. To diagnose network faults and locate faulty nodes when network performance deteriorates, run the delay-measure enable mid-point command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

If a master/slave switchover is performed, or the device is restarted, delay measurement on the mid-point will become invalid. You must reconfigure the function.

Example

# Enable delay measurement on a mid-point in an IP FPM instance.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 200 mid-point flow forward ingress
[*HUAWEI-nqa-ipfpm-dcp-instance-1] delay-measure enable two-way tlp mid-point time-range 30

delay-measure enable two-way continual

Function

The delay-measure enable two-way continual command enables proactive two-way delay measurement for an IP Flow Performance Measurement (IP FPM) instance.

The undo delay-measure enable command disables proactive delay measurement of an IP FPM instance.

By default, proactive two-way delay measurement is disabled from an IP FPM instance.

Format

delay-measure enable two-way tlp tlp-id1 [ tlp-id2 ] continual

undo delay-measure enable

Parameters

Parameter Description Value
tlp tlp-id1 [ tlp-id2 ]

Specifies a TLP ID for proactive two-way delay measurement.

The value is an integer ranging from 1 to 16777215.

continual

Indicates proactive delay measurement.

-

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To detect faults when network performance deteriorates and monitor proactive two-way delay performance, run the delay-measure enable two-way continual command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

Before implementing two-way delay measurement, ensure that the target flow in the IP FPM instance is bidirectional.

Proactive two-way delay measurement cannot function together with on-demand or proactive one-way delay measurement.

Example

# Enable proactive two-way delay measurement for an IP FPM instance.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 100 in-point ingress
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 100 out-point egress
[*HUAWEI-nqa-ipfpm-dcp-instance-1] delay-measure enable two-way tlp 100 200 continual

delay-measure one-way delay-threshold (IPFPM-MCP instance view)

Function

The delay-measure one-way delay-threshold command configures the one-way delay alarm threshold and its clear alarm threshold.

The undo delay-measure one-way delay-threshold command restores the default one-way delay alarm threshold and its clear alarm threshold.

By default, the one-way delay alarm threshold and its clear alarm threshold are not configured, meaning that the system does not generate a one-way delay alarm or clear alarm.

Format

delay-measure one-way delay-threshold upper-limit upper-limit lower-limit lower-limit

undo delay-measure one-way delay-threshold

Parameters

Parameter Description Value
upper-limit upper-limit

Specifies the one-way delay alarm threshold.

The value is an integer ranging from 1 to 2147483647, in microseconds.

lower-limit lower-limit

Specifies the one-way delay clear alarm threshold.

The value is an integer ranging from 1 to 2147483647, in microseconds.

lower-limit must be less than or equal to upper-limit.

Views

IPFPM-MCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An IP FPM statistical period is an interval between when a TLP counts the number of packets or bytes and when the TLP records the send and receive timestamps. The period can be set to 10s, 60s, or 600s. By default, the IP FPM statistical period is 10s.

To configure the one-way delay alarm threshold and its clear alarm threshold, run the delay-measure one-way delay-threshold command. The conditions for alarm generation are as follows:

  • If the one-way delay for five statistical periods exceeds the configured upper-limit, the hwIpfpmOneDelayExceed alarm is generated, and the link fault occurrence is notified in real time.
  • If the one-way delay for five statistical periods falls below the configured lower-limit, the hwIpfpmOneDelayRecovery alarm is generated, and the link fault rectification is notified in real time.

To help network operation and maintenance, run the delay-measure one-way delay-threshold command based on network performance requirements.

Precautions

If the delay-measure one-way delay-threshold command is run more than once, the latest configuration overrides the previous one.

The delay-measure one-way delay-threshold command only configures the thresholds. The system generates a one-way delay alarm or its clear alarm only when the one-way delay alarm or its clear alarm function is enabled and the one-way delay for five statistical periods reaches the configured alarm threshold or falls below the configured clear alarm threshold.

Example

# Configure the one-way delay alarm threshold and its clear alarm threshold.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] delay-measure one-way delay-threshold upper-limit 10 lower-limit 5

delay-measure two-way delay-threshold (IPFPM-MCP instance view)

Function

The delay-measure two-way delay-threshold command configures the two-way delay alarm threshold and its clear alarm threshold.

The undo delay-measure two-way delay-threshold command restores the default two-way delay alarm threshold and its clear alarm threshold.

By default, the two-way delay alarm threshold and its clear alarm threshold are not configured, meaning that the system does not generate a two-way delay alarm or clear alarm.

Format

delay-measure two-way delay-threshold upper-limit upper-limit lower-limit lower-limit

undo delay-measure two-way delay-threshold

Parameters

Parameter Description Value
upper-limit upper-limit

Specifies the two-way delay alarm threshold.

The value is an integer ranging from 1 to 2147483647, in microseconds.

lower-limit lower-limit

Specifies the two-way delay clear alarm threshold.

The value is an integer ranging from 1 to 2147483647, in microseconds.

lower-limit must be less than or equal to upper-limit.

Views

IPFPM-MCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An IP FPM statistical period is an interval between when a TLP counts the number of packets or bytes and when the TLP records the send and receive timestamps. The period can be set to 10s, 60s, or 600s. By default, the IP FPM statistical period is 10s.

To configure the two-way delay alarm threshold and its clear alarm threshold, run the delay-measure two-way delay-threshold command. The conditions for alarm generation are as follows:

  • If the two-way delay for five statistical periods exceeds the configured upper-limit, the hwIpfpmTwoDelayExceed alarm is generated, and the link fault occurrence is notified in real time.
  • If the two-way delay for five statistical periods falls below the configured lower-limit, the wIpfpmTwoDelayRecovery alarm is generated, and the link fault rectification is notified in real time.

To help network operation and maintenance, run the delay-measure two-way delay-threshold command based on network performance requirements.

Precautions

If the delay-measure two-way delay-threshold command is run more than once, the latest configuration overrides the previous one.

The delay-measure two-way delay-threshold command only configures the thresholds. The system generates a two-way delay alarm or its clear alarm only when the two-way delay alarm or its clear alarm function is enabled and the two-way delay for five statistical periods reaches the configured alarm threshold or falls below the configured clear alarm threshold.

Example

# Configure the two-way delay alarm threshold and its clear alarm threshold.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] delay-measure two-way delay-threshold upper-limit 10 lower-limit 5

description (IPFPM-MCP instance view)

Function

The description command configures the description for an IP Flow Performance Measurement (IP FPM) instance.

The undo description command deletes the description of an IP FPM instance.

By default, no description is configured for an IP FPM instance.

Format

description text

undo description

Parameters

Parameter Description Value
text

Specifies the description of an IP FPM instance.

The value is a string of 1 to 64 case-sensitive characters, spaces supported.

Views

IPFPM-MCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To help understand the services monitored by an IP FPM instance and the functions of the instance, run the description command to configure the description that shows detailed functions of the instance.

An IP FPM instance is identified by an integer ID, and therefore its functions are not easy to understand. Configuring the description for an IP FPM instance is recommended in the following situations:
  • Many IP FPM instances are configured, and their functions cannot be clearly identified.
  • An IP FPM instance is used at a long interval, and its function may be left forgotten.

Precautions

If an IP FPM instance is configured but does not have a description, it may be misused.

Example

# Configure the description for IP FPM instance 1.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] description NanJinToHeFei

description (IPFPM-DCP instance view)

Function

The description command configures the description for an IP Flow Performance Measurement (IP FPM) instance.

The undo description command deletes the description of an IP FPM instance.

By default, no description is configured for an IP FPM instance.

Format

description text

undo description

Parameters

Parameter Description Value
text

Specifies the description of an IP FPM instance.

The value is a string of 1 to 64 case-sensitive characters, spaces supported.

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To help understand the services monitored by an IP FPM instance and instance functions, run the description command to configure the description that shows detailed functions of the instance.

An IP FPM instance is identified by an integer ID, and therefore its functions are not easy to understand. Configuring the description for an IP FPM instance is recommended in the following situations:
  • Many IP FPM instances are configured, and their functions cannot be clearly identified.
  • An IP FPM instance is used at a long interval, and its function may be left forgotten.

Precautions

If an IP FPM instance is configured but does not have a description, it may be misused.

Example

# Configure the description for IP FPM instance 1.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] description NanJinToHeFei

display ipfpm dcp

Function

The display ipfpm dcp command displays data collecting point (DCP) configurations.

Format

display ipfpm dcp

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To check whether DCP configurations are correct, run the display ipfpm dcp command.

Example

# Display DCP configurations.

<HUAWEI> display ipfpm dcp
Specification Information(Main Board):
 Max Instance Number                        :2048
 Max 10s Instance Number                    :2048
 Max 1s Instance Number                     :0
 Max TLP Number                             :2048
 Max TLP Number Per Instance                :64
 
 Specification Information(IO Board):
 Board ID: 3
 Max 1s Instance Number                     :0
 Max non-1s Instance Number                 :2048
 Max TLP Number                             :1024
 
 Board ID: 4
 Max 1s Instance Number                     :0
 Max non-1s Instance Number                 :2048
 Max TLP Number                             :1024
 
 Configuration Information:
 DCP ID                                     : --
 Loss-measure Flag                          : tos-bit6(default)
 Delay-measure Flag                         : tos-bit7(default)
 Authentication Mode                        : --
 Test Instances MCP ID                      : --
 Test Instances MCP Port                    : 65030(default)
 Current Instance Number                    : 1 
Table 18-91  Description of the display ipfpm dcp command output

Item

Description

Specification Information(Main Board)

Specifications for the main board

Max Instance Number

Maximum number of IP FPM instances supported by the main board

Max 10s Instance Number

Maximum number of IP FPM instances with the period of 10 seconds supported by the main board

Max 1s Instance Number

Maximum number of IP FPM instances with the period of 1 second supported by the main board

Max non-1s Instance Number

Maximum number of IP FPM instances with the period of 1 second supported by the IPU

Board ID

Board ID

Max TLP Number

Maximum number of TLPs supported by the main board

Max TLP Number Per Instance

Maximum number of TLPs supported by each IP FPM instance on the main board

Configuration Information

DCP configurations

DCP ID

Data collecting point ID

Loss-measure Flag

Packet loss measurement flag:
  • tos-bit3: third bit in the ToS field of the IPv4 packet header
  • tos-bit4: fourth bit in the ToS field of the IPv4 packet header
  • tos-bit5: fifth bit in the ToS field of the IPv4 packet header
  • tos-bit6: sixth bit in the ToS field of the IPv4 packet header
  • tos-bit7: seventh bit in the ToS field of the IPv4 packet header
  • flag-bit0: Bit 0 in the Flags field of the IPv4 packet header

Delay-measure Flag

Delay measurement flag:
  • tos-bit3: third bit in the ToS field of the IPv4 packet header
  • tos-bit4: fourth bit in the ToS field of the IPv4 packet header
  • tos-bit5: fifth bit in the ToS field of the IPv4 packet header
  • tos-bit6: sixth bit in the ToS field of the IPv4 packet header
  • tos-bit7: seventh bit in the ToS field of the IPv4 packet header
  • flag-bit0: Bit 0 in the Flags field of the IPv4 packet header

Authentication Mode

Authentication mode for the DCP:
  • hmac-sha256: HMAC-SHA256 authentication
  • --: non-authentication

Test Instances MCP ID

Measurement control point ID in the IP FPM instance

Test Instances MCP Port

User Datagram Protocol port number used by the DCP to communicate with the MCP in the IP FPM instance

Current Instance Number

Number of IP FPM instances

Related Topics

display ipfpm mcp

Function

The display ipfpm mcp command displays measurement control point (MCP) configurations.

Format

display ipfpm mcp

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To check whether MCP configurations are correct, run the display ipfpm mcp command.

Example

# Display MCP configurations.

<HUAWEI> display ipfpm mcp
Specification Information:
 Max Instance Number                       :64
 Max DCP Number Per Instance               :256
 Max ACH Number Per Instance               :16
 Max TLP Number Per ACH                    :16
 Max TLP Number managed by MCP             :4350
 Max ACH Number managed by MCP             :400

Configuration Information:
 MCP ID                                    :1.1.1.1
 Status                                    :Active
 Protocol Port                             :2048
 Current Instance Number                   :1
Table 18-92  Description of the display ipfpm mcp command output

Item

Description

Specification Information

Specifications for the MCP

Max Instance Number

Maximum number of IP FPM instances supported by the MCP

Max DCP Number Per Instance

Maximum number of DCPs supported by each IP FPM instance on the MCP

Max ACH Number Per Instance

Maximum number of ACHs supported by each IP FPM instance on the MCP

Max TLP Number Per ACH

Maximum number of TLPs supported by each ACH on the MCP

Configuration Information

MCP configurations

MCP ID

Measurement control point ID

Status

MCP status:
  • Active
  • Deleting

Protocol Port

UDP port number used for the MCP to communicate with DCPs

Current Instance Number

Number of IP FPM instances

Max TLP Number managed by MCP

Maximum number of instance-specific TLPs corresponding to DCPs that can be managed by the MCP. For a statistical instance of which the statistical period is 1s, the number of used instance-specific ACHs is 10 times the actual number of instance-specific ACHs. For a statistical instance of which the statistical period is 10s or longer, the number of used instance-specific ACHs is the same as the actual number of instance-specific ACHs.

Max ACH Number managed by MCP

Maximum number of ACHs that can be queried in real time. For a statistical instance of which the statistical period is 1s, the number of queried ACHs is 10 times the actual number of queried ACHs. For a statistical instance of which the statistical period is 10s or longer, the number of queried ACHs is the same as the actual number of queried ACHs.

Related Topics

display ipfpm statistic-type

Function

The display ipfpm statistic-type command displays performance statistics for an IP Flow Performance Measurement (IP FPM) instance.

Format

display ipfpm statistic-type loss instance instance-id [ ach ach-id ]

display ipfpm statistic-type { oneway-delay | twoway-delay } instance instance-id [ ach ach-id ]

Parameters

Parameter Description Value
loss

Displays packet loss statistics.

-

oneway-delay

Displays one-way delay statistics.

-

twoway-delay

Displays two-way delay statistics.

-

instance instance-id

Specifies an IP FPM instance ID.

The value is an integer ranging from 1 to 8355838.

ach ach-id

Displays hop-by-hop performance statistics for an ACH.

The value is an integer ranging from 1 to 2147483647.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To check the number of discarded packets, packet loss rate, one-way and two-way delay statistics, and jitter of an IP FPM instance, run the display ipfpm statistic-type command. To locate and diagnose network faults when network performance deteriorates, run the display ipfpm statistic-type command with ach configured to check statistics for a specified ACH.

Precautions

This command is valid only on MCPs.

The first statistics collected may not be accurate, therefore, using subsequent statistics as a reference for network performance is recommended.

Example

# Display the packet loss statistics for IP FPM instance 1 on an MCP.

<HUAWEI> display ipfpm statistic-type loss instance 1
Latest loss statistics of forward flow:
Unit: p - packet, b - byte      
------------------------------------------------------------------------------------------ 
 TimeStamp            Loss(p)              LossRatio(p)  Loss(b)              LossRatio(b) 
------------------------------------------------------------------------------------------ 
 136118757            20                      20.000000% 2000                   20.000000%
 136118756            20                      20.000000% 2000                   20.000000%
 136118755            20                      20.000000% 2000                   20.000000%
 136118753            20                      20.000000% 2000                   20.000000%
 136118752            20                      20.000000% 2000                   20.000000%
 136118751            20                      20.000000% 2000                   20.000000%
 136118750            20                      20.000000% 2000                   20.000000%
 136118749            20                      20.000000% 2000                   20.000000%
 136118748            20                      20.000000% 2000                   20.000000%
 136118747            20                      20.000000% 2000                   20.000000%
 136118746            20                      20.000000% 2000                   20.000000%
 136118745            20                      20.000000% 2000                   20.000000%
           
Latest loss statistics of backward flow:
Unit: p - packet, b - byte      
------------------------------------------------------------------------------------------ 
 TimeStamp            Loss(p)              LossRatio(p)  Loss(b)              LossRatio(b) 
------------------------------------------------------------------------------------------ 
 136118757            20                      20.000000% 2000                   20.000000%
 136118756            20                      20.000000% 2000                   20.000000%
 136118755            20                      20.000000% 2000                   20.000000%
 136118753            20                      20.000000% 2000                   20.000000%
 136118752            20                      20.000000% 2000                   20.000000%
 136118751            20                      20.000000% 2000                   20.000000%
 136118750            20                      20.000000% 2000                   20.000000%
 136118749            20                      20.000000% 2000                   20.000000%
 136118748            20                      20.000000% 2000                   20.000000%
 136118747            20                      20.000000% 2000                   20.000000%
 136118746            20                      20.000000% 2000                   20.000000%
 136118745            20                      20.000000% 2000                   20.000000%

# Display the one-way delay statistics for IP FPM instance 1 on an MCP.

<HUAWEI> display ipfpm statistic-type oneway-delay instance 1
Latest one-way delay statistics of forward flow:
--------------------------------------------------
 TimeStamp            Delay(usec) Delay
                                  Variation(usec)
--------------------------------------------------
 136128501            400         0
 136128500            400         0
 136128499            400         0
 136128498            400         0
 136128497            400         0
 136128496            400         0
 136128495            400         0
 136128494            400         0
 136128493            400         0
 136128492            400         0
 136128491            400         0
 136128490            400         0
 136128489            400         0
 136128488            400         0

Latest one-way delay statistics of backward flow:
--------------------------------------------------
 TimeStamp            Delay(usec) Delay
                                  Variation(usec)
--------------------------------------------------
 136128501            400         0
 136128500            400         0
 136128499            400         0
 136128498            400         0
 136128497            400         0
 136128496            400         0
 136128495            400         0
 136128494            400         0
 136128493            400         0
 136128492            400         0
 136128491            400         0
 136128490            400         0
 136128489            400         0
 136128488            400         0

# Display the two-way delay statistics for IP FPM instance 1 on an MCP.

<HUAWEI> display ipfpm statistic-type twoway-delay instance 1
Latest two-way delay statistics:
--------------------------------------------------
 TimeStamp            Delay(usec) Delay
                                  Variation(usec)
--------------------------------------------------
 136118757            800         0
 136118756            800         0
 136118755            800         0
 136118753            800         0
 136118752            800         0
 136118751            800         0
 136118750            800         0
 136118749            800         0
 136118748            800         0
 136118747            800         0
 136118746            800         0
 136118745            800         0
                                
Latest one-way delay statistics of bidirectional flow:
--------------------------------------------------------------------------------
 TimeStamp            Forward     ForwardDelay    Backward    BackwardDelay     
                      Delay(usec) Variation(usec) Delay(usec) Variation(usec)   
--------------------------------------------------------------------------------
 136118757            400         0               400         0
 136118756            400         0               400         0
 136118755            400         0               400         0
 136118753            400         0               400         0
 136118752            400         0               400         0
 136118751            400         0               400         0
 136118750            400         0               400         0
 136118749            400         0               400         0
 136118748            400         0               400         0
 136118747            400         0               400         0
 136118746            400         0               400         0
 136118745            400         0               400         0
Table 18-93  Description of the display ipfpm statistic-type command output

Item

Description

Period

Statistical period ID

Loss(p)

Number of discarded packets

LossRatio(p)

Packet loss rate

Loss(b)

Number of discarded bytes

LossRatio(b)

Byte loss rate

Delay(usec)

Delay, in microseconds

DelayVariation(usec)

Jitter, in microseconds

ForwardDelay(usec)

Delay for the forward delay, in microseconds

ForwardDelayVariation(usec)

Jitter for the forward delay, in microseconds

BackwardDelay(usec)

Delay for the backward delay, in microseconds

BackwardDelayVariation(usec)

Jitter for the backward delay, in microseconds

# Display detailed one-way delay statistics for IP FPM instance 1.
<HUAWEI> display ipfpm statistic-type oneway-delay instance 1 verbose
Latest one-way delay statistics of forward flow:
--------------------------------------------------
 Period                     : 139878312  
 Delay(usec)                : 400 
 Delay Variation(usec)      : 0
 Source DCP/TLP             : 1.1.1.1/100     
 Destination DCP/TLP        : 2.2.2.2/101 
 
 Period                     : 139878312   
 Delay(usec)                : 400 
 Delay Variation(usec)      : 0
 Source DCP/TLP             : 3.3.3.3/100     
 Destination DCP/TLP        : 4.4.4.4/101 

Latest one-way delay statistics of backward flow:
--------------------------------------------------
 Period                     : 139878312 
 Delay(usec)                : 400 
 Delay Variation(usec)      : 0
 Source DCP/TLP             : 2.2.2.2/100     
 Destination DCP/TLP        : 1.1.1.1/101 

 Period                     : 139878312  
 Delay(usec)                : 400 
 Delay Variation(usec)      : 0
 Source DCP/TLP             : 4.4.4.4/100     
 Destination DCP/TLP        : 3.3.3.3/101
# Display detailed two-way delay statistics for IP FPM instance 1.
<HUAWEI> display ipfpm statistic-type twoway-delay instance 1 verbose
Latest two-way delay error statistics:
------------------------------------------------------------
 Period                              : 139878312 
 Delay(usec)                         : 400 
 Delay Variation(usec)               : 0
 Forward Delay(usec)                 : 400
 ForwardDelay Variation(usec)        : 0
 Backward Delay(usec)                : 400
 BackwardDelay Variation(usec)       : 0
 Forward Source DCP/TLP              : 4.4.4.4/100     
 Froward Destination DCP/TLP         : 3.3.3.3/100
 Backward Source DCP/TLP             : 3.3.3.3/101     
 Backward Destination DCP/TLP        : 4.4.4.4/101  

 Period                              : 139878312
 Delay(usec)                         : 400 
 Delay Variation(usec)               : 0 
 Forward Delay(usec)                 : 400
 ForwardDelay Variation(usec)        : 0
 Backward Delay(usec)                : 400
 BackwardDelay Variation(usec)       : 0
 Forward Source DCP/TLP              : 2.2.2.2/100     
 Froward Destination DCP/TLP         : 1.1.1.1/100
 Backward Source DCP/TLP             : 1.1.1.1/101     
 Backward Destination DCP/TLP        : 2.2.2.2/101
Table 18-94  Description of the display ipfpm statistic-type verbose command output

Item

Description

Period

Statistical period ID

Delay(usec)

Delay, in microseconds

DelayVariation(usec)

Jitter, in microseconds

Source DCP/TLP

Source DCP/TLP

Destination DCP/TLP

Destination DCP/TLP

ForwardDelay(usec)

Delay for the forward delay, in microseconds

ForwardDelayVariation(usec)

Jitter for the forward delay, in microseconds

BackwardDelay(usec)

Delay for the backward delay, in microseconds

BackwardDelayVariation(usec)

Jitter for the backward delay, in microseconds

Forward Source DCP/TLP

Source DCP/TLP for the forward flow

Froward Destination DCP/TLP

Destination DCP/TLP for the forward flow

Backward Source DCP/TLP

Source DCP/TLP for the backward flow

Backward Destination DCP/TLP

Destination DCP/TLP for the backward flow

display snmp-agent trap feature-name ipfpm all

Function

The display snmp-agent trap feature-name ipfpm all command displays configurations of all alarm functions of the IP Flow Performance Measurement (IP FPM) module.

Format

display snmp-agent trap feature-name ipfpm all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

To check whether the alarm functions of the IP FPM module are enabled, run the display snmp-agent trap feature-name ipfpm all command.

Example

# Display configurations of all alarm functions of the IP FPM module.

<HUAWEI> display snmp-agent trap feature-name ipfpm all
------------------------------------------------------------------------------
Feature name: IPFPM
Trap number : 7
------------------------------------------------------------------------------
Trap name                      Default switch status   Current switch status
hwIpfpmDcpFlowConflict         off                     off
hwIpfpmLossRatioExceed         off                     off
hwIpfpmLossRatioRecovery       off                     off
hwIpfpmOneDelayExceed          off                     off
hwIpfpmOneDelayRecovery        off                     off
hwIpfpmTwoDelayExceed          off                     off
hwIpfpmTwoDelayRecovery        off                     off
Table 18-95  Description of the display snmp-agent trap feature-name ipfpm all command output

Item

Description

Feature name

Name of the module to which the alarms are related

Trap number

Number of alarms

Trap name

Names of alarms related to the IP FPM module:
  • hwIpfpmDcpFlowConflict: flow characteristics conflict alarm
  • hwIpfpmLossRatioExceed: packet loss alarm
  • hwIpfpmLossRatioRecovery: packet loss clear alarm
  • hwIpfpmOneDelayExceed: one-way delay alarm
  • hwIpfpmOneDelayRecovery: one-way delay clear alarm
  • hwIpfpmTwoDelayExceed: two-way delay alarm
  • hwIpfpmTwoDelayRecovery: two-way delay clear alarm

Default switch status

Default alarm status:
  • on: The alarm function is enabled.
  • off: The alarm function is disabled.

Current switch status

Current alarm status:
  • on: The alarm function is enabled.
  • off: The alarm function is disabled.

out-group

Function

The out-group command creates a Target Logical Port (TLP) out-group for the target flow.

The undo out-group command deletes a TLP out-group or deletes a TLP from a TLP out-group.

By default, no TLP out-group is configured for the target flow.

Format

out-group dcp dcp-id tlp tlp-id

undo out-group [ dcp dcp-id tlp tlp-id ]

Parameters

Parameter Description Value
dcp dcp-id Specifies the ID of a DCP to which TLPs in a TLP out-group belongs.

This value is in dotted decimal notation.

tlp tlp-id Specifies the ID of a TLP in a TLP out-group.

The value is an integer ranging from 1 to 16777215.

Views

IPFPM-MCP-ACH view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To measure the packet loss or delay of service packets leaving a network, run the out-group command. In IP FPM hop-by-hop performance statistics scenarios, a hop is a set of links and interfaces that service packets travel through, from one measurement point or group to the next measurement point or group, and therefore is represented by TLP in-group or TLP out-group. Performance statistics are implemented on the TLP in-point or in-group through which service packets enter a network and the TLP out-point or out-group through which service packets leave the network.

Prerequisites

The ach command has been run to create an ACH and display the ACH view.

Example

# Create a TLP out-group for the target flow.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] ach 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1-ach-1] out-group dcp 10.1.1.1 tlp 100

flow (IPFPM-MCP-ACH view)

Function

The flow command configures the target flow direction in the Atomic Closed Hop (ACH) view.

The undo flow command deletes the target flow direction in the ACH view.

By default, no direction is configured for target flows in the ACH view.

Format

flow { forward | backward | bidirectional }

undo flow

Parameters

Parameter Description Value
forward Indicates the forward target flow.

-

backward Indicates the backward target flow.

-

bidirectional Indicates the symmetrical bidirectional target flow.

-

Views

IPFPM-MCP-ACH view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Run the flow command in IP FPM hop-by-hop performance statistics scenarios.

Prerequisites

The ach command has been run to create an ACH and display the ACH view.

Example

# Configure the forward target flow in the ACH view.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] ach 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1-ach-1] flow forward

flow (IPFPM-DCP instance view)

Function

The flow command configures the target flow characteristics for an IP Flow Performance Measurement (IP FPM) instance.

The undo flow command deletes the target flow characteristics of an IP FPM instance.

By default, no characteristics are configured for the target flow of an IP FPM instance.

Format

flow { forward | backward | bidirectional } { dscp dscp-value | source src-ip-address [ src-mask-length ] | destination dest-ip-address [ dest-mask-length ] | protocol { { tcp | udp } { source-port src-port-number1 [ to src-port-number2 ] | destination-port dest-port-number1 [ to dest-port-number2 ] } * | { protocol-number } } | vxlan [ vni vni-id ] } *

undo flow { forward | backward | bidirectional }

Parameters

Parameter Description Value
forward Indicates the forward target flow. -
backward Indicates the backward target flow. -
bidirectional Indicates the symmetrical bidirectional target flow.
NOTE:
If the target flow is symmetrical bidirectional, set src-ip-address to specify a source IP address and dest-ip-address to specify a destination IP address for the target flow.
-
dscp dscp-value Specifies the DSCP value of the target flow. The value is an integer ranging from 0 to 63.
source src-ip-address Specifies the source IP address of the target flow. This value is in dotted decimal notation.
src-mask-length Specifies the mask length of the source IP address of the target flow. The value is an integer ranging from 1 to 32.
destination dest-ip-address Specifies the destination IP address of the target flow. This value is in dotted decimal notation.
dest-mask-length Specifies the mask length of the destination IP address of the target flow. The value is an integer ranging from 1 to 32.
protocol Indicates the protocol type of the target flow. -
tcp Indicates that the protocol type of the target flow is TCP. -
udp Indicates that the protocol type of the target flow is UDP. -
source-port src-port-number1 Specifies the start source port number of the target flow. The value is an integer ranging from 1 to 65535.
src-port-number2 Specifies the end source port number of the target flow. The value is an integer ranging from 1 to 65535.

src-port-number2 must be greater than src-port-number1.

destination-port dest-port-number1 Specifies the start destination port number of the target flow. The value is an integer ranging from 1 to 65535.
dest-port-number2 Specifies the end destination port number of the target flow. The value is an integer ranging from 1 to 65535.

dest-port-number2 must be greater than dest-port-number1.

protocol-number Indicates the protocol number of the target flow. The value is an integer ranging from 1 to 5, 7 to 16, or 18 to 255.
NOTE:

The value 6 indicates TCP, and the value 17 indicates UDP.

vxlan

Indicates a Virtual Extensible LAN (VXLAN).

-
vni vni-id

Specifies a VXLAN ID.

The value is an integer ranging from 1 to 16000000.

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To define target flows and ensure measurement accuracy, run the flow command to configure target flow characteristics.

One or more fields in IP headers can be specified to identify target flows. The field can be the source IP address or prefix, destination IP address or prefix, protocol type, source port number, destination port number, specifies a VXLAN ID, or ToS. The more fields specified, the more accurately flows can be identified. Specifying as many fields as possible is recommended to maximize the measurement accuracy.

Configuration Impact

An IP FPM instance can have only one target flow configured, either unidirectional or bidirectional. A bidirectional target flow is logically two unidirectional flows in opposite directions.
  • If the target flow in an IP FPM instance is unidirectional, only forward can be specified.

  • If the target flow in an IP FPM instance is bidirectional, two situations are available:
    • If the bidirectional target flow is symmetrical, you can specify bidirectional to configure the bidirectional target flow characteristics. By default, the characteristics specified are used for the forward flow, and the reverse of those are used for the backward flow. Specifically, the source and destination IP addresses and port numbers specified for the forward flow are used respectively as the destination and source IP addresses and port numbers for the backward flow.
    • If the bidirectional target flow is asymmetrical, you must configure forward and backward in two command instances to configure the forward and backward flow characteristics.

Precautions

Target flows in different IP FPM instances cannot have the same characteristics. The forward and backward target flows in an IP FPM instance cannot have the same characteristics neither.

The protocol and vxlan parameters cannot both be configured.

Example

# Configure the target flow characteristics for IP FPM instance 1.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] flow bidirectional protocol tcp source-port 2 destination-port 5

in-group

Function

The in-group command creates a Target Logical Port (TLP) in-group for a target flow.

The undo in-group command deletes a TLP in-group or deletes a TLP from a TLP in-group.

By default, no TLP in-group is configured for the target flow.

Format

in-group dcp dcp-id tlp tlp-id

undo in-group [ dcp dcp-id tlp tlp-id ]

Parameters

Parameter Description Value
dcp dcp-id Specifies the ID of a DCP to which TLPs in a TLP in-group belongs.

This value is in dotted decimal notation.

tlp tlp-id Specifies the ID of a TLP in a TLP in-group.

The value is an integer ranging from 1 to 16777215.

Views

IPFPM-MCP-ACH view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To measure the packet loss or delay of service packets entering a network, run the in-group command. In IP FPM hop-by-hop performance statistics scenarios, a hop is a set of links and interfaces that service packets travel through, from one measurement point or group to the next measurement point or group, and therefore is represented by TLP in-group or TLP out-group. Performance statistics are implemented on the TLP in-point or in-group through which service packets enter a network and the TLP out-point or out-group through which service packets leave the network.

Prerequisites

The ach command has been run to create an ACH and display the ACH view.

Example

# Create a TLP in-group for the target flow.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] ach 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1-ach-1] in-group dcp 10.1.1.1 tlp 100

instance (IPFPM-MCP view)

Function

The instance command creates an IP Flow Performance Measurement (IP FPM) instance on a measurement control point (MCP) and displays the instance view.

The undo instance command deletes an IP FPM instance of an MCP.

By default, no IP FPM instance is created on MCPs.

Format

instance instance-id

undo instance instance-id

Parameters

Parameter Description Value
instance-id

Specifies the ID of an IP FPM instance.

The value is an integer ranging from 1 to 8355838.

Views

IPFPM-MCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To implement IP FPM performance statistics on a specified service flow, run the instance command to create an IP FPM instance. Each IP FPM instance is composed of a target flow, TLPs, and a statistical period.

Prerequisites

The nqa ipfpm mcp command has been run to enable MCP globally.

Precautions

The IP FPM instance ID must be unique on an MCP and all its associated DCPs.

An MCP and all its associated DCPs must have the same IP FPM instance configured. Otherwise, statistics collection does not take effect.

Example

# Create an IP FPM instance on an MCP.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1

instance (IPFPM-DCP view)

Function

The instance command creates an IP Flow Performance Measurement (IP FPM) instance on a data collecting point (DCP) and displays the instance view.

The undo instance command deletes an IP FPM instance of a DCP.

By default, no IP FPM instance is created on DCPs.

Format

instance instance-id

undo instance instance-id

Parameters

Parameter Description Value
instance-id

Specifies the ID of an IP FPM instance.

The value is an integer ranging from 1 to 8355838.

Views

IPFPM-DCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To implement IP FPM performance statistics on a specified service flow, run the instance command to create an IP FPM instance. Each IP FPM instance is composed of a target flow, TLPs, and a statistical period.

Prerequisites

The nqa ipfpm dcp command has been run to enable DCP globally.

Follow-up Procedure

Run the following commands to configure parameters for the configured IP FPM instance.

  • Run the flow command to configure target flow characteristics.
  • Run the tlp command to configure a TLP.
  • Run the interval command to configure the statistical period.

Precautions

The IP FPM instance ID must be unique on an MCP and all its associated DCPs.

An MCP and all its associated DCPs must have the same IP FPM instance configured. Otherwise, statistics collection does not take effect.

Example

# Create an IP FPM instance for a DCP.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1

interval

Function

The interval command configures the statistical period for an IP Flow Performance Measurement (IP FPM) instance.

The undo interval command restores the default statistical period of an IP FPM instance.

By default, the statistical period is 10s.

Format

interval interval

undo interval

Parameters

Parameter Description Value
interval

Specifies the statistical period for an IP FPM instance.

The value is an integer that can be 10, 60, or 600, in seconds.The default value is 10.

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To implement IP FPM performance statistics and ensure measurement accuracy, run the interval command to configure a statistical period based on the clock offset, maximum transmission delay, and system performance.

The statistical period of an IP FPM instance is a period of time from when TLPs measure the number of packets or bytes to when DCPs report the statistics to an MCP and the MCP calculates the measurement result. The shorter the statistical period, the more frequent DCPs report the statistics to the MCP, and the more statistics the DCPs and MCP will process. Therefore, the statistical period change will affect the system performance of the DCPs and MCP.

Configuration Impact

If the statistical period of an IP FPM instance is changed, it must be changed for all DCPs of this IP FPM instance. Otherwise, statistics collection does not take effect.

Precautions

Before you change the statistical period of an IP FPM instance, disable packet loss or delay measurement in the instance view.

Example

# Set the statistical period for IP FPM instance 1 to 60 seconds.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] interval 60

ipfpm tlp

Function

The ipfpm tlp command binds a Target Logical Port (TLP) to an interface.

The undo ipfpm tlp command unbinds a TLP from an interface.

By default, a TLP is not bound to any interface.

Format

ipfpm tlp tlp-id

undo ipfpm tlp { tlp-id | all }

Parameters

Parameter Description Value
tlp-id

Specifies a TLP ID.

The value is an integer ranging from 1 to 16777215.

all

Unbinds TLP from all interfaces in the IP FPM statistical system.

-

Views

Eth-Trunk interface view, 10GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before implementing IP FPM performance statistics, ensure that TLPs are bound to interfaces.

Precautions

A TLP can be bound to only one interface on the DCPs associated with an MCP.

Example

# Bind 10GE1/0/22 to TLP100.
<HUAWEI> system-view
[~HUAWEI] interface 10GE1/0/22
[~HUAWEI-10GE1/0/22] ipfpm tlp 100
Related Topics

loss-measure enable

Function

The loss-measure enable command enables on-demand packet loss measurement for an IP Flow Performance Measurement (IP FPM) instance.

The undo loss-measure enable command disables on-demand packet loss measurement for an IP Flow Performance Measurement (IP FPM) instance.

By default, on-demand packet loss measurement is disabled from an IP FPM instance.

Format

loss-measure enable [ time-range time-range ]

undo loss-measure enable

Parameters

Parameter Description Value
time-range time-range

Specifies the statistical period for on-demand packet loss measurement.

The value is an integer that can be 5, 10, 15, or 30, in minutes.

The default value is 10 minutes.

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The IP FPM performance statistics serve as a reliable reference for assessing IP network performance and therefore are useful for fault diagnosis and service statistics. To monitor on-demand packet loss performance in a specified period, run the loss-measure enable command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

After a master/slave main control board switchover or a device restart, on-demand packet loss measurement does not take effect any longer.

On-demand packet loss measurement cannot function together with proactive packet loss measurement.

Example

# Enable on-demand packet loss measurement for an IP FPM instance the statistical period for on-demand packet loss measurement is 30 m.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] loss-measure enable time-range 30

loss-measure enable continual

Function

The loss-measure enable continual command enables proactive packet loss measurement for an IP Flow Performance Measurement (IP FPM) instance.

The undo loss-measure enable command disables proactive packet loss measurement from an IP FPM instance.

By default, proactive packet loss measurement is disabled from an IP FPM instance.

Format

loss-measure enable continual

undo loss-measure enable

Parameters

None

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To detect faults when network performance deteriorates and monitor proactive packet loss performance, run the loss-measure enable continual command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

Proactive packet loss measurement cannot function together with on-demand packet loss measurement.

Example

# Enable proactive packet loss measurement for an IP FPM instance.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] loss-measure enable continual

loss-measure enable mid-point

Function

The loss-measure enable mid-point command enables packet loss measurement on a mid-point.

The undo loss-measure enable mid-point command disables packet loss measurement on a mid-point.

By default, packet loss measurement is disabled on a mid-point from an IP Flow Performance Measurement (IP FPM) instance.

Format

loss-measure enable mid-point [ time-range time-range | continual ]

undo loss-measure enable mid-point [ continual ]

Parameters

Parameter Description Value
time-range time-range

Specifies a time range from packet loss measurement on a mid-point.

The value is an integer that can be 5, 10, 15, or 30, in minutes.

The default value is 10 minutes.

continual

Indicates proactive delay measurement.

-

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The IP FPM performance statistics serve as a reliable reference for assessing IP network performance and therefore are useful for fault diagnosis and service statistics. To diagnose network faults and locate faulty nodes when network performance deteriorates, run the loss-measure enable mid-point command.

Prerequisites

An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.

Precautions

If a master/slave switchover is performed, or the device is restarted, packet loss measurement on a mid-point will become invalid. You must reconfigure the function.

Example

# Enable packet loss measurement on a mid-point in an IP FPM instance, the time range from packet loss measurement on a mid-point is 30 m.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] loss-measure enable mid-point time-range 30

loss-measure ratio-threshold (IPFPM-MCP instance view)

Function

The loss-measure ratio-threshold command configures the packet loss alarm threshold and its clear alarm threshold.

The undo loss-measure ratio-threshold command restores the default packet loss alarm threshold and its clear alarm threshold.

By default, the packet loss alarm threshold and its clear alarm threshold are not configured, meaning that the system does not generate a packet loss alarm or clear alarm.

Format

loss-measure ratio-threshold upper-limit upper-limit lower-limit lower-limit

undo loss-measure ratio-threshold

Parameters

Parameter Description Value
upper-limit upper-limit

Specifies the packet loss alarm threshold.

The value is a string of 1 to 10 characters ranging from 0.000001 to 100, accurate to 6 decimal places, in percentage.

lower-limit lower-limit

Specifies the packet loss clear alarm threshold.

The value is a string of 1 to 10 characters ranging from 0.000001 to 100, accurate to 6 decimal places, in percentage.

lower-limit must be less than or equal to upper-limit.

Views

IPFPM-MCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An IP FPM statistical period is an interval between when a TLP counts the number of packets or bytes and when the TLP records the send and receive timestamps. The period can be set to 10s, 60s, or 600s. By default, the IP FPM statistical period is 10s.

To configure the packet loss alarm threshold and its clear alarm threshold, run the loss-measure ratio-threshold command. The conditions for alarm generation are as follows:

  • If the packet loss for five consecutive statistical periods exceeds the configured upper-limit, the hwIpfpmLossRatioExceed alarm is generated, and the link fault occurrence is notified in real time.
  • If the packet loss for five consecutive statistical periods falls below the configured lower-limit, the hwIpfpmLossRatioRecovery alarm is generated, and the link fault rectification is notified in real time.

Precautions

If the loss-measure ratio-threshold command is run more than once, the latest configuration overrides the previous one.

The loss-measure ratio-threshold command only configures the thresholds. The system generates a packet loss alarm or its clear alarm only when the packet loss alarm or its clear alarm function is enabled and the packet loss for five consecutive statistical periods reaches the configured alarm threshold or falls below the configured clear alarm threshold.

Example

# Configure the packet loss alarm threshold and its clear alarm threshold.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] loss-measure ratio-threshold upper-limit 10 lower-limit 5.5

mcp (IPFPM-DCP instance view)

Function

The mcp command specifies a measurement control point (MCP) ID for an IP Flow Performance Measurement (IP FPM) instance on a data collecting point (DCP).

The undo mcp command deletes the MCP ID of an IP FPM instance on a DCP.

By default, no MCP ID is specified for an IP FPM instance on a DCP, and the DCP uses UDP port 65030 to communicate with an MCP.

Format

mcp mcp-id [ port port-number ] [ vpn-instance vpn-instance-name | net-manager-vpn ]

undo mcp

Parameters

Parameter Description Value
mcp-id

Specifies an MCP ID for an IP FPM instance on a DCP.

Using the Router ID of a device that is configured as an MCP as its MCP ID is recommended.

This value is in dotted decimal notation.

port port-number

Specifies a UDP port number for a DCP to communicate with an MCP.

The value is an integer ranging from 1024 to 65535.

The default value is 65030 and is recommended.

vpn-instance vpn-instance-name

Specifies a VPN instance for a DCP to communicate with an MCP.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.
net-manager-vpn

Specifies a management VPN for a DCP to communicate with an MCP.

-

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To allow a DCP in an IP FPM instance to report the statistics collected by TLPs to an MCP, run the mcp command to specify the MCP ID for the DCP in this instance.

Prerequisites

The instance command has been run to configure an IP FPM instance.

NOTE:
The VPN instance has been created on the DCP before you configure vpn-instance vpn-instance-name or net-manager-vpn to allow the DCP to report the statistics to the MCP through the specified VPN or management VPN.

Implementation

After receiving the statistics for an IP FPM instance from TLPs, a DCP encapsulates the statistics and the MCP ID in the IP FPM instance to packets and sends the packets to the destination IP address identified by the MCP ID. After the MCP receives the packets, it compares the MCP ID carried in the packets with that configured in the mcp id command run on itself.
  • If the two MCP IDs are the same, the MCP accepts the packets and summarizes and calculates the statistics.
  • If the two MCP IDs are different, the MCP considers the packets invalid and discards them.

Precautions

The MCP ID must be an IP address reachable to the DCPs. The MCP ID specified for an IP FPM instance on a DCP must be the same as that specified in the mcp id command run on the MCP associated with this DCP.

The UDP port number configured on the DCP must be the same as that configured in the protocol udp port command run on the MCP associated with this DCP. Otherwise, the DCP cannot report the statistics to the MCP.

Example

# Specify the MCP ID for IP FPM instance 1 on a DCP.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] mcp 10.1.1.1

# Specify the MCP ID for IP FPM instance 1 on a DCP and configure the DCP to send statistics to the MCP through the VPN instance vpnforipfpm.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] mcp 10.1.1.1 vpn-instance vpnforipfpm

mcp (IPFPM-DCP view)

Function

The mcp command specifies a measurement control point (MCP) ID for all IP Flow Performance Measurement (IP FPM) instances on a data collecting point (DCP).

The undo mcp command deletes the MCP ID of all IP FPM instances on a DCP.

By default, no MCP ID is specified for IP FPM instances on a DCP.

Format

mcp mcp-id [ port port-number ] [ vpn-instance vpn-instance-name | net-manager-vpn ]

undo mcp

Parameters

Parameter Description Value
mcp-id

Specifies an MCP ID for all IP FPM instances on a DCP.

Using the Router ID of a device that is configured as an MCP as its MCP ID is recommended.

This value is in dotted decimal notation.

port port-number

Specifies a UDP port number for a DCP to communicate with an MCP.

The value is an integer ranging from 1024 to 65535.

The default value is 65030 and is recommended.

vpn-instance vpn-instance-name

Specifies a VPN instance for a DCP to communicate with an MCP.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.
net-manager-vpn

Specifies a management VPN for a DCP to communicate with an MCP.

-

Views

IPFPM-DCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To allow a DCP in an IP FPM instance to report the statistics collected by TLPs to an MCP, run the mcp command to specify the MCP ID for all IP FPM instances on the DCP.

Prerequisites

The nqa ipfpm dcp command has been run to enable DCP globally.

NOTE:
The VPN instance has been created on the DCP before you configure vpn-instance vpn-instance-name or net-manager-vpn to allow the DCP to report the statistics to the MCP through the specified VPN or management VPN.

Implementation

After receiving the statistics for all IP FPM instances from TLPs, a DCP encapsulates the statistics and the MCP ID in the IP FPM instances to packets and sends the packets to the destination IP address identified by the MCP ID. After the MCP receives the packets, it compares the MCP ID carried in the packets with that configured in the mcp id command run on itself.
  • If the two MCP IDs are the same, the MCP accepts the packets and summarizes and calculates the statistics.
  • If the two MCP IDs are different, the MCP considers the packets invalid and discards them.

Precautions

The MCP ID must be an IP address reachable to the DCPs. The MCP ID specified for all IP FPM instances on a DCP must be the same as that specified in the mcp id command run on the MCP associated with this DCP.

The UDP port number configured on the DCP must be the same as that configured in the protocol udp port command run on the MCP associated with this DCP. Otherwise, the DCP cannot report the statistics to the MCP.

If the mcp command has been run in the IP FPM instance view for some instances on a DCP and an MCP ID is specified for all IP FPM instances on the DCP, the MCP ID specified in the IP FPM instance view takes effect.

Example

# Specify the MCP ID for all IP FPM instances on a DCP.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] mcp 10.1.1.1

mcp id

Function

The mcp id command configures a measurement control point (MCP) ID.

The undo mcp id command deletes an MCP ID.

By default, no MCP ID is configured.

Format

mcp id mcp-id

undo mcp id

Parameters

Parameter Description Value
mcp-id

Specifies an MCP ID.

Using the Router ID of a device that is configured as an MCP as its MCP ID is recommended.

This value is in dotted decimal notation.

Views

IPFPM-MCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To allow communication between an MCP and a DCP, run the mcp id command to configure an MCP ID. After the DCP receives the statistics for an IP FPM instance from TLPs, the DCP encapsulates the statistics and the MCP ID specified by the mcp command run in the IP FPM instance to packets and sends the packets to the destination IP address identified by the MCP ID. After the MCP receives the packets, it compares the MCP ID carried in the packets with that configured in the mcp id command run on itself.
  • If the two MCP IDs are the same, the MCP accepts the packets and summarizes and calculates the statistics.
  • If the two MCP IDs are different, the MCP considers the packets invalid and discards them.

Prerequisites

The nqa ipfpm mcp command has been run to enable MCP globally.

Precautions

The MCP ID must be an IP address reachable to the DCPs. The MCP ID configured on an MCP must be the same as that specified in the mcp command run in the IP FPM instance view of all DCPs associated with this MCP. If an MCP ID is changed on an MCP, it must be changed for all DCPs associated with this MCP in an IP FPM instance. Otherwise, the MCP cannot process the statistics reported by the DCPs.

Example

# Configure an MCP ID.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] mcp id 10.1.1.1

measure disable (IPFPM-MCP instance view)

Function

The measure disable command disables IP Flow Performance Measurement (IP FPM) performance statistics collection of a specified instance on a measurement control point (MCP).

The undo measure disable and measure enable commands function the same to enable IP FPM performance statistics collection for a specified instance on an MCP.

By default, IP FPM performance statistics collection is enabled for instances on an MCP.

Format

measure disable

measure enable

undo measure disable

Parameters

None

Views

IPFPM-MCP instance view

Default Level

2: Configuration level

Usage Guidelines

When DCP configurations are being changed, the MCP may receive incorrect statistics from the DCP. To prevent this, run the measure disable command to disable IP FPM performance statistics collection of a specified instance on the MCP. After the DCP configuration change is complete, run the undo measure disable or measure enable command to enable IP FPM performance statistics collection for the specified instance on the MCP. This ensures accurate measurement.

Example

# Disable IP FPM performance statistics collection of a specified instance on an MCP.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] measure diable
[*HUAWEI-nqa-ipfpm-mcp-instance-1] commit
Related Topics

nqa ipfpm dcp

Function

The nqa ipfpm dcp command enables DCP globally and displays the IPFPM-DCP view.

The undo nqa ipfpm dcp command disables DCP globally.

By default, DCP is disabled globally.

Format

nqa ipfpm dcp

undo nqa ipfpm dcp

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enable DCP globally so that IP FPM performance statistics can be implemented, run the nqa ipfpm dcp command. A DCP manages and controls TLPs, collects statistics generated by TLPs, and reports the statistics to an MCP.

Follow-up Procedure

Run the dcp id command to configure a DCP ID.

Precautions

DCP and MCP functionalities can be configured on the same device.

Example

# Enable DCP globally and display the IPFPM-DCP view.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp]
Related Topics

nqa ipfpm mcp

Function

The nqa ipfpm mcp command enables MCP globally and displays the IPFPM-MCP view.

The undo nqa ipfpm mcp command disables MCP globally.

By default, MCP is enabled globally.

Format

nqa ipfpm mcp

undo nqa ipfpm mcp

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enable MCP globally so that IP FPM performance statistics can be implemented, run the nqa ipfpm mcp command. An MCP collects statistics reported by DCPs, summarizes and calculates the statistics, and reports measurement results to user terminals or the NMS.

Follow-up Procedure

Run the mcp id command to configure an MCP ID.

Precautions

MCP and DCP functionalities can be configured on the same device.

Example

# Enable MCP globally and display the IPFPM-MCP view.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp]
Related Topics

period source ntp

Function

The period source ntp command configures a DCP to select NTP as the clock source when calculating an IP FPM statistical period ID.

The undo period source command restores the default clock source used by a DCP when calculating an IP FPM statistical period ID.

By default, the DCP uses a high-precision clock source locally configured when calculating an IP FPM statistical period ID.

Format

period source ntp

undo period source [ ntp ]

Parameters

None

Views

IPFPM-DCP view

Default Level

2: Configuration level

Usage Guidelines

To ensure accurate IP FPM delay measurement, IP FPM-deployed devices must have the same clock source.

If the ingress of the service traffic uses NTP as the clock source, but the egresses use a different clock source, for example, NTP or, you must configure the egresses to select NTP as the clock source when calculating an IP FPM statistical period ID to ensure consistent clock sources on the ingress and egresses.

To configure a DCP to select NTP as the clock source when calculating an IP FPM statistical period ID, run the period source ntp command.

Example

# Configure a DCP to select NTP as the clock source when calculating an IP FPM statistical period ID.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] period source ntp
Related Topics

protocol udp port

Function

The protocol udp port command configures a User Datagram Protocol (UDP) port number for a measurement control point (MCP) to communicate with data collecting points (DCPs).

The undo protocol udp port command restores the default UDP port number for an MCP to communicate with DCPs.

By default, an MCP uses UDP port 65030 to communicate with DCPs.

Format

protocol udp port port-number

undo protocol udp port

Parameters

Parameter Description Value
port-number

Specifies the UDP port number for an MCP to communicate with DCPs.

The value is an integer ranging from 1024 to 65535.

The default value is 65030 and is recommended.

Views

IPFPM-MCP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To change the default UDP port number for an MCP to communicate with DCPs, run the protocol udp port command.

Prerequisites

The nqa ipfpm mcp command has been run to enable MCP globally.

Precautions

The UDP port number configured on an MCP must be the same as that specified in the mcp command run in the IP FPM instance view of all DCPs associated with this MCP. If a UDP port number is changed on an MCP, it must be changed for all DCPs associated with this MCP in an IP FPM instance. Otherwise, the MCP cannot process the statistics reported by the DCPs.

Example

# Specify UDP port 1024 for an MCP to communicate with DCPs.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] protocol udp port 1024

snmp-agent trap enable feature-name ipfpm

Function

The snmp-agent trap enable feature-name ipfpm command enables the alarm function for the IP Flow Performance Measurement (IP FPM) module.

The undo snmp-agent trap enable feature-name ipfpm command disables the alarm function of the IP FPM module.

By default, the alarm function of the IP FPM module is disabled.

Format

snmp-agent trap enable feature-name ipfpm [ trap-name trap-name ]

undo snmp-agent trap enable feature-name ipfpm [ trap-name trap-name ]

Parameters

Parameter Description Value
trap-name trap-name

Indicates the alarm function for a specific type of event.

If you do not configure trap-name, the command enables all alarm functions for the IP FPM module.

For the supported values, see Table 18-96.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To allow a device to use SNMP to report IP FPM alarms to the NMS, run the snmp-agent trap enable feature-name ipfpm command to enable the alarm function. SNMP is a widely used network management protocol that collects network communication statistics using agent software embedded in managed devices.

Table 18-96  IP FPM module alarms

Alarm Name

Default Status

Meaning

hwipfpmlossratioexceed Disabled Packet loss alarm.
hwipfpmlossratiorecovery Disabled Packet loss clear alarm.
hwipfpmonedelayexceed Disabled One-way delay alarm.
hwipfpmonedelayrecovery Disabled One-way delay clear alarm.
hwipfpmtwodelayexceed Disabled Two-way delay alarm.
hwipfpmtwodelayrecovery Disabled Two-way delay clear alarm.
hwipfpmdcpflowconflict Disabled Target flow characteristics conflict alarm.

Example

# Enable the two-way delay alarm.

<HUAWEI> system-view
[~HUAWEI] snmp-agent trap enable feature-name ipfpm hwipfpmtwodelayexceed

tlp

Function

The tlp command configures a Target Logical Port (TLP) for an IP Flow Performance Measurement (IP FPM) instance and specifies the TLP role.

The undo tlp command deletes a TLP of an IP FPM instance.

By default, no TLP is configured for an IP FPM instance.

Format

tlp tlp-id { in-point | out-point } { ingress | egress } [ vpn-label vpn-label ]

tlp tlp-id mid-point flow { forward | backward } { ingress | egress }

tlp tlp-id mid-point flow bidirectional { ingress | egress }

undo tlp tlp-id

Parameters

Parameter Description Value
tlp-id

Specifies a TLP ID.

The value is an integer ranging from 1 to 16777215.

in-point

Specifies a TLP as an in-point.

The system sets the measurement flags of target flows on an in-point.

-

ingress

Indicates the upstream target flow.

-

out-point

Specifies a TLP as an out-point.

The system clears the measurement flags of target flows on an out-point.

-

egress

Indicates the downstream target flow.

-

mid-point

Configures a TLP as a mid-point.

-

flow

Indicates the target flow.

-

forward

Indicates the forward target flow.

-

backward

Indicates the backward target flow.

-

bidirectional

Indicates the bidirectional target flow.

-

Views

IPFPM-DCP instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To locate faults in IP FPM performance statistics scenarios, run the tlp command to configure TLPs in an IP FPM instance. TLPs are measurement points along the path of the target flow and compile and output the statistics. TLPs can be in-points, mid-points, or out-points.

Precautions

A TLP that functions as the in-point for the forward target flow is the out-point for the backward target flow. The TLP role specified in the tlp command applies only to the forward target flow, and the reverse of the specified role is used for the backward target flow.

Mid-points apply only to IP FPM hop-by-hop performance statistics scenarios. Therefore, you must configure flow to specify the target flow direction when configuring a TLP as a mid-point.

A TLP cannot function as both the in-point and out-point for the same unidirectional target flow.

Example

# Configure a TLP for IP FPM instance 1 and specify the TLP role.

<HUAWEI> system-view
[~HUAWEI] nqa ipfpm dcp
[*HUAWEI-nqa-ipfpm-dcp] instance 1
[*HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 100 in-point ingress
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 70564

Downloads: 376

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