Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure VRRPv3 Basic Functions

In the configuration tasks of VRRPv3, first enable the VRRPv3 protocol and the virtual IPv6 address of the VRRPv3 group needs to be in the same segment as the IPv6 link-local address of the interface so that the configured other functions can take effect.

Configuration Condition

Before configuring the VRRPv3 basic functions, first complete the following task:

  • Enable the IPv6 link-local address of the interface

Enable VRRPv3 Protocol

To enable the VRRPv3 function, you need to create the VRRP group and configure the IPv6 link-local virtual address in the interface. To configure the global virtual address, the segment of the virtual address should be in the same segment as the global real address on the interface.

Table 6-2 Enable the VRRPv3 protocol

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the link-local virtual address of the VRRPv3 group

ipv6 vrrp vrid ip ip-address link-local

Mandatory

By default, do not enable VRRPv3.

Configure the global virtual address of VRRPv3 group

ipv6 vrrp vrid ip ip-address

Optional

The configured global virtual address should be in the same segment as the global real address on the interface.

By default, do not enable the global virtual address.

Configure VRRPv3 Priority

After configuring VRRPv3 and if not setting priority, the default priority is 100. The device with high priority is elected as the Master for forwarding the packet and the other become Backup. If the priorities of all devices are equal, elect according to the interface IPv6 link-local address of the device. The one with large interface IPv6 link-local address becomes Master. We can set the VRRPv3 priority as desired. The larger the value is, the higher the priority is.

Table 6-3 Configure the VRRPv3 priority

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the priority of the VRRPv3 group

ipv6 vrrp vrid priority priority

Mandatory

By default, the priority of VRRPv3 is 100.

Configure VRRPv3 Preemption Mode

After configuring VRRPv3, in the preemption mode, once other device in the VRRPv3 group discovers that its priority is higher than that of the current Master, it becomes Master; in non-preemption mode, as long as Master does not fail, even the other device has higher priority, it cannot become Master.

Table 6-4 Configure the VRRPv3 preemption mode

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the VRRPv3 group as the preemption mode

ipv6 vrrp vrid preempt

Mandatory
By default, enable the preemption function.

Configure Virtual MAC Address of VRRPv3

One virtual router in the VRRPv3 group has one virtual MAC address. According to RFC5798, the format of the virtual MAC address is 00-00-5E-00-02-{vrid}. By default, the used is the real MAC address of the interface.

Table 6-5 Configure the virtual MAC address of VRRPv3

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure VRRPv3 to use the virtual MAC address

ipv6 vrrp vrid use-vmac

Mandatory

By default, VRRPv3 uses the real MAC address.

note


  • By default, after configuring VRRPv3, the used is the real MAC address. After configuring the command of this section, use the virtual MAC, that is, when the host sends the packet, forward by the virtual MAC address; after deleting the command of this section, use the real MAC address, that is, when the host sends the packet, use the real MAC address to forward.