Cisco Nexus 6000 Series NX-OS Unicast Routing Command Reference
V Commands
Downloads: This chapterpdf (PDF - 82.0KB) The complete bookPDF (PDF - 4.5MB) | Feedback

V Commands

Table Of Contents

V Commands

vrrp


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

Release
Modified

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

Command
Description

clear vrrp

Clears all the software counters for the specified virtual router.

feature vrrp

Enables VRRP.

address (VRRP)

Adds a primary or secondary IP address to a virtual router.

show vrrp

Displays VRRP configuration information.