Administrator Guide

Layer 3 Routing Commands 1901
Syntax
vrrp
group
ip
ip-address
[secondary]
no vrrp
group
ip
ip-address
vlan
secondary
group
—The virtual router identifier. (Range: 1-255)
ip-address
—The IP address of the virtual router.
secondary
—Designates the virtual router IP address as a secondary IP
address on an interface.
Default Configuration
VRRP is not configured on the interface.
Command Mode
Interface Configuration (VLAN) mode.
User Guidelines
The virtual router IP addresses must be a valid host address on the local
subnet based on the IP address and subnet mask configured on the VLAN
interface. The VRRP IP address cannot be either the broadcast address or a
network address. To configure vrrp, perform the following steps:
1
Enable ip routing in global configuration mode.
2
Enable ip vrrp globally.
3
Set an IP address on the desired interface where VRRP is to be configured.
4
Configure the VRRP group ID on the selected interface.
5
Set the virtual router ID and address on the selected interface.
6
Enable VRRP on the interface using the
vrrp mode
command.
Example
The following example configures VRRP on VLAN 15.
console#configure
console(config)#ip routing
console(config)#ip vrrp
console(config-vlan)#vlan 15
console(config-vlan)#vlan routing 15
console(config-vlan)#exit
2CSNXXX_SWUM204.book Page 1901 Monday, January 25, 2016 1:25 PM