How to check the statistics on received and sent Hello messages

8

Run the display mpls ldp interface command to check the statistics on received and sent Hello messages on an interface. The command output is displayed as follows:
display mpls ldp interface LDP Interface Information in Public Network
Codes:LAM(Label Advertisement Mode), IFName(Interface name)
A '*' before an interface means the entity is being deleted.
------------------------------------------------------------------------------
IFName Status LAM TransportAddress HelloSent/Rcv
------------------------------------------------------------------------------
Vlanif10 Active DU 1.1.1.1 29574/29539
------------------------------------------------------------------------------
The value of the field HelloSent/Rcv indicates the statistics on received and sent Hello messages

Other related questions:
Why are statistics on received and sent Hello messages both 0
Run the display mpls ldp interface command to check the interface status. The command output is displayed as follows: display mpls ldp interface LDP Interface Information in Public Network Codes:LAM(Label Advertisement Mode), IFName(Interface name) A '*' before an interface means the entity is being deleted. ------------------------------------------------------------------------------ IFName Status LAM TransportAddress HelloSent/Rcv ------------------------------------------------------------------------------ Vlanif10 Active DU 1.1.1.1 29574/29539 ------------------------------------------------------------------------------ In normal cases, the interface status is Active. If the interface status is Inactive, the interface cannot receive or send Hello messages. In most cases, the interface status is Inactive because the interface is shut down or no IP address is configured for the interface.

Why does the number of received and sent Hello messages remain unchanged in a short period
Run the display mpls ldp interface verbose command to check the interval of the Hello Hold timer after negotiation. The interval of the Hello Hold timer after negotiation is the smaller value between the configurations on the two ends of the LDP session. By default, the interval of the Remote Hello Hold timer is 45s, and the interval of the Link Hello Send timer is one third of that of the Remote Hello Hold timer. An LSR sends a Hello message at the interval of the Hello Hold timer. The statistics about received and sent Hello messages increase only after an LSR sends or receives a Hello message. Therefore, the statistics on received and sent Hello messages may not increase in a short period.

How are LDP Hello messages identified
The destination address of Hello messages in a local session is 224.0.0.2 and the source address is the IP address of the LDP-enabled interface. The destination address of Hello messages in a remote session is the LSR ID of the peer end and the source address is the LSR ID of the local end. Hello packets are UDP packets and are sent through LDP-dedicated port 646. Hello messages are forwarded based on IP routing.

Why is multicast forwarding interrupted on an interface after the interface receives Hello messages
After static IGMP groups are configured on an interface, the device uses the PIM protocol to set up multicast forwarding entries. Multicast data can be forwarded through the interface as long as the interface is included in the downstream interface list in the corresponding multicast forwarding entry. If the source address of a received PIM Hello message is larger than the interface address, or the DR priority of the PIM Hello message is larger than the priority of the interface, the switch can no longer function as the DR. All data packets on a shared network segment are forwarded by the DR is no Assert election occurs. Therefore, the device considers that multicast data packets will be forwarded by the new DR and then prunes the downstream interface.

What are the functions of LDP Hello messages
An LSR maintains the adjacency relationship with another LSR through received Hello messages. The LSR maintains the Hello Hold timer of the Hello adjacency. Upon receiving a Hello message matching the Hello adjacency, the Hello Hold timer is reset. If the Hello Hold timer expires, the LSR deletes the Hello adjacency. If the LDP session has only one Hello adjacency, the LSR deletes the LDP session.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top