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 input-device <name1>, <name2>, ...

set src {ipv6-network}

set dst {ipv6-network}

set protocol {integer}

set start-port {integer}

set end-port {integer}

set gateway {ipv6-address}

set output-device {string}

set tos {user}

set tos-mask {user}

set status [enable|disable]

set comments {var-string}

next

end

config router policy6

Parameter

Description

Type

Size

Default

input-device <name>

Incoming interface name.

Interface name.

string

Maximum length: 79

src

Source IPv6 prefix.

ipv6-network

Not Specified

::/0

dst

Destination IPv6 prefix.

ipv6-network

Not Specified

::/0

protocol

Protocol number .

integer

Minimum value: 0 Maximum value: 255

0

start-port

Start destination port number .

integer

Minimum value: 1 Maximum value: 65535

1

end-port

End destination port number .

integer

Minimum value: 1 Maximum value: 65535

65535

gateway

IPv6 address of the gateway.

ipv6-address

Not Specified

::

output-device

Outgoing interface name.

string

Maximum length: 35

tos

Type of service bit pattern.

user

Not Specified

tos-mask

Type of service evaluated bits.

user

Not Specified

status

Enable/disable this policy route.

option

-

enable

Option

Description

enable

Enable this policy route.

disable

Disable this policy route.

comments

Optional comments.

var-string

Maximum length: 255

config router policy6

config router policy6

Configure IPv6 routing policies.

config router policy6

Description: Configure IPv6 routing policies.

edit <seq-num>

set input-device <name1>, <name2>, ...

set src {ipv6-network}

set dst {ipv6-network}

set protocol {integer}

set start-port {integer}

set end-port {integer}

set gateway {ipv6-address}

set output-device {string}

set tos {user}

set tos-mask {user}

set status [enable|disable]

set comments {var-string}

next

end

config router policy6

Parameter

Description

Type

Size

Default

input-device <name>

Incoming interface name.

Interface name.

string

Maximum length: 79

src

Source IPv6 prefix.

ipv6-network

Not Specified

::/0

dst

Destination IPv6 prefix.

ipv6-network

Not Specified

::/0

protocol

Protocol number .

integer

Minimum value: 0 Maximum value: 255

0

start-port

Start destination port number .

integer

Minimum value: 1 Maximum value: 65535

1

end-port

End destination port number .

integer

Minimum value: 1 Maximum value: 65535

65535

gateway

IPv6 address of the gateway.

ipv6-address

Not Specified

::

output-device

Outgoing interface name.

string

Maximum length: 35

tos

Type of service bit pattern.

user

Not Specified

tos-mask

Type of service evaluated bits.

user

Not Specified

status

Enable/disable this policy route.

option

-

enable

Option

Description

enable

Enable this policy route.

disable

Disable this policy route.

comments

Optional comments.

var-string

Maximum length: 255