How Allow Redistribute Default Route" Works on BGP and OSPF"

How Allow Redistribute Default Route" Works on BGP and OSPF"

Created On 09/25/18 20:40 PM - Last Modified 02/08/19 00:05 AM



There are circumstances where routers need to advertise default routes to its peers . This document illustrates how we redistribute default routes to peer with/without having the default route in the routing table of the box.



Enabling the "Allow Redistribute Default Route" with the redistribution profile having the default route is mandatory to have the default route advertised to its peers. The procedure is same for OSPF and BGP.


If the default route is not available on the routing table , you can directly add the default route( in the redistribution profile of the protocols in the BGP-Network--BGP---Redistribution profile, Network--OSPF--Exportrule and enable the Allow redistribute default route tab and distribute the route.


The significance of having the Allow Redistribute default route tab  is to validate whether the default route needs to be propogated even if it is part of the redistribution profile, which has all the routes including default.  Screen Shot 2018-02-20 at 1.03.51 PM.pngScreen Shot 2018-02-20 at 1.03.35 PM.pngScreen Shot 2018-02-20 at 1.03.14 PM.png




Troubleshooting - CLI

To check if the default route is propogated , check the following CLI commands



> show routing protocol ospf dump lsbd

1                 type-5 (External)    0x80000001 0x0000CEFE    29       
            Options: [External]
            Mask, type 2, tos 0 metric: 1, forward, tag



> show routing protocol bgp rib-out | match        peer-110          advertised  no aggregation  65001        subint-2          advertised  no aggregation  65001        tunnelpeer          advertised  no aggregation  65001


Troubleshooting - WebGUI

For BGP,  the same information can be checked on the WebGUI as well, but not for OSPF. This is found in the Virtual Router > BGP > RIB Out screen.

Screen Shot 2018-02-20 at 1.25.07 PM.png


owner: mchandrase

  • Print
  • Copy Link

Choose Language