< Home

tlp

Function

The tlp command configures Target Logical Ports (TLPs) of an IP FPM instance and their roles.

The undo tlp command deletes TLPs of a measurement instance.

By default, no TLP of a measurement instance is configured.

Format

tlp tlp-id { in-point | out-point } { ingress | egress }

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

undo tlp tlp-id

Parameters

Parameter Description Value
tlp-id Specifies the ID of a TLP. The value is an integer that ranges from 1 to 16777215.
in-point Indicates the in-point TLP. An in-point TLP colors a target flow. -
out-point Indicates the out-point TLP. An out-point TLP removes the color flag from a target flow. -
ingress Indicates the ingress TLP. An ingress TLP only receives packets. -
egress Indicates the egress TLP. An egress TLP only sends packets. -
mid-point

Indicates the 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 flows.

-

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 specifying 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 TLP 100 and its role for measurement instance 1.

<HUAWEI> system-view
[HUAWEI] nqa ipfpm dcp
[HUAWEI-nqa-ipfpm-dcp] instance 1
[HUAWEI-nqa-ipfpm-dcp-instance-1] tlp 100 in-point ingress
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic