display mpls ldp error packet udp

Function

The display mpls ldp error packet udp command displays the count and content of UDP error messages received by LDP.

Format

display mpls ldp error packet udp [ interface { interface-name | interface-type interface-num } ]

Parameters

Parameter Description Value
interface

Specifies the type and number of an interface. If this parameter is configured, information about messages sent by a specified interface is displayed.

-

interface-name

Specifies the name of interface.

-

interface-type

Specifies the type of interface.

-

interface-num

Specifies the number of interface.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

To view statistics about and contents of UDP error messages that the LDP module receives, run the display mpls ldp error packet udp command. The information helps diagnose faults.

Example

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

# Display statistics about and content of received UDP error messages.
<HUAWEI> display mpls ldp error packet udp
LDP Error UDP Packet
-------------------------------------------------------------------------------
 Discovery Source  : GigabitEthernet0/1/17
 Date&Time         : 2013-09-24 06:53:49
 Error Reason      : Bad Protocol Version
 VrfIndex          : 0
 Length            : 42
 Message Type      : Hello
 Packet Content    : 
 00 01 00 26 02 02 02 09 00 00 01 00 00 1C 00 01 
 F5 8A 04 00 00 04 00 0F 00 00 04 01 00 04 02 02 
 02 09 04 02 00 04 00 00 00 01 
-------------------------------------------------------------------------------
 TOTAL: 1 Record(s) Found.
Table 1 Description of the display mpls ldp error packet udp command output
Item Description
Error Reason

Cause for an error:

  • Bad LDP Identifier: The LDP ID is incorrect.
  • Bad Protocol Version: The LDP PDU version is incorrect.
  • Bad PDU Length: The LDP PDU length is incorrect.
  • Bad Message Length: A message length is incorrect.
  • Bad TLV Length: A TLV length value is incorrect.
  • Malformed TLV Value: A TLV is incorrect.
  • Parameters Advertisement Mode: The label advertisement mode is incorrect.
  • Parameters Label Range: The label is out of a specified range.
  • Parameters Max PDU Length: The size reaches the maximum PDU length.
  • Parameter Label Range: The size reaches the maximum PDU length.
  • Unknown Ignore: An unknown error occurs.
  • Unknown Message Type: The type of the message is unknown.
  • Unknown TLV: The TLV in the message is unknown.
Discovery Source

Interface on which an LDP peer is discovered.

Date&Time

Date and time when the messages were received.

VrfIndex

VRF instance ID.

Length

Length of an error message.

Message Type

Type of an error message:

  • Label Request: Label Request message.
  • Label Mapping: Label Mapping message.
  • Label Release: Label Release message.
  • Label Withdraw: Label Withdraw message.
  • Label Abort Request: Label Abort Request message.
  • Hello: Hello message.
  • Initialization: Initialization message.
  • KeepAlive: KeepAlive message.
  • Notification: Notification message.
  • Address: Address message.
  • Address Withdraw: Address Withdraw message.
  • Capability: Capability message.
  • --: unknown message type.
Packet Content

Contents of an error message.

TOTAL

Total number of packets.

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