vrrp ipv6 vrid name

Use vrrp ipv6 vrid name to configure an IPv6 VRRP group as a master group and assign a name to it.

Use undo vrrp ipv6 vrid name to remove the configuration.

Syntax

vrrp ipv6 vrid virtual-router-id name name

undo vrrp ipv6 vrid virtual-router-id name

Default

An IPv6 VRRP group does not act as a master group.

Views

Interface view

Predefined user roles

network-admin

Parameters

virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255.

name: Specifies a master IPv6 VRRP group name, a case-sensitive string of 1 to 20 characters.

Usage guidelines

This command configures an IPv6 VRRP group as a master group through assigning a master group name to it. An IPv6 VRRP group that follows the master group is a subordinate VRRP group. The master VRRP group exchanges VRRP packets among member devices. The subordinate group does not exchange VRRP packets and follows the state of the master group. Both the master and subordinate VRRP groups can forward service traffic.

You cannot assign the same master VRRP group name to different IPv6 VRRP groups on a device.

An IPv6 VRRP group cannot be both a master group and a subordinate group.

Examples

# Configure IPv6 VRRP group 1 as a master VRRP group and assign master group name abc to it.

<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp ipv6 vrid 1 name abc

Related commands

display vrrp ipv6 binding

vrrp ipv6 vrid follow