V Commands
This chapter describes the Cisco NX-OS Virtual Router Redundancy Protocol (VRRP) commands that begin with V.
vrrp
To create a Virtual Router Redundancy Protocol (VRRP) group on a particular Ethernet interface and assign a number to the VRRP group and enter VRRP configuration mode, use the vrrp command. To remove a VRRP group, use the no form of this command.
vrrp number
no vrrp number
Syntax Description
number |
VRRP group number, which you can configure for a Gigabit Ethernet port, including the main interfaces and subinterfaces. The range is from 1 to 255. |
Command Default
None
Command Modes
Interface configuration mode
Command History
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
Usage Guidelines
You can configure VRRP only if its state is disabled. Make sure that you configure at least one IP address before you attempt to enable a virtual router.
Examples
This example shows how to create a VRRP group:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# vrrp 7
switch(config-if-vrrp)#
This example shows how to create a VRRP group and configure an IPv4 address for the group:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# vrrp 7
switch(config-if-vrrp)# address 10.0.0.10
switch(config-if-vrrp)# no shutdown
switch(config-if-vrrp)#
Related Commands