The definition of virtual local area network vlan. Conditions for link aggregation

vlan: virtual local area network

The main function is to isolate the security of the broadcast domain for easy management. If the port is divided into VLAN, the port type needs to be set. Generally, the port types commonly used by Huawei are access, trunk, and hybrid.
*trunk: a single-hop link accepts the data traffic of multiple VLANs
*hybrid: a hybrid interface, you can choose to work with access or trunk interface attributes
*pvid: label
*untagged: a list that the switch will remove the specified label
taggde: when A table for unconditional release when certain designated VLANs (with corresponding labels) pass through the switch.
*Only one of untagged and tagged can exist in the same VLAN.
*Single-arm routing technology: when there is only a two-layer switch. To achieve communication between different VLANs, single-arm routing technology is needed.
* Three-layer switching realizes routing between different VLANs: The three-layer switch can be configured with a vlanif interface, and an ip address can be configured through the vlanif interface to become a gateway corresponding to different VLANs, thereby realizing routing between different VLANs.
*Port binding technology: link aggregation is a method of bundling a group of physical interfaces together as a logical interface to increase bandwidth, also known as multi-interface load sharing group or link The link aggregation group (link aggregation group) can provide higher communication bandwidth and higher reliability by establishing a link aggregation group between two devices. Link aggregation not only provides redundancy protection for communication between devices, but also does not require hardware upgrades.

Conditions for the realization of link aggregation/port aggregation/port binding

*Eth-Trunk interface can contain up to 8 member interfaces
*Member interfaces cannot be configured with any services and static MAC addresses
*When member interfaces are added to Eth-Trunk, they must be the default hybrid type interface
*Eth-Trunk interfaces cannot be embedded Set, that is, the member interface cannot be an Eth-Trunk
*An Ethernet interface can only be added to an Eth-Trunk interface. If you need to add another Eth-Trunk interface, you must first exit the original Eth-Trunk
*An Eth-Trunk interface The member interfaces must be of the same type. For example, FE and GE cannot be added to the same Eth-Trunk interface
* Ethernet interfaces on different interface boards can be added to the same Eth-Trunk
* If the local device uses Eth-Trunk, the The peer interface directly connected to the interface must also be bundled into an Eth-Trunk interface so that both ends can operate normally.
*When the rates of the member interfaces are inconsistent, the interface with a low rate in actual use may be congested, causing packet loss.
*When the member interface is added to the Eth-Trunk, the MAC address is learned according to the Eth-Trunk, not according to Member interface to learn.

Data transfer between VLAN 2 under port aggregation

Insert picture description here

[L1]int eth-trunk 1
[L1-Eth-Trunk1]mode lacp-static 静态链路聚合控制协议模式
[L1-Eth-Trunk1]port link-type trunk
[L1-Eth-Trunk1]port trunk allow-pass vlan all
[L1-Eth-Trunk1]int e0/0/1
[L1-Ethernet0/0/1]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment…done.
[L1-Ethernet0/0/1]int e0/0/2
[L1-Ethernet0/0/2]eth-trunk 1

max active-linknumber? Set the number of active links, the rest are backups

Guess you like

Origin blog.csdn.net/hotshortgg/article/details/111842634