The vrrp6 vrid virtual-ip command sets virtual IP addresses for the VRRP6 backup group.
The undo vrrp6 vrid command deletes a VRRP6 backup group.
vrrp6 vrid virtual-router-id virtual-ip virtual-ipv6-address link-local { active | standby }
vrrp6 vrid virtual-router-id virtual-ip virtual-ipv6-address
undo vrrp6 vrid virtual-router-id [ virtual-ip virtual-ipv6-address [ link-local ] ]
| Parameter | Description | Value |
|---|---|---|
virtual-router-id |
Specifies the ID of a VRRP6 backup group. |
The value is an integer ranging from 1 to 255. |
virtual-ip virtual-ipv6-address link-local |
Specifies the virtual IPv6 address assigned to a VRRP6 backup group is a link local address. The link local address is an IPv6 address with the prefix being FE80::/10. The link local address takes effect only on a local link because it is used by neighboring nodes along the link to communicate with each other. An IPv6 device never forwards packets carrying link local addresses. To assign a virtual IPv6 address to a VRRP6 backup group, ensure that the first virtual IPv6 address is a link local address. |
- |
virtual-ip virtual-ipv6-address |
Specifies the virtual IP address of a VRRP6 backup group. |
The value is in colon hexadecimal notation. |
{ active | standby } |
Specifies that the backup group works at the active or standby state. |
- |
When configuring a VRRPv6 group, you must configure a link-local address and then a virtual IPv6 address for the group. The configuration procedure is as follows:
Note the following points:
# Configure VRRP6 backup group 1 to work at the Active state and set a virtual IPv6 address 10:100::100:15 for it.
<sysname> system-view [sysname] interface GigabitEthernet 0/0/1 [sysname-GigabitEthernet0/0/1] vrrp6 vrid 1 virtual-ip FE80::7 link-local active [sysname-GigabitEthernet0/0/1] vrrp6 vrid 1 virtual-ip 10:100::100:15