display mpls ldp lsp traffic-statistics

Function

The display mpls ldp lsp traffic-statistics command displays LDP traffic statistics.

Format

display mpls ldp lsp traffic-statistics [ ipv4-address mask-length ] [ verbose ]

Parameters

Parameter Description Value
ipv4-address

Displays LDP traffic statistics with the specified route prefix.

The value is in dotted decimal notation.

mask-length

Displays LDP traffic statistics with a specified route prefix mask length.

The value is fixed at 32.

verbose

Displays detailed statistics.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

After MPLS and MPLS statistics collection are enabled, to view LDP traffic statistics, run the display mpls ldp lsp traffic-statistics command.

Note: If MPLS traffic statistics collection is enable, the traffic statistics of an LDP LSP start to be collected only after the LDP LSP is created, and will be reset and recollected if the LDP LSP deleted and reestablished. To check the status of an LDP LSP, run the ***display mpls lsp ** * command. To check the last down time of an LDP LSP, run the *display mpls last-info lsp-down * command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display LDP traffic statistics.
<HUAWEI> display mpls ldp lsp traffic-statistics
-------------------------------------------------------------------------------
LDP LSP Traffic Statistics Information
-------------------------------------------------------------------------------
FEC                In/Out Label  Out Interface    Out Packets/Bytes
10.2.2.2/32        3338/3        GE0/1/2          101268/708876
# Display detailed statistics.
<HUAWEI> display mpls ldp lsp traffic-statistics verbose
----------------------------------------------------------------------------------
LDP LSP Traffic Statistics Information
----------------------------------------------------------------------------------
FEC      : 10.112.233.233/32   Current Time  : 2015-07-21 09:10:21
LSR Type : Ingress             Nexthop       : 10.123.123.123
Out Label: 2025                Out Interface : GE0/1/0
Last 300 seconds output rate 24000 bits/sec, 1050 packets/sec
Realtime 30 seconds output rate 2400 bits/sec, 105 packets/sec
Output: 3000 bytes, 1050 packets
Table 1 Description of the display mpls ldp lsp traffic-statistics command output
Item Description
FEC

Forwarding equivalence class.

In/Out Label

Values of the incoming and outgoing labels.

Out Label

Outgoing label value.

Out Interface

Outbound interface name.

Out Packets/Bytes

Number of forwarded packets and bytes.

Current Time

Current time.

LSR Type

LSA type:

  • Ingress.
  • Transit.
Nexthop

Next-hop IP address.

Output

Total number of output packets.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >