show ip bgp neighbors last-packet-with-error

Displays information about the last packet that contained an error from any of a device‘s neighbors.

Syntax

show ip bgp neighbors ip-addr last-packet-with-error [ decode ] [ vrf vrf-name ]

Parameters

ip-addr
IP address of a neighbor in dotted-decimal notation.
decode
Decodes last packet that contained an error from any of a device's neighbors.
vrf vrf-name
Specifies a VRF instance.

Modes

Privileged EXEC mode

Examples

This example shows sample output from the show ip bgp neighbors last-packet-with-error command when no packet from a specified neighbor contained an error.

device# show ip bgp neighbors 123.123.123.3 last-packet-with-error 

 Received Message Length: 45
 BGP Message:
  0xffffffff  0xffffffff  0xffffffff  0xffffffff  0x002d0104
  0x014b00b4  0x09090909  0x10020601  0x04010000  0x01020202
  0x00020280  0x00

 BGP Header
  Marker:   0xffffffff  0xffffffff  0xffffffff  0xffffffff
  Message Length: (0x002d) 45
  Message Type: (0x01) OPEN

 OPEN Message 
 Version: (0x04) 4
 AS Number: (0x014b) 331 
 Hold Time: (0x00b4) 180
 BGP Identifier: (0x09090909) 9.9.9.9 
 Optional Parameter length: (0x10) 16

 OPEN message optional parameters
  Parameter Type: (0x02) Capability
  Parameter Length: (0x06) 6
   Capability Type: (0x01) MULTIPROTOCOL EXTENSIONS
   Capability Length: (0x04) 4
   AFI: (0x0100) Unknown(256)
   Reserved: (0x00) 0
   SAFI: (0x01) Unicast

  Parameter Type: (0x02) Capability
  Parameter Length: (0x02) 2
   Capability Type: (0x02) ROUTE REFRESH(new)
   Capability Length: (0x00) 0

  Parameter Type: (0x02) Capability
  Parameter Length: (0x02) 2
   Capability Type: (0x80) ROUTE REFRESH(old)
   Capability Length: (0x00) 0