Enable VRRP and add a primary virtual router with enhanced settings

You can enable VRRP and add a primary virtual router by configuring its virtual router ID (VRID), selecting its interface, and settings its primary IP address. In addition, you can configure multiple enhanced settings.

To enable VRRP and add a primary virtual router with enhanced settings

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Routing > VRRP > Advanced > VRRP Configuration.

    The VRRP Configuration page displays. The page shows different sections.

  3. Select an Admin Mode radio button:
    • Enable: VRRP is enabled for the switch.

    • Disable: VRRP is disabled for the switch. This is the default setting.

  4. Click the Apply button.

    Your settings are saved.

  5. To save the settings to the running configuration, click the Save icon.
  6. In the VRID field, enter a number in the range from 1 to 255.

    The VRID enables virtual routers to communicate with each other in a VRRP configuration. That is, the primary and secondary virtual routers must have the same VRID.

  7. From the Interface menu, select the interface that must function as the primary virtual router.
  8. From the Pre-empt Mode menu, select if a backup virtual router can preempt the primary virtual router:
    • Enable: A backup VRRP router can preempt the primary virtual router if the backup router has a greater priority than the primary virtual router and the IP address in the Primary IP Address field (see below) is not the IP address of the primary virtual router. The default is Enable.

    • Disable: A backup virtual router cannot preempt the primary virtual router.

  9. From the Accept Mode menu, select if the primary virtual router can accept data packets:
    • Enable: The primary virtual router accepts all types of data packets that are addressed to the IP address that is associated with the primary virtual router.

    • Disable: The primary virtual router discards all types of data packets that are addressed to the IP address that is associated with the primary virtual router, unless the IP address in the Primary IP Address field (see below) is the IP address of the primary virtual router. The default is Disable.

  10. In the Configured Priority field, enter the priority number that VRRP uses in the election of the primary virtual router.

    The range is from 1 to 254. If the virtual IP address is the same as the interface IP address, the priority is always set to 254.

  11. In the Advertisement Interval field, enter the time, in seconds, between the transmission of advertisement packets by the router.

    Enter a number from 1 to 255. The default value is 1 second.

  12. In the Primary IP Address field, enter the IP address for the primary virtual router.
  13. From the Authentication Type menu, select if authentication is enabled for the primary virtual router.
    • None: No authentication is performed. This is the default.

    • Simple: Authentication is performed using a text password.

  14. If you select Simple from the Authentication Type menu, enter a password in the Authentication Data field.
  15. From the Status menu, select if the primary virtual router is enabled:
    • Active: The primary virtual router is enabled.
    • Inactive: The primary virtual router is configured but disabled.
  16. Click the Add button.

    Your settings are saved. The primary virtual router is added.

  17. To save the settings to the running configuration, click the Save icon.

The following table describes the view-only fields on the page.

Field

Description

Operational Priority

The priority that is used for the VRRP election process of the primary virtual router. A higher value is a higher priority.

A primary virtual router is assigned a priority of 0 if it no longer participates in VRRP because a backup virtual router took over.

A virtual router is assigned a priority of 255 if the interface IP address is identical to the primary IP address.

Interface IP Address

The IP address that is associated with the interface. This IP address can be different from the primary IP address.

Owner

Indicates if the interface IP address is identical to the primary IP address:

  • True: The interface IP address is identical to the primary IP address. In a VRRP election process, if the virtual router is active and its interface IP address is identical to the primary IP address, it always wins an election for the primary virtual router.

  • False: The interface IP address is different from the primary IP address.

VMAC Address

The virtual MAC address that is associated with the virtual router. This MAC address consists of a 24-bit organizationally unique identifier, the 16-bit constant identifying the VRRP address block. and the 8-bit VRID.

State

The state of the virtual router:

  • Initializing: The virtual router is in the process of initializing.

  • Master: The virtual router completed initialization and functions as the primary router.

  • Backup: The virtual router completed initialization and functions as the secondary router.