Fortinet white logo
Fortinet white logo

CLI Reference

config router policy6

config router policy6

Configure IPv6 routing policies.

config router policy6
    Description: Configure IPv6 routing policies.
    edit <seq-num>
        set comments {var-string}
        set dst {ipv6-network}
        set end-port {integer}
        set gateway {ipv6-address}
        set input-device <name1>, <name2>, ...
        set output-device {string}
        set protocol {integer}
        set src {ipv6-network}
        set start-port {integer}
        set status [enable|disable]
        set tos {user}
        set tos-mask {user}
    next
end

config router policy6

Parameter

Description

Type

Size

Default

comments

Optional comments.

var-string

Maximum length: 255

dst

Destination IPv6 prefix.

ipv6-network

Not Specified

::/0

end-port

End destination port number.

integer

Minimum value: 1 Maximum value: 65535

65535

gateway

IPv6 address of the gateway.

ipv6-address

Not Specified

::

input-device <name>

Incoming interface name.

Interface name.

string

Maximum length: 79

output-device

Outgoing interface name.

string

Maximum length: 35

protocol

Protocol number.

integer

Minimum value: 0 Maximum value: 255

0

seq-num

Sequence number.

integer

Minimum value: 1 Maximum value: 65535

0

src

Source IPv6 prefix.

ipv6-network

Not Specified

::/0

start-port

Start destination port number.

integer

Minimum value: 1 Maximum value: 65535

1

status

Enable/disable this policy route.

option

-

enable

Option

Description

enable

Enable this policy route.

disable

Disable this policy route.

tos

Type of service bit pattern.

user

Not Specified

tos-mask

Type of service evaluated bits.

user

Not Specified

config router policy6

config router policy6

Configure IPv6 routing policies.

config router policy6
    Description: Configure IPv6 routing policies.
    edit <seq-num>
        set comments {var-string}
        set dst {ipv6-network}
        set end-port {integer}
        set gateway {ipv6-address}
        set input-device <name1>, <name2>, ...
        set output-device {string}
        set protocol {integer}
        set src {ipv6-network}
        set start-port {integer}
        set status [enable|disable]
        set tos {user}
        set tos-mask {user}
    next
end

config router policy6

Parameter

Description

Type

Size

Default

comments

Optional comments.

var-string

Maximum length: 255

dst

Destination IPv6 prefix.

ipv6-network

Not Specified

::/0

end-port

End destination port number.

integer

Minimum value: 1 Maximum value: 65535

65535

gateway

IPv6 address of the gateway.

ipv6-address

Not Specified

::

input-device <name>

Incoming interface name.

Interface name.

string

Maximum length: 79

output-device

Outgoing interface name.

string

Maximum length: 35

protocol

Protocol number.

integer

Minimum value: 0 Maximum value: 255

0

seq-num

Sequence number.

integer

Minimum value: 1 Maximum value: 65535

0

src

Source IPv6 prefix.

ipv6-network

Not Specified

::/0

start-port

Start destination port number.

integer

Minimum value: 1 Maximum value: 65535

1

status

Enable/disable this policy route.

option

-

enable

Option

Description

enable

Enable this policy route.

disable

Disable this policy route.

tos

Type of service bit pattern.

user

Not Specified

tos-mask

Type of service evaluated bits.

user

Not Specified