Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

interfaces <interface> vrrp vrrp-group <group-id> priority <priority>

Sets the priority of an interface within a VRRP group.

set interfaces interface vrrp vrrp-group group-id priority priority
delete interfaces interface vrrp vrrp-group group-id priority
show interfaces interface vrrp vrrp-group group-id priority

The default priority is 100.

interface
The type of interface. For detailed keywords and arguments that can be specified as interfaces, refer to Supported Dataplane Interfaces.
group-id
The VRRP group that is being configured. The identifier ranges from 1 through 255.
priority
The priority with which this interface is considered for election as the master within the VRRP group. The higher the configured number, the higher the priority.

The priority for a VRRP backup router ranges from 1 through 254. The VRRP master router must have the highest priority, which is typically set to 50 greater than any backup router. The address owner is typically set to 255. The default priority is 100.

Configuration mode


interfaces interface {
    vrrp {
        vrrp-group group-id {
            priority priority
        }
    }
}

Use this command to set the priority of an interface within a VRRP group. This priority determines the likelihood that it is elected the master router in a cluster of VRRP routers.

The master interface in the VRRP group is elected the master based on its priority in which the higher the configured number, the higher the priority. If the master interface fails, the interface with the next highest priority is elected master and assumes the virtual address of the group. The new master notifies the network of its MAC address by sending a gratuitous ARP message.

The priority of the master interface is typically set to 255. The backup interface can be left with the default priority; however, if more than one interface is acting as backup, the interfaces should be configured with different priorities.

Use the set form of the command to specify the priority of an interface within a VRRP group.

Use the delete form of the command to remove the priority of an interface within a VRRP group.

Use the show form of the command to view the priority of an interface within a VRRP group.