MikroTik Certified Switching Engineer (MTCSWE)
1 Introduction to Networking
1-1 Basic Networking Concepts
1-2 OSI Model
1-3 TCPIP Model
1-4 Network Devices
2 MikroTik RouterOS Basics
2-1 Introduction to RouterOS
2-2 RouterOS Interface Types
2-3 Basic Configuration
2-4 User Management
2-5 System Logging
3 Switching Fundamentals
3-1 Introduction to Switching
3-2 MAC Addresses
3-3 Ethernet Frame Structure
3-4 VLAN Basics
3-5 Trunking and Inter-VLAN Routing
4 MikroTik SwitchOS Basics
4-1 Introduction to SwitchOS
4-2 SwitchOS Interface Types
4-3 Basic Configuration
4-4 User Management
4-5 System Logging
5 VLAN Configuration
5-1 VLAN Creation and Configuration
5-2 VLAN Trunking Protocol (VTP)
5-3 Inter-VLAN Routing
5-4 VLAN Security
6 Spanning Tree Protocol (STP)
6-1 Introduction to STP
6-2 STP Operation
6-3 Rapid Spanning Tree Protocol (RSTP)
6-4 Multiple Spanning Tree Protocol (MSTP)
6-5 STP Configuration
7 Link Aggregation
7-1 Introduction to Link Aggregation
7-2 Link Aggregation Control Protocol (LACP)
7-3 Static Link Aggregation
7-4 Link Aggregation Configuration
8 Quality of Service (QoS)
8-1 Introduction to QoS
8-2 QoS Models
8-3 Traffic Shaping and Policing
8-4 QoS Configuration
9 Security Features
9-1 Introduction to Network Security
9-2 Port Security
9-3 Access Control Lists (ACLs)
9-4 DHCP Snooping
9-5 Dynamic ARP Inspection (DAI)
10 Advanced Switching Topics
10-1 Layer 3 Switching
10-2 Multicast Routing
10-3 Link Layer Discovery Protocol (LLDP)
10-4 Power over Ethernet (PoE)
11 Troubleshooting and Maintenance
11-1 Common Switching Issues
11-2 Troubleshooting Tools
11-3 Switch Maintenance
11-4 Backup and Restore
12 MikroTik Certification Exam Preparation
12-1 Exam Overview
12-2 Study Tips
12-3 Practice Questions
12-4 Exam Registration and Scheduling
7.2 Link Aggregation Control Protocol (LACP) Explained

7.2 Link Aggregation Control Protocol (LACP) Explained

Key Concepts

Link Aggregation Control Protocol (LACP) is a protocol used to manage and control the aggregation of multiple physical links into a single logical link. Key concepts include:

Link Aggregation

Link Aggregation combines multiple physical links into a single logical link, effectively increasing the bandwidth and providing redundancy. This is achieved by distributing traffic across the aggregated links, ensuring that if one link fails, the others can continue to carry the traffic.

Example: In a data center, two 1 Gbps links between a switch and a server can be aggregated into a single 2 Gbps link using LACP. This not only doubles the bandwidth but also ensures that if one link fails, the other can continue to operate.

LACPDU (LACP Data Unit)

LACPDU messages are exchanged between network devices to negotiate and manage link aggregation. These messages contain information about the device's capabilities, system priority, and other parameters necessary for establishing and maintaining link aggregation.

Example: When two switches are configured to use LACP, they exchange LACPDU messages to determine which links should be part of the aggregation group. These messages ensure that both switches agree on the configuration and can manage the aggregated links effectively.

Active and Passive Modes

LACP can operate in two modes: Active and Passive. In Active mode, a device actively initiates LACP negotiations. In Passive mode, a device waits for another device to initiate negotiations. Both modes are used to ensure that devices can establish link aggregation even if one device is configured to wait for the other.

Example: A switch configured in Active mode will send LACPDU messages to initiate link aggregation with another switch. If the other switch is in Passive mode, it will respond to the LACPDU messages and establish the aggregation group.

System Priority and System ID

System Priority and System ID are parameters used to determine the priority of devices in LACP negotiations. The device with the higher priority (lower numerical value) will have more influence in the negotiation process. System ID is typically the device's MAC address.

Example: If two switches have the same System Priority, the one with the lower System ID (MAC address) will have higher priority in LACP negotiations. This ensures that the negotiation process is deterministic and consistent.

Link Aggregation Group (LAG)

A Link Aggregation Group (LAG) is a group of physical links managed as a single logical link. LAGs are created and managed using LACP, and they provide increased bandwidth and redundancy. Each LAG has a unique identifier that is used to manage the aggregated links.

Example: In a network, a LAG with ID 1 might include two physical links between a switch and a server. Traffic is distributed across these links, and if one link fails, the other can continue to operate, ensuring continuous connectivity.