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 VBRP Basic Functions

In the configuration tasks of VBRP, first enable the VBRP function and the virtual IP address of the VBRP group needs to be in the same segment as the interface IP address so that the configured other functions can take effect.

Configuration Condition

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

  • Configure the interface IP address

Enable VBRP Protocol

To enable the VBRP function, we need to create the VBRP group in the interface and add the VBRP router to the group.

Table 7–2 Enable the VBRP protocol

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the VBRP group

standby [ group-number ] ip [ ip-address ]

Mandatory

Configure the router to be added to the VBRP group; by default, group-number is 0 and ip-address is the virtual IP address.

Configure VBRP Priority

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

Table 7–3 Configure the VBRP 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 VBRP group

standby [ group-number ] priority value

Mandatory

Configure the VBRP priority; by default, the priority is 100.

Configure VBRP Preemption Mode

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

Table 7–4 Configure the VBRP preemption mode

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure the VBRP group as the preemption mode

standby [ group-number ] preempt [ delay delay-time ]

Mandatory

Configure the VBRP as the preemption mode. By default, it is the non-preemption mode.

Configure VBRP Real MAC Address

After configuring VBRP and if it is necessary to make the VBRP group use the real MAC address, we need to use the following command to configure. When the virtual device replies the ARP request, the replied is real MAC address, but not the virtual MAC address of the interface. By default, the used is the virtual MAC address.

Table 7–5 Configure the VBRP real MAC

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the interface configuration mode

interface interface-name

Mandatory

Configure VBRP as the real MAC

standby [ group-number ] use-bia

Mandatory

By default, use the virtual MAC address.

note


  • By default, after configuring VBRP, the used is the virtual MAC address. After configuring the command standby use-bia, use the real MAC. That is, when the host sends the packet, forward by the real MAC address; after configuring the command no standby use-bia, use the virtual MAC address of the interface, that is, when the host sends the packet, use the virtual MAC address to forward.