The debugging bgp instance raw-packet command enables debugging of BGP original packets.
The undo debugging bgp instance raw-packet command disables debugging of BGP original packets.
By default, debugging of BGP multi-instance original packets is disabled.
debugging bgp instance bgpName raw-packet peer peerIpv4Addr [ receive | send ]
debugging bgp instance bgpName raw-packet [ receive | send ]
debugging bgp instance bgpName raw-packet vpn-instance vrf-name [ peer peerIpv4Addr ] [ receive | send ]
undo debugging bgp instance bgpName raw-packet peer peerIpv4Addr [ receive | send ]
undo debugging bgp instance bgpName raw-packet [ receive | send ]
undo debugging bgp instance bgpName raw-packet vpn-instance vrf-name [ peer peerIpv4Addr ] [ 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. |
- |
instance bgpName |
Specifies the name of a BGP multi-instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
vpn-instance vrf-name |
Specifies the name of a VPN instance. |
The value is a string of 1 to 31 case-sensitive characters. |
Usage Scenario
The debugging bgp instance 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.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 instance a 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