Configure a Black Hole Static Route

Before you begin

About this task

Create a black hole static route to the destination that a router advertises to avoid routing loops when aggregating or injecting routes to other routers.

If an existing black hole route is enabled, you must first delete or disable it before you can add a regular static route to that destination.

Procedure

  1. In the navigation tree, expand the following folders: Configuration > IP.
  2. Click IP.
  3. Click the Static Routes tab.
  4. Click Insert.
  5. In the OwnerVrfId check box, select the appropriate VRF ID.
  6. In the Dest field, enter the IP address.
  7. In the Mask field, enter the network mask.
  8. In the NextHop field, type 255.255.255.255.

    To create a black hole static route, you must configure the NextHop address to 255.255.255.255.

  9. Select the enable option.
  10. In the Metric box, type the HopOrMetric value.
  11. In the Preference check box, select the route preference.

    When you specify a route preference, be sure to appropriately configure the preference so that when the black hole route is used, it is elected as the best route.

  12. Click Insert.