DGS-6604
m
vrrp ip
vrrp VRID ip IP-ADDRESS
no vrrp VRID
Syntax Description
VRID
IP-ADDRESS
Default
Command Mode
Usage Guideline
Examples
Switch(config)#interface vlan1
Switch(config-if)#vrrp 7 ip 10.1.1.1
Switch(config)#interface vlan1
Switch(config-if)#no vrrp 7
CLI Reference Guide
To enable the Virtual Router Redundancy Protocol (VRRP) on an interface and
identify the IP address of the virtual router, use the vrrp ip command.
To disable VRRP on the interface and remove the IP address of the virtual router,
use the no form of this command.
Specifies the virtual router identifier, which is the number that identifies the virtual
router.
Range is from 1 to 255.
Specifies the IP address of the virtual router.
Disabled
Interface configuration
The vrrp ip command activates VRRP on the configured interface. The IP
address specified in the VRRP configuration is used as the address for the virtual
router.
A master will be elected in a group of virtual routers which have the same virtual
router identifier for forwarding the packets from the host that sends to this virtual
router.
The following example shows how to enable VRRP on vlan1. The virtual router
identifier is 7, and 10.1.1.1 is the IP address of the virtual router.
The following example shows how to remove the IP address of the virtual router
and disable the VRRP on the interface.
vrrp ip
917