Configuring an IPv6 static route
Before you configure an IPv6 static route, complete the following tasks:
Configure parameters for the related interfaces.
Configure link layer attributes for the related interfaces.
Ensure that the neighboring nodes can reach each other.
To configure an IPv6 static route:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure an IPv6 static route. |
| Use either method. By default, no IPv6 static route is configured. |
3. (Optional.) Configure the default preference for IPv6 static routes. | ipv6 route-static default-preference default-preference-value | The default setting is 60. |
4. (Optional.) Delete all IPv6 static routes, including the default route. | delete ipv6 [ vpn-instance vpn-instance-name ] static-routes all | The undo ipv6 route-static command deletes one IPv6 static route. |