[Contents] [Prev] [Next] [Index] [Report an Error]


Step 3: Diagnose BGP Session Establishment Problems

Action

To trace BGP session establishment problems, follow these steps:

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

For example:

[edit protocols bgp]
user@host# show 
traceoptions {
    file bgplog size 10k files 10;
    flag open detail;

  1. Commit the configuration:
  2. user@host# commit
    
    
    
  3. View the contents of the file containing the detailed messages:
  4. user@host# run show log filename
    
    
    

For example:

[edit protocols bgp]
user@host# 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...]

[Contents] [Prev] [Next] [Index] [Report an Error]