Creating a VR and entering the VR context

Syntax:


[no] vrrp [ipv6] vrid 1-255

Used in the VLAN interface context to create a virtual router (VR) instance and to enter the context of the new VR. It is also used to enter the context of an existing VR, and is the method used for accessing a VR for configuration purposes. You can configure up to 32 VRs on a multinetted VLAN (16 for the 2930F switch).

The VLAN interface must be IP enabled for IPv4, and IPv6 enabled for IPv6.

Example:

To create VR 1 in VLAN 10 and enter the VR context, execute the following command:

switch(vlan-10)# vrrp vrid 1
switch(vlan-10-vrid-1)#