The debugging bgp raw-packet command enables debugging of BGP original packets.
The undo debugging bgp raw-packet command disables debugging of BGP original packets.
By default, debugging of BGP original packets is disabled.
debugging bgp raw-packet peer peerIpv4Addr [ receive | send ]
debugging bgp raw-packet peer peerIpv6Addr [ receive | send ]
debugging bgp raw-packet [ receive | send ]
debugging bgp raw-packet vpn-instance vpn-instance-name [ peer { peerIpv4Addr | peerIpv6Addr } ] [ receive | send ]
undo debugging bgp raw-packet peer peerIpv4Addr [ receive | send ]
undo debugging bgp raw-packet peer peerIpv6Addr [ receive | send ]
undo debugging bgp raw-packet [ receive | send ]
undo debugging bgp raw-packet vpn-instance vpn-instance-name [ peer { peerIpv4Addr | peerIpv6Addr } ] [ receive | send ]
Parameter | Description | Value |
---|---|---|
peer peerIpv4Addr |
Specifies the IP address of an IPv4 peer. |
The value is in dotted decimal notation. |
receive |
Outputs debugging information about the specified packet receiving direction. |
- |
send |
Outputs debugging information about the specified packet sending direction. |
- |
peerIpv6Addr |
Specifies the IP address of an IPv6 peer. |
The value is in the X:X:X:X:X:X:X:X format. |
vpn-instance vpn-instance-name |
Specify a VPN-Instance (VRF) name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
The debugging bgp raw-packet command enables debugging of BGP original packets so that you can view the information during BGP original packet receiving and sending.
When much information is output, you can filter the output information by VPN instance, peer.Follow-up Procedure
Run the undo debugging bgp raw-packet command to disable debugging of BGP original packets.
Precautions
Debugging information is output on the screen. Do not output too much information for other purposes than debugging so that the performance is not affected.
<HUAWEI> debugging bgp raw-packet
2011-02-23 01:59:54 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738916;
BGP(VPN 0): Received message from 3.3.3.3
(Displaying bytes from 1 to 21)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 15 03 06 04
2011-02-23 01:59:54 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738910;
BGP(VPN 0): Received message from 10.1.1.2
(Displaying bytes from 1 to 21)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 15 03 06 04
2011-02-23 02:00:04 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738916;
BGP(VPN 0): Sent message to 3.3.3.3
(Displaying bytes from 1 to 45)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 2D 01 04 00 64 00 B4 01 01 01 09 10 02 0E 01 04 00 01 00 01 02 00 41 04 00 00
00 64
2011-02-23 02:00:04 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738916;
BGP(VPN 0): Received message from 3.3.3.3
(Displaying bytes from 1 to 45)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 2D 01 04 00 64 00 B4 03 03 03 09 10 02 0E 01 04 00 01 00 01 02 00 41 04 00 00
00 64
2011-02-23 02:00:04 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738916;
BGP(VPN 0): Sent message to 3.3.3.3
(Displaying bytes from 1 to 19)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 13 04
2011-02-23 02:00:05 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738916;
BGP(VPN 0): Received message from 3.3.3.3
(Displaying bytes from 1 to 19)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 13 04
2011-02-23 02:00:05 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738916;
BGP(VPN 0): Sent message to 3.3.3.3
(Displaying bytes from 1 to 23)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 17 02 00 00 00 00
2011-02-23 02:00:05 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738916;
BGP(VPN 0): Received message from 3.3.3.3
(Displaying bytes from 1 to 56)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 38 02 00 00 00 1C 40 01 01 02 40 02 00 40 03 04 03 03 03 09 80 04 04 00 00 00
58 40 05 04 00 00 00 64 20 21 01 01 01
2011-02-23 02:00:05 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738916;
BGP(VPN 0): Received message from 3.3.3.3
(Displaying bytes from 1 to 23)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 17 02 00 00 00 00
2011-02-23 02:00:03 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738910;
BGP(VPN 0): Sent message to 10.1.1.2
(Displaying bytes from 1 to 45)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 2D 01 04 00 64 00 B4 01 01 01 09 10 02 0E 01 04 00 01 00 01 02 00 41 04 00 00
00 64
2011-02-23 02:00:03 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738910;
BGP(VPN 0): Received message from 10.1.1.2
(Displaying bytes from 1 to 45)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 2D 01 04 00 64 00 B4 03 03 03 09 10 02 0E 01 04 00 01 00 01 02 00 41 04 00 00
00 64
2011-02-23 02:00:03 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738910;
BGP(VPN 0): Sent message to 10.1.1.2
(Displaying bytes from 1 to 19)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 13 04
2011-02-23 02:00:04 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738910;
BGP(VPN 0): Received message from 10.1.1.2
(Displaying bytes from 1 to 19)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 13 04
2011-02-23 02:00:04 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738910;
BGP(VPN 0): Sent message to 10.1.1.2
(Displaying bytes from 1 to 23)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 17 02 00 00 00 00
2011-02-23 02:00:04 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738910;
BGP(VPN 0): Received message from 10.1.1.2
(Displaying bytes from 1 to 56)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 38 02 00 00 00 1C 40 01 01 02 40 02 00 40 03 04 0D 01 01 02 80 04 04 00 00 00
00 40 05 04 00 00 00 64 20 21 01 01 01
2011-02-23 02:00:04 RTA %%01bgpcomm/3/DEBUG_INFO(d):CID=2148738910;
BGP(VPN 0): Received message from 10.1.1.2
(Displaying bytes from 1 to 23)
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 17 02 00 00 00 00