Navigation
Diagnose BGP Session Establishment Problems
Purpose
To trace BGP session establishment problems.
Action
To trace BGP session establishment problems, follow these steps:
- In configuration mode, go to the following hierarchy level:[edit] user@host# edit protocol bgp
- Configure BGP open messages:[edit protocols bgp]user@host# set traceoptions flag open detail
- Verify the configuration:user@host# show
For example:
[edit protocols bgp]user@host# showtraceoptions { file bgplog size 10k files 10; flag open detail;} - 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]user@hotst# run show log bgplogSep 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...]