C613-50170-01 Rev B
Command Reference for x510 Series
2143
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
VRRP C
OMMANDS
VIRTUAL
-
IP
virtual-ip
Overview
Use this command to set the virtual IP address for the VRRP session. This is the IP
address of the virtual router that end hosts set as their default gateway.
Use the
no
variant of this command to disable this feature.
Syntax
virtual-ip
<ip-address>
[master|backup|owner]
no virtual-ip
Mode
Router Configuration
Usage
The VRRP master and owner of the virtual IPv4 address for the VRRP session only
responds to the packets destined to the virtual IPv6 address. The VRRP master that
is not an owner of the virtual IPv4 address for the VRRP session does not respond
to the packets destined to the virtual IPv4 address, but forwards packets with a
VMAC as the destination address. See the
command to enable and
disable this feature.
See the
VRRP Feature Overview and Configuration Guide
for more information
about VRRPv3 IPv4 configuration details.
Examples
The example below shows you how to set the virtual IP address for VRRP VR ID 5
and the router as the VRRP master:
awplus#
configure terminal
awplus(config)#
router vrrp 5 vlan2
awplus(config-router)#
virtual-ip 192.0.2.30 master
The example below shows you how to set the virtual IPv4 address for VRRP VR ID 5
and the router as the VRRP backup:
awplus#
configure terminal
awplus(config)#
router vrrp 5 vlan2
awplus(config-router)#
virtual-ip 192.0.2.30 backup
Parameter
Description
<ip-address>
The virtual IPv4 address of the virtual router, entered in dotted
decimal format A.B.C.D.
master
Sets the default state of the VRRP router within the Virtual Router as
master
. For master, the router must own the Virtual IP address.
Specify the
owner
option before using
master
option.
backup
Sets the default state of the VRRP router within the Virtual Router as
backup
.
owner
Sets the IPv6 address of the VRRP router within the Virtual Router as
the
owner
. Specify this before using the
master
option.