Configure a Default Static Route

Before you begin

About this task

The default route specifies a route to all networks for which there no explicit routes exist in the Forwarding Information Base or in the routing table. This route has a prefix length of zero (RFC 1812). You can configure the switch with a static default route, or they can learn it through a dynamic routing protocol.

To create a default static route, you configure the destination address and subnet mask to 0.0.0.0.

Tip

Tip

As a best practice, do not configure static routes on a DvR Leaf node unless the configuration is for reachability to a management network using a brouter port.

Also, configuring the preference of static routes is not supported on a Leaf node.

Procedure

  1. In the navigation pane, expand Configuration > IP.
  2. Select IP.
  3. Select the Static Routes tab.
  4. Select Insert.
  5. In the OwnerVrfId check box, select the appropriate VRF ID.
  6. In Dest, type 0.0.0.0.
  7. In Mask, type 0.0.0.0.
  8. In NextHop, type the IP address of the router through which the specified route is accessible.
  9. In Metric, type the HopOrMetric value.
  10. Select Insert.