Create IPv6 Static Routes

Use static routes to manually configure routes to destination IPv6 address prefixes.

Before you begin

  • Enable IPv6 forwarding.

  • Change the VRF instance as required to create IPv6 static routes on a specific VRF instance. Not all parameters are configurable on non-default VRFs.

Procedure

  1. In the navigation tree, expand the following folders: Configuration > IPv6.
  2. Click IPv6.
  3. Click the Globals tab.
  4. Select the StaticRouteGlobalAdminEnabled check box.

    If you disable static routes globally, the system removes all enabled static routes from the RTM and does not add new static routes to the RTM. The default is enabled.

  5. Click Apply.
  6. Click the Static Routes tab.
  7. Click Insert.
  8. In the Dest field, type the IPv6 address.
  9. In the PrefixLength field, type the length of the prefix for the IPv6 address.
  10. In the NextHop field, type the IPv6 address of the router through which the specified route is accessible.
  11. Beside the Interface field, click Port or Vlan or Tunnel.
  12. Select the interface, and then click OK.
  13. In the Cost field, type a number for the distance.
  14. Select the Enable check box.
  15. Click Insert.

Static Routes Field Descriptions

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

Name

Description

Dest

Specifies the IPv6 destination network address. The prefix value must match the PrefixLength.

PrefixLength

Specifies the number bits you want to advertise from the prefix. The prefix value must match the value in the Dest field. The range is 0 to 128.

NextHop

Specifies the IPv6 address of the next hop on this route. You do not need to specify the next hop if the devices directly connect to one another. Configure the next hop if the two nodes do not share the same network prefix but reside on the same link.

Interface

Specifies the interface to which this entry applies. You must specify the port or VLAN if the next hop is a link-local address.

Cost

Specifies the cost or distance ratio to reach the destination for this node. The range is 1-65535. The default value is 1.

Name

Note:

This field is not supported on all hardware platforms.

Specifies the name for the static route.

Enable

Enables the static route on the port. The default value is enable.

Status

Shows the status of the static route as one of the following:

  • notReachable: The route is not reachable and no neighbor request entry is built to resolved the next-hop. This status appears if no route or neighbor exists to reach the next-hop of the static route.

  • tryToResolve: The route is not reachable but a neighbor request entry is built to resolve the next-hop. This status appears if a local equivalent route exists in the system to reach the next-hop but the neighbor is not learned.

  • reachableNotInRtm: The static route is reachable but it is not in RTM. This status appears if the static route is reachable, but it is not the best among alternative static routes.

  • reachableInRtm: The static route is reachable and it is in RTM. This status appears if the static route is reachable, and it is the best among alternative static routes to be added into RTM.

Preference

Specifies the routing preference of the destination IPv6 address. The range is 1-255. The default value is 5.