Static Route Configuration Examples in Cisco IOS-XR for BGP Aggregated Prefix

Static Route Configuration Examples in Cisco (IOS-XR)  for BGP aggregated prefix advertisements
In order to advertise the aggregated routes (and default routes) via BGP, it should exists in the routing table, that’s the #1 rule.

If these summarized routes (/16) are not existing and only smaller subnets are learned via the IGP(e.g. OSPF,IS-IS), then configure static route and next hop e.g. Null0.


Configuration:

router static
address-family ipv4 unicast
0.0.0.0/0 Null0
172.16.0.0/16 Null0

address-family ipv6 unicast
::/0 Null0
fd41:c8be:2153:f400::/64 Null0

In formal:

router static address-family ipv4 unicast 172.16.0.0/16 Null0
router static address-family ipv4 unicast 0.0.0.0/0 Null0
router static address-family ipv6 unicast ::/0 Null0
router static address-family ipv6 unicast fd41:c8be:2153:f400::/64 Null0

For Juniper configuration, please refer to this link –> Static Route Configuration Examples in Juniper for BGP Aggregated Prefix

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *