Configuring VRRP version on an interface

About this task

Use the following command to configure the VRRP version on an interface.

Procedure

  1. Enter Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]} or interface vlan <1–4059>

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Use the following command to configure the VRRP version:

    ip vrrp version <2–3>

  3. Use the following command to set the VRRP version to default:

    default ip vrrp version

Example

Switch:1> enable
Switch:1# configure terminal
Switch:1(config)# interface gigabitethernet 1/2

Configure VRRP version for the specified interface:

Switch:1(config-if)# ip vrrp version 3

Variable definitions

Use the data in the following table to use the ip vrrp version command.

Variable

Value

version <2–3>

Configures the VRRP version (2 or 3) on the specified interface