< 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 is a string of case-sensitive characters.
all-instance Displays statistics about invalid PIM messages received in all VPN instances. -
interface interface-type interface-number Displays statistics about invalid PIM messages received by a specified interface. interface-type interface-number specifies the interface type and interface number. -
message-type Displays statistics about invalid PIM messages of a specific type. -
assert Displays statistics about invalid Assert messages. -
bsr Displays statistics about invalid BootStrap router (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 Candidate-Rendezvous Point (C-RP) messages. -
register Displays statistics about invalid Register messages. -
register-stop Displays statistics about invalid Register-Stop messages. -
packet-number Displays details of a specified number of invalid PIM messages recently received. The value is an integer ranging 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

You can run the display pim invalid-packet command to view statistics and details of invalid PIM messages for fault location and rectification.

If PIM entries fail to be generated on a multicast network, you can run the display pim invalid-packet command first to check whether devices have received invalid PIM messages. If the command output contains statistics about invalid PIM messages, run the display pim invalid-packet [ packet-number ] verbose command to view details of invalid PIM messages to locate the fault.

You can run the following related 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 by a device in the public network instance.

<sysname> 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

AnycastRP 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
--------------------------------------------------------------------   
Table 1 Description of the display pim invalid-packet command output

Item

Description

Statistics of invalid packets for public net

Indicates the VPN instance in which statistics about invalid PIM messages need to be displayed.

PIM General invalid packet

Indicates general invalid PIM messages.

Invalid PIM Version

Indicates messages with invalid PIM version.

Invalid PIM Type

Indicates messages with invalid PIM message type.

Fault Length

Indicates messages with invalid lengths.

Bad Checksum

Indicates messages with invalid checksum.

PIM Register invalid packet

Invalid PIM Register messages.

Invalid Multicast Source

Indicates messages with invalid multicast source addresses.

Invalid Multicast Group

Indicates messages with invalid multicast group addresses.

Invalid Dest Addr

Indicates messages with invalid destination addresses.

AnycastRP Register invalid packet

Statistics about invalid Register messages in the anycast-RP scenario

PIM Register-Stop invalid packet

Indicates invalid PIM Register-Stop messages.

IP Source not RP

Indicates messages whose source addresses are not the RP address.

PIM CRP invalid packet

Indicates invalid PIM C-RP messages.

Invalid CRP Addr

Indicates messages with invalid C-RP addresses.

CRP Adv Fault Length

Indicates messages whose CRP Adv fields are of invalid lengths.

PIM Assert invalid packet

Indicates invalid PIM Assert messages.

Invalid IP Source Addr

Indicates messages with invalid multicast source addresses.

PIM BSR invalid packet

Indicates invalid PIM BSR messages.

Bad Payload

Indicates messages with invalid payloads.

Bad Scope Mask

Indicates messages with invalid scope masks.

Not CBSR but BSR

Indicates messages received from non-Candidate-BootStrap Routers (C-BSRs).

Invalid BSR Addr

Indicates messages with invalid BSR addresses.

Fault Hash Length

Indicates messages whose hash mask fields of invalid lengths.

PIM Hello invalid packet

Indicates invalid PIM Hello messages.

Invalid Addr List

Indicates messages with invalid address lists.

Bad Holdtime Length

Indicates messages whose Holdtime fields are of invalid lengths.

Bad LanPruneDelay Length

Indicates messages whose LanPruneDelay fields are of invalid lengths.

Bad DrPriority Length

Indicates messages whose DrPriority fields are of invalid lengths.

Bad GenID Length

Indicates messages whose GenerationID fields are of invalid lengths.

PIM Join/Prune invalid packet

Indicates invalid PIM Join/Prune messages.

Invalid Up Neighbor

Indicates messages with invalid upstream neighbors.

PIM Graft invalid packet

Indicates invalid PIM Graft messages.

PIM Graft-Ack invalid packet

Indicates invalid PIM Graft-Ack messages.

PIM State Refresh invalid packet

Indicates invalid PIM State-Refresh messages.

Invalid Originator Addr

Indicates messages with invalid Originator address.

# Display details of one invalid PIM message recently received in the public network instance.

<sysname> display pim invalid-packet 1 verbose
       Detailed information of invalid packets
-----------------------------------------------------
Packet information (Index 1):
-----------------------------------------------------
Interface           :  GigabitEthernet0/0/6
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 verbose command output

Item

Description

Detailed information of invalid packets

Indicates details of the invalid PIM message

Packet information (Index 1)

Indicates the sequence number of the invalid PIM message (numbered in the opposite order that the message is received, for example, the index of the last received message is 1, the index of the last but one message is 2, and so on)

Interface

Indicates the number of interfaces that receive the invalid PIM message

Time

Indicates the 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 was configured with the clock timezone command; DST indicates that the daylight saving time is configured through clock daylight-saving-time command

Message Length

Indicates the length of the invalid PIM message

Invalid Type

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

Indicates the contents of the invalid PIM message

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