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 the MLAG Parameters

Configuration Condition

Before configuring the MLAG parameters, first complete the following task:

  • Create one MLAG domain

Configure Auto Recovery Delay after Node Restarting

After the device starts, start the auto recovery timer with the configured auto recovery delay time. If no keepalive packet or peering packet is received until the timer expires, and the peer link is always down, then the peer node is considered to be nonexistent and the node becomes master.

Table 13-3 Configure the auto recovery time after the node restarts

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Configure the auto recovery time after the node restarts

auto-recovery reload-delay delay_value

Optional

By default, the auto recovery delay is 240s, and time range of the auto recovery delay is 240-3600s.

Specify Local VLAN Interface

The L3 VLAN (interface VLAN) used to transmit PTS synchronous packet only allows peer link to join the VLAN, and other ports cannot join the VLAN.

Table 13-4 Specify the local VLAN interface

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Specify the local VLAN interface

local-interface vlan vlan-id [vrf vrf_name]

Mandatory

By default, the default value of VRF name is global. The maximum length of VRF name is 31 characters, and the VLAN range is 2-4094.

Configure MLAG Node ID

In the same MLAG domain, MLAG node IDs are different and unique.

Table 13-5 Configure the MLAG node ID

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Configure the MLAG node ID

node id id-number

Mandatory

By default, do not configure the MLAG node ID, and the ID range of the MLAG node is 1 and 2.

Configure the Priority of MLAG Node Role

Node role priority is used to select the master-slave role between two nodes in the same MLAG domain. The smaller the value, the higher the priority, and the one with higher priority becomes the master device. If the node priority is the same, compare the bridge MAC addresses of the two devices, and the one with smaller bridge MAC address becomes the master device.

Table 13-6 Configure the priority of the MLAG node role

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Configure the priority of the MLAG node role

node role-priority priority-value

Optional

By default, MLAG node priority is 100, and MLAG node priority ranges from 1 to 254

Specify Peer IP Address

Specify the destination IP address of the PTS packet.

Table 13-7 Specify the peer IP address

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Specify the peer IP address

peer-address ip-address

Mandatory

By default, do not configure peer IP address.

Configure the Preempt Mode

If the preemption mode is configured, the previous role of the node will be ignored when the master-slave role is elected, and the role of the node will be determined based on the comparison result of node priority and bridge MAC: The lower the priority value of the node is, the higher the priority is, the node with the higher priority becomes the master device; if the node priority is the same, compare the bridge MAC addresses of the two devices, and the smaller the bridge MAC address becomes the master device.

Table 13-8 Configure the preempt mode

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Configure the preempt mode

role preempt

Optional

By default, do not configure the preempt mode.

Configure the MAC Address of the MLAG System

To enable the access device to treat two nodes in the MLAG domain as one device, the MAC addresses of the MLAG system of the two nodes must be the same.

Table 13-9 Configure the MAC address of the MLAG system

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Configure the MAC address of the MLAG system

system-mac mac_address

Optional

By default, the MAC address of MLAG system is not configured. The MAC addresses of MLAG system of the two nodes is automatically generated according to the domain ID and remain the same.

Configure the MLAG System Priority

To enable the access device to treat two nodes in the MLAG domain as one device, the MAC addresses of the MLAG system of the two nodes must be the same.

Table 13-10 Configure the priority of the MLAG system

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Configure the priority of the MLAG system

system-priority priority_value

Optional

By default, the priority of the MLAG system is 32768, and the priority range of the MLAG system is 1-65535.

Configure the Delay of UP State and Interval of UP State

When the device joins the MLAG domain as a slave node, the MLAG interface will be set to the up state only after the delay time of the up state. During the delay of the up state, MAC address table, ARP table and other information will be synchronized, so if there are many entries, the timer can be extended appropriately to avoid packet loss.

Table 13-11 Configure the delay time of the UP state and the interval of the UP state

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the MLAG domain configuration mode.

mlag domain domain-id

-

Configure the delay time of the UP state and the interval of the UP state

up-delay delay_seconds [interval interval_mseconds]

Optional

By default, the delay time of the up state is 90 seconds, the interval time of the up state is 1000 milliseconds, the delay time range of the up state is 1- 3600, and the interval time of the up state is 1-300000 milliseconds