Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Diagnose BGP Session Establishment Problems

    Purpose

    To trace BGP session establishment problems.

    Action

    To trace BGP session establishment problems, follow these steps:

    1. In configuration mode, go to the following hierarchy level:
      [edit] user@host# edit protocol bgp
    2. Configure BGP open messages:
      [edit protocols bgp]user@host# set traceoptions flag open detail
    3. Verify the configuration:
      user@host# show

      For example:

      [edit protocols bgp]user@host# show
      traceoptions { file bgplog size 10k files 10; flag open detail;}
    4. Commit the configuration:
      user@host# commit
    5. View the contents of the file containing the detailed messages:
      user@host#run show log filename

      For example:

      [edit protocols bgp]user@hotst# run show log bgplog
      Sep 17 17:13:14 trace_on: Tracing to "/var/log/bgplog" started
      Sep 17 17:13:14 bgp_read_v4_update: done with 201.0.0.2 (Internal AS 10458) received 19 octets 0 updates 0 routes
      Sep 17 17:13:15 bgp_read_v4_update: receiving packet(s) from 201.0.0.3 (Internal AS 10458)
      Sep 17 17:13:15 bgp_read_v4_update: done with 201.0.0.3 (Internal AS 10458) received 19 octets 0 updates 0 routes
      Sep 17 17:13:44 bgp_read_v4_update: receiving packet(s) from 201.0.0.2 (Internal AS 10458)
      [...Output truncated...]

    Published: 2013-07-25