Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    ip vrrp priority

    Syntax

    ip vrrp vrid priority priorityValue

    no ip vrrp vrid priority

    Release Information

    Command introduced before JunosE Release 7.1.0.

    Description

    Configures the priority of VRRP routers. The no version restores the default value, 100.

    When you configure the priority of the VRRP router where the tracking object is in down state, the priority is set as follows:

    • The non-owner VRRP router calculates and sets the new VRRP priority as per the equation: VRRP priority = configured VRRP priority – (current admin priority – current VRRP priority). Also, sets the admin priority as the configured VRRP priority. If the calculation returns a priority value lesser than 0, then the VRRP priority is set as 1.
    • The owner VRRP router does not modify the current VRRP priority but sets the admin priority as the configured VRRP priority.

    Note: If you configure VRRP on a virtual router and associate the IP address with the VRRP instance ID (VRID) so that the virtual address becomes the interface address of the router, the priority of the router automatically changes to 255 making it the master router. This change of priority occurs in JunosE Software Releases 11.0.0 and higher-numbered releases and later to enable full compliance with RFC-Virtual Router Redundancy Protocol (VRRP) (April 2004).

    You cannot configure the priority of the VRRP router as 255 by using the ip vrrp priority command, unless you configured the router to automatically learn associated addresses by using the auto keyword with the ip vrrp virtual-address command. In addition, if you change the virtual address of the VRRP router, which is operating as the IP address owner, to an IP address that is no longer the IP address owner, the priority changes automatically to the admin priority value.

    Options

    • vrid—VRID identifier; a number in the range 1–255
    • priorityValue—Priority value of the VRRP router; a number in the range 1–255; default value is 100

    Mode

    Interface Configuration

    Published: 2014-08-14