Adding IPv4 virtual router to an interface
Use the following command to add an IPv4 VRRP virtual router to the port10 interface of a FortiGate. This VRRP virtual router has a virtual router ID of 200, uses IP address 10.31.101.200 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 200.
VRRP can only be configured on physical interfaces or VLAN interfaces. You cannot configure VRRP on hardware-switch interfaces where multiple physical interfaces are combined into a hardware switch interface. |
config system interface
edit port10
config vrrp
edit 200
set vrip 10.31.101.200
set priority 255
end
end