Debugging the Model: BGP

The BGP model has many useful diagnostic messages that can help in troubleshooting and understanding the protocol operation. In OPNET debugger (ODB) mode, you may run the command prodiag <process_id> to get a list of available diagnostic outputs for the bgp and bgp_conn processes. Additionally, the following labels can be used with ltrace, mltrace and proltrace commands for more information:

  • bgp
  • bgp_send
  • bgp_receive
  • ip_redist (for redistribution information)

The process models and the external files also contain many comments that explain the logic of the various code pieces.

For details on various ODB commands, see “Simulation Debugger (ODB)”.