Configure Static Routes using EDM

About this task

Use static routes to force the router to make certain forwarding decisions. Create IP static routes to manually provide a path to destination IP address prefixes.

Note

Note

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.

For route scaling information, see Release Notes for VOSS.

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. If required, in the OwnerVrfId check box, select the appropriate VRF ID. By default, the VRF is the GlobalRouter VRF 0.
  6. In the Dest field, type the IP address.
  7. In the Mask field, type the subnet mask.
  8. In the NextHop field, type the IP address of the router through which the specified route is accessible.
  9. Optional: In the NextHopVrfId field, select the appropriate value.
  10. Optional: To enable the static route, select the Enable check box.
  11. Optional: In the Metric field, type the metric.
  12. Optional: In the Preference field, type the route preference.
  13. Optional: If required, select the LocalNextHop check box.

    Use this option to create Layer 3 static routes.

  14. Click Insert.

    The new route appears in the IP dialog box, Static Routes tab.

Static Routes Field Descriptions

Use the data in the following table to use the Static Routes tab.

Name

Description

OwnerVrfId

Specifies the VRF ID for the static route.

Dest

Specifies the destination IP address of this route. A value of 0.0.0.0 is a default route. Multiple routes to a single destination can appear in the table, but access to such multiple entries is dependent on the table-access mechanisms defined by the network management protocol in use.

Mask

Indicates the mask that the system operates a logically AND function on, with the destination address, to compare the result to the Route Destination. For systems that do not support arbitrary subnet masks, an agent constructs the Route Mask by determining whether it belongs to a class A, B, or C network, and then uses one of:

255.0.0.0—Class A

255.255.0.0—Class B

255.255.255.0—Class C

If the Route Destination is 0.0.0.0 (a default route) then the mask value is also 0.0.0.0.

NextHop

Specifies the IP address of the next hop of this route. In the case of a route bound to an interface which is realized through a broadcast media, the Next Hop is the IP address of the agent on that interface.

When you create a black hole static route, configure this parameter to 255.255.255.255.

NextHopVrfId

Specifies the next-hop VRF ID in interVRF static route configurations. Identifies the VRF in which the ARP entry resides.

Name

Note:

This field does not apply to all hardware platforms.

Specifies the name for the static route.

Enable

Determines whether the static route is available on the port. The default is enable.

If a static route is disabled, it must be enabled before it can be added to the system routing table.

Status

Specifies the status of the route. The default is enabled.

Metric

Specifies the primary routing metric for this route. The semantics of this metric are determined by the routing protocol specified in the route RouteProto value. If this metric is not used, configure the value to 1. The default is 1.

Note:

Do not configure a static interface subnet route with a metric of 1.

IfIndex

Specifies the route index of the Next Hop. The interface index identifies the local interface through which the next hop of this route is reached.

Preference

Specifies the routing preference of the destination IP address. If more than one route can be used to forward IP traffic, the route that has the highest preference is used. The higher the number, the higher the preference.

LocalNextHop

Enables and disables LocalNextHop. If enabled, the static route becomes active only if the system has a local route to the network. If disabled, the static route becomes active if the system has a local route or a dynamic route.