Pathfinder Applications
Note: † Internal applications are hidden from customers and partners. This is visible to you because you have logged into HPEs internal network.
Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Display Sent or Received BGP Packets
Action
To configure the tracing for sent or received BGP protocol packets, follow these steps:
- In configuration mode, go to the following hierarchy level:[edit]user@host# edit protocol bgp traceoptions
- Configure the flag to display sent, received, or both
sent and received packet information:[edit protocols bgp traceoptions] user@host# set flag update send
or
[edit protocols bgp traceoptions]user@host# set flag update receiveor
[edit protocols bgp traceoptions]user@host# set flag update - Verify the configuration:user@host# show
For example:
[edit protocols bgp traceoptions]user@host# show file bgplog size 10k files 10;flag update send;or
[edit protocols bgp traceoptions]user@host# show file bgplog size 10k files 10;flag update receive;or
[edit protocols bgp traceoptions]user@host# show file bgplog size 10k files 10;flag update send receive; - Commit the configuration:user@host# commit
- View the contents of the file containing the detailed
messages:user@host# run show log filename
For example:
[edit protocols bgp traceoptions]user@host# run show log bgplog Sep 13 12:58:23 trace_on: Tracing to "/var/log/bgplog" startedSep 13 12:58:23 BGP RECV flags 0x40 code ASPath(2): <null>Sep 13 12:58:23 BGP RECV flags 0x40 code LocalPref(5): 100Sep 13 12:58:23 BGP RECV flags 0xc0 code Extended Communities(16): 2:10458:3[...Output truncated...]