84
Use
undo vrrp ipv6 vrid
to remove all configurations of an existing IPv6 VRRP group or to remove
a virtual IPv6 address from an existing IPv6 VRRP group.
Syntax
vrrp ipv6 vrid
virtual-router-id
virtual-ip
virtual-address
[
link-local
]
undo vrrp ipv6 vrid
virtual-router-id
[
virtual-ip
[
virtual-address
[
link-local
] ]
]
Default
No IPv6 VRRP group is created.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
virtual-router-id
: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255.
virtual-ip
virtual-address
: Specifies a virtual IPv6 address. If this argument is not specified, the
undo
vrrp ipv6 vrid
command removes all virtual IPv6 addresses from the existing IPv6 VRRP group.
link-local
: Specifies a link-local address as the virtual IPv6 address.
Usage guidelines
You can assign up to 16 virtual IPv6 addresses to an IPv6 VRRP group.
The first virtual IPv6 address that you assign for an IPv6 VRRP group must be a link-local address,
and it must be removed last.
An IPv6 VRRP group can have only one link-local address as its virtual IPv6 address.
If you create an IPv6 VRRP group but do not assign any virtual IPv6 address for it, the VRRP group
stays in inactive state and does not function.
The virtual IPv6 addresses of an IPv6 VRRP group must be in the same subnet as one of the IPv6
addresses of the interface where the VRRP group is configured. Otherwise, the hosts in the subnet
cannot access external networks.
Examples
# Create IPv6 VRRP group 1 and assign virtual IPv6 address fe80::10 to the VRRP group. Then
assign virtual IPv6 address 1::10 to the VRRP group.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local
[Sysname-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip 1::10
Related commands
display
vrrp ipv6