This section provides information to configure VRRP using the command line interface.
Configuring VRRP policies and instances on service interfaces is optional. The basic owner and non-owner VRRP configurations on an IES or VPRN 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(es) shared between two or more routers connecting the common domain. VRRP provides dynamic failover of the forwarding responsibility to the backup router 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 or VPRN service interface:
Configure VRRP parameters in the following contexts:
Configuring and applying VRRP policies is optional. There are no default VRRP policies. Each policy must be explicitly defined. A VRRP configuration must include the following:
The following example displays a configuration of a VRRP policy.
Policies are only applied to non-owner VRRP instances. A VRRP policy cannot be deleted if it is applied to an IES or VPRN service. Each instance in which the policy is applied must be deleted. The following example displays a policy deletion.
The Applied column in the following example displays whether or not the VRRP policies are applied to an entity.
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 has the same real IP addresses as the virtual 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.
Note:
VRRP service parameter configuration is the same for VPRN. |
For IPv4, up to two VRIDs can be configured on an IES service interface. Each virtual router instance can manage up to eight backup IP addresses.
VRRP parameters configured within an IES service must include the following:
The following example displays a configuration of IES service owner and non-owner VRRP configurations.
This section provides a brief overview of the tasks that must be performed to configure VRRP and list the CLI commands.
VRRP parameters are defined under a service 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 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:
VRRP parameters can be configured on an interface in a service to provide virtual default router support that allows traffic to be routed without relying on a single router in case of failure. VRRP can be configured in the following ways:
If you have multiple subnets configured on an IES or VPRN interface, you can configure VRRP on each subnet.
The following displays an IES interface configuration example:
The following displays a basic non-owner VRRP configuration example:
If a VRRP instance is created as non-owner, it cannot be changed to the owner state. The VRID must be deleted and then recreated with the owner keyword to invoke IP address ownership.
The following displays an owner VRRP configuration example:
If a VRRP instance is created as owner, it cannot be changed to the non-owner state. The VRID must be deleted and then recreated without the owner keyword to remove IP address ownership.
The VRID does not need to be shut down to remove the virtual router instance from a service.
The following example displays the command usage to delete a VRRP instance in non-owner mode from an IES service: