7 ipv6 route, 8 ipv6 route distance – Fortinet 548B User Manual

Page 559

Advertising
background image

- 559 -

<gateway-address> - Gateway address in IPv6 global or link-local address format.

no

Use this command remove IPv6 gateways on the network port interface.

Command Mode

Interface vlan

10.3.2.7 ipv6 route

Use this command to configure an IPv6 static route. The <ipv6-prefix> is the IPv6 network that is the
destination of the static route. The <prefix_length> is the length of the IPv6 prefix

— a decimal value

(usually 0-64) that shows how many of the high-order contiguous bits of the address comprise the prefix
(the network portion of the address). A slash mark must precede the <prefix_length>. The
<next-hop-address> is the IPv6 address of the next hop that can be used to reach the specified network.
The <preference> parameter is a value the router uses to compare this route with routes from other
route sources that have the same destination. The range for <preference> is 1 - 255, and the default
value is 1. The interface <slot/port> identifies direct static routes from point-to-point and broadcast
interfaces, and must be specified when using a link-local address as the next hop. A route with a
preference of 255 cannot be used to forward traffic.

Syntax

ipv6 route <ipv6-prefix>/<prefix_length> {<next-hop-address> [<preference>] | interface <slot/port>
<next-hop-address> [<preference>]}
no ipv6 route <ipv6-prefix>/<prefix_length> [{<next-hopaddress> | interface
<slot/port> <next-hop-address> | <preference>}]

no

Use this command to delete an IPv6 static route. Use the command without the optional

parameters to delete all static routes to the specified destination. Use the <preference> parameter to
revert preference of a route to default preference.

Default Setting

Disabled

Command Mode

Global Config

10.3.2.8 ipv6 route distance

This command sets the default distance (preference) for IPv6 static routes. Lower route distance values
are preferred when determining the best route. The ipv6 route command allows you to optionally set the
distance (preference) of an individual static route. The default distance is used when no distance is
specified in this command.

Advertising