Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

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 Name Description Type Size
input-device <name> Incoming interface name.
Interface name.
string Maximum length: 79
src Source IPv6 prefix. ipv6-network Not Specified
dst Destination IPv6 prefix. ipv6-network Not Specified
protocol Protocol number (0 - 255). integer Minimum value: 0 Maximum value: 255
start-port Start destination port number (1 - 65535). integer Minimum value: 1 Maximum value: 65535
end-port End destination port number (1 - 65535). integer Minimum value: 1 Maximum value: 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.
enable: Enable this policy route.
disable: Disable this policy route.
option -
comments Optional comments. var-string Maximum length: 255

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 Name Description Type Size
input-device <name> Incoming interface name.
Interface name.
string Maximum length: 79
src Source IPv6 prefix. ipv6-network Not Specified
dst Destination IPv6 prefix. ipv6-network Not Specified
protocol Protocol number (0 - 255). integer Minimum value: 0 Maximum value: 255
start-port Start destination port number (1 - 65535). integer Minimum value: 1 Maximum value: 65535
end-port End destination port number (1 - 65535). integer Minimum value: 1 Maximum value: 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.
enable: Enable this policy route.
disable: Disable this policy route.
option -
comments Optional comments. var-string Maximum length: 255