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.
Syntax Description
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
Command Modes
Command History
|
|
---|---|
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:
This example shows how to create a VRRP group and configure an IPv4 address for the group:
Related Commands
|
|
---|---|
Clears all the software counters for the specified virtual router. |
|
vrrpv3 address-family
To create a Virtual Router Redundancy Protocol version 3(VRRPv3) group and enter VRRPv3 group configuration mode, use the vrrpv3 address-family command. To remove a VRRPv3 group, use the no form of this command.
vrrpv3 number address-family [ ipv4 | ipv6 ]
Syntax Description
Command Modes
Interface configuration (config-if)
Command History
|
|
---|---|
Usage Guidelines
Ensure that you configure at least one IP address before you attempt to enable a virtual router group.
Examples
The following example shows how to create a VRRPv3 group and configure an IP address for the group:
Related Commands
|
|
---|---|
vrrs leader
To specify the name of the leader to be registered with Virtual Router Redundancy Service(VRRS), use the vrrs leader command.
Syntax Description
Command Modes
VRRPv3 group configuration (config-if-vrrpv3-group)
Command History
|
|
---|---|
Examples
The following example shows how to specify a leader’s name to be registered with VRRS:
Related Commands
|
|
---|---|
Creates a VRRPv3 group and enter VRRPv3 group configuration mode. |
vrrs pathway
To define the Virtual Router Redundancy Service (VRRS) pathway for a VRRS group and enter VRRS pathway configuration mode, use the vrrs pathway command.
Syntax Description
Command Modes
Interface configuration (config-if)
Command History
|
|
---|---|
Examples
The following example shows how to configure VRRS pathway:
Related Commands
|
|
---|---|
Displays the VRRS pathway information for different pathway states. |