Fortinet white logo
Fortinet white logo

CLI Reference

config router static6

config router static6

Configure IPv6 static routing tables.

config router static6
    Description: Configure IPv6 static routing tables.
    edit <seq-num>
        set bfd [enable|disable]
        set blackhole [enable|disable]
        set comment {var-string}
        set device {string}
        set devindex {integer}
        set distance {integer}
        set dst {ipv6-network}
        set dstaddr {string}
        set dynamic-gateway [enable|disable]
        set gateway {ipv6-address}
        set link-monitor-exempt [enable|disable]
        set priority {integer}
        set sdwan-zone <name1>, <name2>, ...
        set status [enable|disable]
        set vrf {integer}
        set weight {integer}
    next
end

config router static6

Parameter

Description

Type

Size

Default

bfd

Enable/disable Bidirectional Forwarding Detection (BFD).

option

-

disable

Option

Description

enable

Enable Bidirectional Forwarding Detection (BFD).

disable

Disable Bidirectional Forwarding Detection (BFD).

blackhole

Enable/disable black hole.

option

-

disable

Option

Description

enable

Enable black hole.

disable

Disable black hole.

comment

Optional comments.

var-string

Maximum length: 255

device

Gateway out interface or tunnel.

string

Maximum length: 35

devindex

Device index.

integer

Minimum value: 0 Maximum value: 4294967295

0

distance

Administrative distance.

integer

Minimum value: 1 Maximum value: 255

10

dst

Destination IPv6 prefix.

ipv6-network

Not Specified

::/0

dstaddr

Name of firewall address or address group.

string

Maximum length: 79

dynamic-gateway

Enable use of dynamic gateway retrieved from Router Advertisement (RA).

option

-

disable

Option

Description

enable

Enable dynamic gateway.

disable

Disable dynamic gateway.

gateway

IPv6 address of the gateway.

ipv6-address

Not Specified

::

link-monitor-exempt

Enable/disable withdrawal of this static route when link monitor or health check is down.

option

-

disable

Option

Description

enable

Keep this static route when link monitor or health check is down.

disable

Withdraw this static route when link monitor or health check is down. (default)

priority

Administrative priority.

integer

Minimum value: 1 Maximum value: 65535

1024

sdwan-zone <name>

Choose SD-WAN Zone.

SD-WAN zone name.

string

Maximum length: 79

seq-num

Sequence number.

integer

Minimum value: 0 Maximum value: 4294967295

0

status

Enable/disable this static route.

option

-

enable

Option

Description

enable

Enable static route.

disable

Disable static route.

vrf

Virtual Routing Forwarding ID.

integer

Minimum value: 0 Maximum value: 251

0

weight

Administrative weight.

integer

Minimum value: 0 Maximum value: 255

0

config router static6

config router static6

Configure IPv6 static routing tables.

config router static6
    Description: Configure IPv6 static routing tables.
    edit <seq-num>
        set bfd [enable|disable]
        set blackhole [enable|disable]
        set comment {var-string}
        set device {string}
        set devindex {integer}
        set distance {integer}
        set dst {ipv6-network}
        set dstaddr {string}
        set dynamic-gateway [enable|disable]
        set gateway {ipv6-address}
        set link-monitor-exempt [enable|disable]
        set priority {integer}
        set sdwan-zone <name1>, <name2>, ...
        set status [enable|disable]
        set vrf {integer}
        set weight {integer}
    next
end

config router static6

Parameter

Description

Type

Size

Default

bfd

Enable/disable Bidirectional Forwarding Detection (BFD).

option

-

disable

Option

Description

enable

Enable Bidirectional Forwarding Detection (BFD).

disable

Disable Bidirectional Forwarding Detection (BFD).

blackhole

Enable/disable black hole.

option

-

disable

Option

Description

enable

Enable black hole.

disable

Disable black hole.

comment

Optional comments.

var-string

Maximum length: 255

device

Gateway out interface or tunnel.

string

Maximum length: 35

devindex

Device index.

integer

Minimum value: 0 Maximum value: 4294967295

0

distance

Administrative distance.

integer

Minimum value: 1 Maximum value: 255

10

dst

Destination IPv6 prefix.

ipv6-network

Not Specified

::/0

dstaddr

Name of firewall address or address group.

string

Maximum length: 79

dynamic-gateway

Enable use of dynamic gateway retrieved from Router Advertisement (RA).

option

-

disable

Option

Description

enable

Enable dynamic gateway.

disable

Disable dynamic gateway.

gateway

IPv6 address of the gateway.

ipv6-address

Not Specified

::

link-monitor-exempt

Enable/disable withdrawal of this static route when link monitor or health check is down.

option

-

disable

Option

Description

enable

Keep this static route when link monitor or health check is down.

disable

Withdraw this static route when link monitor or health check is down. (default)

priority

Administrative priority.

integer

Minimum value: 1 Maximum value: 65535

1024

sdwan-zone <name>

Choose SD-WAN Zone.

SD-WAN zone name.

string

Maximum length: 79

seq-num

Sequence number.

integer

Minimum value: 0 Maximum value: 4294967295

0

status

Enable/disable this static route.

option

-

enable

Option

Description

enable

Enable static route.

disable

Disable static route.

vrf

Virtual Routing Forwarding ID.

integer

Minimum value: 0 Maximum value: 251

0

weight

Administrative weight.

integer

Minimum value: 0 Maximum value: 255

0