Add a VRRP interface


Create a VRRP interface that the vRouter. Once configured, the vRouter functions as a VRRP router and is associated with a VRRP virtual router.

Access mode

config

Syntax

vSwitch-name vRouter-name vrrp interface

Arguments

Field Name Description
ifName IfName Specifies the interface index of the lower layer associated with the VRRP router. This could be either vlan.x, lag.x, or eth.x.x. If the interface does not already exist, the system returns an error.
vrid integer Specifies the numeric identifier for the VRRP router. This identifier must match the ID on the redundant VRRP router interface.

Valid values are from 1 to 12.
ipAddresses ipAddress Specifies one or more VRRP IP addresses. These addresses cannot be IP addresses associated with a vRouter IP interface.
primaryIpAddress ipAddress Optional: Defines the IP address that the VRRP router uses to transmit VRRP advertisements when it is the master VRRP router. This address is an IP address associated with a vRouter IP interface.

One of the following occurs when you use the default value:
If the vRouter interface has only one IP address, VRRP uses that address as the primary IP address.
If the vRouter interface has multiple IP addresses, VRRP uses the lowest IP address as the primary IP address.

The default setting is "0.0.0.0".
adminState enumeration Optional: Specifies the administrative state of VRRP on the vRouter. If enabled, the Sun Secure Application Switch vRouter participates as a VRRP router. If disabled, the vRouter does not participate as a VRRP router.

The default setting is "disabled".

Valid values: enabled, disabled
priority integer Optional: Specifies the priority value of the VRRP router. The higher the value, the higher the priority.

Valid values are from 1 to 254; the default setting is "100".
interval integer Optional: The advertisement interval indicates the time interval in seconds between advertisements.

Valid values are from 1 to 255; the default setting is "1".
preempt enumeration Optional: Controls whether a backup VRRP router with a higher priority can preempt a lower priority master VRRP router. If set to true, the preemption can occur. If set to false, the backup VRRP router cannot preempt a master VRRP router with a lower priority.

The default setting is "true".

Valid values: true, false
icmpEcho enumeration Optional: Indicates whether the virtual router will respond to ICMP echo requests. An RFC compliant VRRP router will not respond to ICMP echo requests unless it is the owner of the IP address. This field overrides the RFC requirement.

The default setting is "disabled".

Valid values: enabled, disabled