< Home

display pim invalid-packet

Function

The display pim invalid-packet command displays statistics about invalid PIM messages received by a device and details of these messages.

Format

display pim [ vpn-instance vpn-instance-name | all-instance ] invalid-packet [ interface interface-type interface-number | message-type { assert | bsr | hello | join-prune | graft | graft-ack | state-refresh } ] *

display pim [ vpn-instance vpn-instance-name | all-instance ] invalid-packet message-type { crp | register | register-stop }

display pim invalid-packet [ packet-number ] verbose

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Displays statistics about invalid PIM messages received in a specified VPN instance. The vpn-instance-name parameter specifies the VPN instance name. The value must be an existing VPN instance name.
all-instance Displays statistics about invalid PIM messages received in all VPN instances. -
interface interface-type interface-number Specifies the type and number of an interface on the switch. -
message-type Displays statistics about invalid PIM messages of a specific type. -
assert Displays statistics about invalid Assert messages. -
bsr Displays statistics about invalid BSR messages. -
hello Displays statistics about invalid Hello messages. -
join-prune Displays statistics about invalid Join/Prune messages. -
graft Displays statistics about invalid Graft messages. -
graft-ack Displays statistics about invalid Graft-Ack messages. -
state-refresh Displays statistics about invalid State-Refresh messages. -
crp Displays statistics about invalid C-RP messages. -
register Displays statistics about invalid Register messages. -
register-stop Displays statistics about invalid Register-Stop messages. -
packet-number Displays details about a specified number of invalid PIM messages recently received. The value is an integer that ranges from 1 to 100. By default, details of all the invalid PIM messages currently stored are displayed.
verbose Displays details of invalid PIM messages. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If a switch fails to create PIM entries, you can run the display pim invalid-packet command first to check whether the switch has received invalid PIM messages. If the command output displays counters of invalid PIM messages, run the display pim invalid-packet [ packet-number ] verbose command to view details of invalid PIM messages for fault location.

You can run the following commands to view information about specific invalid PIM messages:

  • Run the display pim [ vpn-instance vpn-instance-name | all-instance ] invalid-packet command to view statistics about invalid PIM messages received in a specified VPN instance or in all VPN instances.

  • Run the display pim invalid-packet interface interface-type interface-number command to view statistics about invalid PIM messages received by a specified interface.

  • Run the display pim invalid-packet packet-number verbose command to view details of invalid PIM messages recently received. Currently, details of a maximum of 100 invalid PIM messages can be displayed.

Example

# Display statistics about invalid PIM messages received on the switch.

<HUAWEI> display pim invalid-packet

             Statistics of invalid packets for public net:                      
--------------------------------------------------------------------         
PIM General invalid packet:
Invalid PIM Version     : 0           Invalid PIM Type        : 0
Fault Length            : 0           Bad Checksum            : 0

PIM Register invalid packet:
Invalid Multicast Source: 0           Invalid Multicast Group : 0
Invalid Dest Addr       : 0

PIM Register-Stop invalid packet:
Invalid Multicast Source: 0           Invalid Multicast Group : 0
Invalid Dest Addr       : 0           IP Source not RP        : 0

PIM CRP invalid packet:
Invalid Dest Addr       : 0           Invalid CRP Addr        : 0
Fault Length            : 0           CRP Adv Fault Length    : 0
Invalid Multicast Group : 0

PIM Assert invalid packet:
Invalid Dest Addr       : 0           Invalid IP Source Addr  : 0
Invalid Multicast Source: 0           Invalid Multicast Group : 0

PIM BSR invalid packet:
Bad Payload             : 0           Fault Length            : 0
Bad Scope Mask          : 0           Invalid Multicast Group : 0
Not CBSR But BSR        : 0           Invalid BSR Addr        : 0
Fault Hash Length       : 0           Invalid IP Source Addr  : 0

PIM Hello invalid packet:
Invalid Addr List       : 0           Fault Length            : 0
Bad Holdtime Length     : 0           Bad LanPruneDelay Length: 0
Bad DrPriority Length   : 0           Bad GenID Length        : 0
Invalid Dest Addr       : 0           Invalid IP Source Addr  : 0

PIM Join/Prune invalid packet:
Invalid Multicast Source: 0           Invalid Multicast Group : 0
Invalid Up Neighbor     : 0           Invalid IP Source Addr  : 0
Invalid Dest Addr       : 0           Fault Length            : 0  

PIM Graft invalid packet:
Invalid Multicast Source: 0           Invalid Multicast Group : 0
Invalid Up Neighbor     : 0           Invalid IP Source Addr  : 0
Fault Length            : 0

PIM Graft-Ack invalid packet:
Invalid Multicast Source: 0           Invalid Multicast Group : 0
Invalid Up Neighbor     : 0           Invalid IP Source Addr  : 0
Fault Length            : 0

PIM State Refresh invalid packet:
Invalid Multicast Source: 0           Invalid Multicast Group : 0
Invalid Originator Addr : 0           Fault Length            : 0
--------------------------------------------------------------------   
Choose Columns...
Table 1 Description of the display pim invalid-packet command output

Item

Description

PIM General invalid packet

General invalid PIM messages.

Invalid PIM Version

Number of messages with invalid PIM versions.

Invalid PIM Type

Number of messages with invalid PIM message types.

Fault Length

Number of messages of invalid lengths.

Bad Checksum

Number of messages with invalid checksum.

PIM Register invalid packet

Number of invalid PIM Register messages.

Invalid Multicast Source

Number of messages with invalid multicast source addresses.

Invalid Multicast Group

Number of messages with invalid multicast group addresses.

Invalid Dest Addr

Number of messages with invalid destination addresses.

PIM Register-Stop invalid packet

Number of invalid PIM Register-Stop messages.

IP Source not RP

Number of messages whose source addresses are not the RP address.

PIM CRP invalid packet

Number of invalid PIM C-RP messages.

Invalid CRP Addr

Number of messages with invalid C-RP addresses.

CRP Adv Fault Length

Number of messages whose CRP Adv fields are of invalid lengths.

PIM Assert invalid packet

Number of invalid PIM Assert messages.

Invalid IP Source Addr

Number of messages with invalid multicast source addresses.

PIM BSR invalid packet

Number of invalid PIM BSR messages.

Bad Payload

Number of messages with invalid payloads.

Bad Scope Mask

Number of messages with invalid scope masks.

Not CBSR But BSR

Number of BSR messages received on interfaces that do not act as a C-BSR.

Invalid BSR Addr

Number of messages with invalid BSR addresses.

Fault Hash Length

Number of messages with hash mask fields of invalid lengths.

PIM Hello invalid packet

Number of invalid PIM Hello messages.

Invalid Addr List

Number of messages with invalid address lists.

Bad Holdtime Length

Number of messages with Holdtime fields of invalid lengths.

Bad LanPruneDelay Length

Number of messages with LanPruneDelay fields of invalid lengths.

Bad DrPriority Length

Number of messages with DrPriority fields of invalid lengths.

Bad GenID Length

Number of messages with Generation ID fields of invalid lengths.

PIM Join/Prune invalid packet

Number of invalid PIM Join/Prune messages.

Invalid Up Neighbor

Number of messages with invalid upstream neighbors.

PIM Graft invalid packet

Number of invalid PIM Graft messages.

PIM Graft-Ack invalid packet

Number of invalid PIM Graft-Ack messages.

PIM State Refresh invalid packet

Number of invalid PIM State-Refresh messages.

Invalid Originator Addr

Number of messages with invalid Originator address.

# Display details of one invalid PIM message recently received on the switch.

<HUAWEI> display pim invalid-packet 1 verbose
       Detailed information of invalid packets
-----------------------------------------------------
Packet information (Index 1):
-----------------------------------------------------
Interface           :  Vlanif10
Time                :  2010-6-1 20:04:35 UTC-08:00
Message Length      :  26
Invalid Type        :  Invalid Multicast Source
0000: 25 00 96 77 01 00 00 20 e1 01 01 01 01 00 e0 00
0010: 00 00 80 00 00 64 00 00 00 00
-----------------------------------------------------  
Table 2 Description of the display pim invalid-packet 1 verbose command output

Item

Description

Detailed information of invalid packets

Details of an invalid PIM message.

Packet information (Index 1)

Sequence number of the invalid PIM message (numbered in the opposite order the message is received. For example, the index of the last received message is 1, the index of the penultimate message is 2, and so on).

Interface

Interface that received the invalid PIM message.

Time

Time when the invalid SPT switch message was received, in any of the following formats:
  • YYYY-MM-DD HH:MM:SS

  • YYYY-MM-DD HH:MM:SS UTC±HH:MM DST

  • YYYY-MM-DD HH:MM:SS UTC±HH:MM

  • YYYY-MM-DD HH:MM:SS DST

The format UTC±HH:MM indicates that a time zone has been configured using the clock timezone command; DST indicates that the daylight saving time has been configured using clock daylight-saving-time command.

Message Length

Length of the invalid PIM message.

Invalid Type

Type of the invalid PIM message.

0000: 25 00 96 77 01 00 00 20 e1 01 01 01 01 00 e0 00

0010: 00 00 80 00 00 64 00 00 00 00

Contents of the invalid PIM message.

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