priority (Protocols VRRP)
Syntax
priority priority;
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number family inet address address vrrp-group group-id], [edit interfaces interface-name unit logical-unit-number family inet6 address address vrrp-inet6-group group-id], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family inet address address vrrp-group group-id], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family inet6 address address vrrp-inet6-group group-id]
Description
Configure a Virtual Router Redundancy Protocol (VRRP) device’s priority for becoming the primary default device. The device with the highest priority within the group becomes the primary. VRRP is designed to eliminate the single point of failure inherent in the static default routed environment. VRRP specifies an election protocol that dynamically assigns responsibility for a virtual router to one of the VRRP routers on a LAN. The VRRP router controlling the IP address(es) associated with a virtual router is called the Primary, and forwards packets sent to these IP addresses. The election process provides dynamic fail-over in the forwarding responsibility when the Primary become unavailable. Any of the virtual router's IP addresses on a LAN can then be used as the default first hop router by end-hosts. The advantage gained from using VRRP is a higher availability default path without requiring configuration of dynamic routing or router discovery protocols on every end-host.
Options
priority | Device’s priority for being elected to be the primary device in the VRRP group. A larger value indicates a higher priority for being elected. |
Range: 0 through 255
Default: 100. If two or more devices have the highest priority in the VRRP group, the device with the VRRP interface that has the highest IP address becomes the primary, and the others serve as backups.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.