Create IPv6 Static Routes

Perform the steps in this task to:

  • Create static routes for data traffic in either the GRT or a specific VRF context for any platform.

  • Create static routes for a VRF associated with a Segmented Management Instance CLIP interface.

  • Create static routes for management purposes on VSP 8600 Series:

    • Use the mgmtRouter VRF context to configure static routes for the OOB port.

    • Use the default VRF context to configure static routes in the GRT for the inband VLAN or loopback interface.

VSP 8600 Series uses the routing stack to create static routes for data traffic as well as management purposes. For all other platforms, static routes for the management OOB and management VLAN, if supported, must use the Segmented Management Instance. For more information, see Segmented Management Instance Configuration for VOSS using EDM. The management CLIP can use the Segmented Management Instance or routes in the associated VRF routing table manager (RTM).

Before you begin

  • Enable IPv6 forwarding.

  • Change the VRF instance as required. For information about how to use EDM for a non-default VRF, see Select and Launch a VRF Context View. Not all parameters are configurable on non-default VRFs.

Procedure

  1. In the navigation pane, expand Configuration > IPv6.
  2. Select IPv6.
  3. Select 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. Select Apply.
  6. Select the Static Routes tab.
  7. Select 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, select Port or Vlan or Tunnel.
  12. Select the interface, and then select OK.
  13. In the Cost field, type a number for the distance.
  14. Select the Enable check box.
  15. Select 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. The system displays this status 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. The system displays this status 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. The system displays this status 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. The system displays this status 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.