ip vrrp

Last Updated : Nov 06, 2012 |

Creates a virtual router on the current interface. Use no ip vrrp to delete a virtual router.

Syntax

[no] ip vrrp vr_id | [address ip-addr | auth-key string | override addr owner | preempt | primary primary-addr | priority pri-value | timer value

Parameters

Parameter

Description

Possible Values

Default Value

vr_id

The virtual router ID

1–255

ip-addr

The IP address to be associated with the virtual router on the VLAN

string

The authentication password

maximum eight character string

primary-addr

The primary IP address of the virtual router on the VLAN

pri-value

The priority value

1–254

value

The advertisement timer value

1–255

User level

read-write

Context

interface:FastEthernet (L2, L2-L3), VLAN (L2, L2-L3)

Example

To create virtual router #1 on the Vlan 2 interface:

Gxxx-001(if:Vlan 2)# ip vrrp 1