# Creating IPv6 static routes

Use this procedure to configure static routes to destination IPv6 address prefixes.

## Procedure steps

1. From the navigation tree, double-click IPv6.

2. Double-click IPv6.

3. Click the Static Routes tab.

4. Click Insert.

5. In the Dest box, type the IPv6 address.

6. In the PrefixLength box, type the length of the prefix for the IPv6 address.

7. In the NextHop box, type the IPv6 address of the router through which the specified route is accessible.

8. In the IfIndex box, click VLAN, or Tunnel and select an option.

9. In the Cost box, type a number for the distance.

10. Select the Enable check box.

11. In the Preference box, type the route preference.

12. Click Insert.

    The new route appears in the Static Routes tab.

## Variable definitions

The following table describes the fields of the Static Routes tab.

Variable | Value
--- | ---
Dest | Configures the IPv6 destination network address. The prefix value must match the PrefixLength.
PrefixLength | Configures the number of leading one bits that form the mask as a logical value. The prefix value must match the value in the Dest box. The range is 0–128.
NextHop | Configures the next hop IPv6 address.
IfIndex | Select the required VLAN, or tunnel.
Cost | Configures the cost or distance ratio to reach the destination for this node. The range is 1–65535. The default value is 1.
Enable | Configures whether the configured static route is available on the port. The default is enable.
| Important
| If a static route is disabled, you must enable it before you can add the route to the system routing table.
Status | Indicates the current status of this entry.
Preference | Configures the routing preference of the destination IPv6 address. The range is 1-255. The default value is 5.