Adding IPv6 virtual routers to an interface
Use the following command to add an IPv6 VRRP virtual router to the port20 interface of a FortiGate. This VRRP virtual router has a virtual router ID of 220, uses IP address 2001:db8:1::12 and has a priority of 255. Since this is the highest priority, this interface is configured to be the primary router of the VRRP domain with ID number 220.
config system interface
edit port20
config ipv6
set vrip6_link_local <link-local-ipv6-address>
config vrrp6
edit 220
set vrip 2001:db8:1::12
set priority 255
end