This section provides information to configure VRRP using the command line interface.
Configuring VRRP policies and configuring VRRP instances on interfaces and router interfaces is optional. The basic owner and non-owner VRRP configurations on an IES or router interface must specify the backup ip-address parameter.
VRRP helps eliminate the single point of failure in a routed environment by using virtual router IP address shared between two or more routers connecting the common domain. VRRP provides dynamic fail over of the forwarding responsibility if the master becomes unavailable.
The VRRP implementation allows one master per IP subnet. All other VRRP instances in the same domain must be in backup mode.
VRRP policies:
Configuring VRRP on an IES service interface:
This section contains information about basic VRRP configurations.
Configuring and applying VRRP policies are optional. There are no default VRRP policies. Each policy must be explicitly defined. A VRRP configuration must include the following:
The following is a sample VRRP policy configuration output.
VRRP parameters are configured within an IES service with two contexts, owner or non-owner. The status is specified when the VRRP configuration is created. When configured as owner, the virtual router instance owns the backup IP addresses. All other virtual router instances participating in this message domain must have the same VRID configured and cannot be configured as owner.
For IPv4, up to 4 virtual routers IDs (vrid) can be configured on an IES service interface.
VRRP parameters configured within an IES service must include the following:
The following is a sample IES service owner and non-owner VRRP configuration output.
VRRP parameters are configured on a router interface with two contexts, owner or non-owner. The status is specified when the VRRP configuration is created. When configured as owner, the virtual router instance owns the backed up IP addresses. All other virtual router instances participating in this message domain must have the same VRID configured and cannot be configured as owner.
For IPv4, up to 4 virtual routers IDs (VRIDs) can be configured on a router interface. For IPv6, only one virtual router instance can be configured on a router interface.
VRRP parameters configured on a router interface must include the following:
The following is a sample router interface owner and non-owner VRRP configuration output.
This section provides a brief overview of the tasks that must be performed to configure VRRP and provides the CLI commands.
VRRP parameters are defined under a service interface or a router interface context. An IP address must be assigned to each IP interface. Only one primary IP address can be associated with an IP interface, but several secondary IP addresses can also be associated.
Owner and non-owner configurations must include the following parameters:
Other owner and non-owner configurations include the following optional commands:
In addition to the common parameters, the following non-owner commands can be configured:
If you have multiple subnets configured on an Ethernet interface, you can configure VRRP on each subnet.
The following is a sample IP interface configuration output.
The following is a sample VRRP policy configuration output.
VRRP parameters can be configured on an interface in a service to provide virtual default router support which allows traffic to be routed without relying on a single router in case of failure.
The following is a sample basic non-owner VRRP configuration output.
The following is a sample owner VRRP configuration output.
VRRP parameters can be configured on an interface in an interface to provide virtual default router support which allows traffic to be routed without relying on a single router in case of failure.
The following is a sample non-owner interface VRRP configuration output.
The following is a sample router interface owner VRRP configuration output.
This section describes the VRRP configuration management tasks.
To access a specific VRRP policy, you must specify the policy ID. To display a list of VRRP policies, use the show vrrp policy command.
The following is a sample modified VRRP policy configuration output.
Policies are only applied to non-owner VRRP instances. A VRRP policy cannot be deleted if it is applied to an interface or to an IES service. Each instance in which the policy is applied must be deleted.
The Applied column in the following example displays whether or not the VRRP policies are applied to an entity.
When a VRRP instance is created as non-owner, it cannot be modified to the owner state. The VRID must be deleted and then recreated with the owner keyword to invoke IP address ownership.
When a VRRP instance is created as owner, it cannot be modified to the non-owner state. The VRID must be deleted and then recreated without the owner keyword to remove IP address ownership.
Entering the owner keyword is optional when entering the VRID for modification purposes.
The VRID does not need to be shut down to remove the virtual router instance from an interface or service.
The following shows the command usage to delete a VRRP instance from an interface or IES service.