set static-route-ipv6
Description
Configure static route for an IPv6 connection.
Syntax
set static-route-ipv6 <ID> [ ipv6-destination <ipv6-destination> ] [ nexthop gateway { logical <name-of-local-interface> | ipv6-address <ipv6-address> } ] [ priority <priority> ] [ disabled {true | false} |
Parameters
Parameter |
Description |
---|---|
disabled |
Enables ( |
id |
Route ID |
ipv6-destination |
IPv6 address of the destination network and IPv6 prefix length |
priority |
Priority Define which default gateway to select as the nexthop when multiple default gateways are configured. The lower the configured priority, the higher the preference. When multiple default gateways are configured with the same priority, the one with the lower IP address is selected (for example, 2001:db8:3333:4444:5555:6666:7777:0011 instead of 2001:db8:3333:4444:5555:6666:7777:0022). |
logical |
Name of the local interface with IPv6 address configured, through which the traffic must exit |
Example
set static-route-ipv6 2001:0db8:3333:4444:5555:6666:0000:0000/96 ipv6-destination 2001:0db8:3333:4444:5555:6666:0000:0000/96 nexthop gateway logical My_Network priority 2001:0db8:3333:4444:5555:6666:0000:0001 disabled true |