Fortinet 100A Router User Manual


 
Router config router static6
FortiGate-100A Administration Guide 01-28007-0068-20041203 187
This example shows how to display the OSPF configuration.
show router ospf
config router static6
Use this command to add, edit, or delete static routes for IPv6 traffic. Add static routes
to control the destination of traffic exiting the FortiGate unit. You configure routes by
adding destination IP addresses and netmasks and adding gateways for these
destination addresses. The gateways are the next hop routers to which to route traffic
that matches the destination addresses in the route.
The FortiGate unit assigns routes using a best match algorithm. To select a route for a
packet, the FortiGate unit searches through the routing table for a route that best
matches the destination address of the packet. If a match is not found, the FortiGate
unit routes the packet using the default route.
Command syntax pattern
config router static6
edit <sequence_integer>
set <keyword> <variable>
end
config router static6
edit <sequence_integer>
unset <keyword>
end
config router static6
delete <sequence_integer>
end
get router static6 [<sequence_integer>]
show router static6 [<sequence_integer>]
static6 command keywords and variables
Keywords and variables Description Default Availability
device
<interface-name_str>
The name of the FortiGate interface
through which to route traffic.
null
All models.
NAT/Route
mode only.
dst
<destination-
address_ipv6mask>
The destination IPV6 address and
netmask for this route.
Enter ::/0 for the destination IPV6
address and netmask to add a default
route.
::/0 All models.
NAT/Route
mode only.
gateway
<gateway-
address_ipv6mask>
The IPV6 address of the first next hop
router to which this route directs traffic.
:: All models.
NAT/Route
mode only.