vrrp vrid follow
Use vrrp vrid follow to configure an IPv4 VRRP group to follow a master group.
Use undo vrrp vrid follow to remove the configuration.
Syntax
vrrp vrid virtual-router-id follow name
undo vrrp vrid virtual-router-id follow
Default
An IPv4 VRRP group does not follow a master group.
Views
Interface view
Predefined user roles
network-admin
Parameters
virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.
name: Specifies a master IPv4 VRRP group by its name, a case-sensitive string of 1 to 20 characters.
Usage guidelines
This command configures an IPv4 VRRP group as a subordinate VRRP group to follow a master group. A subordinate VRRP group can forward service traffic.
An IPv4 VRRP group cannot be both a master group and a subordinate group. The vrrp vrid name and vrrp vrid follow commands are mutually exclusive.
An IPv4 VRRP group stays in Inactive state if it is configured to follow a nonexistent master VRRP group.
If an IPv4 VRRP group in Inactive or Initialize state follows a master group that is not in Inactive state, the state of the VRRP group does not change.
Examples
# Configure IPv4 VRRP group 1 to follow master group abc.
<Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp vrid 1 follow abc
Related commands
display vrrp binding
vrrp vrid name