Configuration Commands 126
Virtual Router Redundancy Protocol configuration
Virtual Router Redundancy Protocol (VRRP) support on the GbE2c Ethernet Blade switch provides redundancy between
routers in a LAN. This is accomplished by configuring the same virtual router IP address and ID number on each
participating VRRP-capable routing device. One of the virtual routers is then elected as the master, based on a
number of priority criteria, and assumes control of the shared virtual router IP address. If the master fails, one of the
backup virtual routers will assume routing authority and take control of the virtual router IP address.
By default, VRRP is disabled. For more information on VRRP, see the “High Availability” chapter in the HP c-Class
GbE2c Ethernet Blade Switch Application Guide.
NOTE: VRRP commands are available only on the GbE2c Layer 2/3 Ethernet Blade Switch.
The following table describes the basic VRRP Configuration commands. The following sections provide more detailed
information and commands.
Table 145 VRRP Configuration commands
Command Description
router vrrp
Enter VRRP configuration mode.
Command mode: Router VRRP
enable
Globally enables VRRP on this switch.
Command mode: Router VRRP
no enable
Globally disables VRRP on this switch.
Command mode: Router VRRP
show ip vrrp
Displays the current VRRP parameters.
Command mode: All except User EXEC
VRRP Virtual Router configuration
Virtual Router commands are used for configuring up to 255 virtual routers for this switch. A virtual router is defined
by its virtual router ID and an IP address. On each VRRP-capable routing device participating in redundancy for this
virtual router, a virtual router will be configured to share the same virtual router ID and IP address.
Virtual routers are disabled by default.
NOTE: VRRP commands are available only on the GbE2c Layer 2/3 Ethernet Blade Switch.
The following table describes the Virtual Router Configuration commands.
Table 146 Virtual Router Configuration commands
Command Description
virtual-router <1-255>
virtual-router-id <1-255>
Defines the virtual router ID. This is used in conjunction with addr (below) to
define a virtual router on this switch. To create a pool of VRRP-enabled routing
devices which can provide redundancy to each other, each participating VRRP
device must be configured with the same virtual router: one that shares the
same
virtual router ID and address combination.
The
vrid for standard virtual routers (where the virtual router IP address is not
the same as any virtual server) can be any integer between 1 and 255. The
default value is 1.
All
virtual router ID values must be unique within the VLAN to which
the virtual router’s IP interface belongs.
Command mode: Router VRRP
[no] virtual-router <1-255>
address <IP address>
Defines the IP address for this virtual router using dotted decimal notation. This
is used in conjunction with the
vrid (above) to configure the same virtual
router on each participating VRRP device. The default address is 0.0.0.0
Command mode: Router VRRP