Chapter 2 Advanced Routing for FortiOS 5.0 : Border Gateway Protocol (BGP) : Redistributing and blocking routes in BGP : Testing network configuration
  
Testing network configuration
Testing this configuration involves the standard connectivity checks, but also ensuring that routes are being passed between protocols as expected.
Check the routing table on the FortiGate unit to ensure that routes from both OSPF and BGP are present.
Check the routing table on devices on the OSPF network for routes redistributed from BGP. Also check those devices for connectivity to the Internet.
Check the routing table on Peer 2 to ensure no routes from Peer 1 are present, but routes from the internal OSPF network are present.
For help with troubleshooting, see “Troubleshooting BGP”.