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
8.4 QoS Configuration Explained

8.4 QoS Configuration Explained

Key Concepts of QoS Configuration

Quality of Service (QoS) configuration involves setting up policies to manage network traffic based on priority, bandwidth, and latency requirements. Key concepts include:

Classification

Classification is the process of identifying and categorizing network traffic based on specific criteria. This allows for differentiated treatment of different types of traffic, such as VoIP, video streaming, and web browsing.

Example: In a MikroTik router, you can classify traffic by creating a firewall filter that matches packets based on their source IP address, destination IP address, and port number. For instance, all traffic to and from the VoIP server can be classified as high-priority.

Marking

Marking involves applying tags or marks to packets to indicate their priority level. These marks are used by the router to determine how to handle the packets in terms of queuing and scheduling.

Example: After classifying VoIP traffic as high-priority, you can mark these packets with a DSCP (Differentiated Services Code Point) value of 46, which corresponds to the EF (Expedited Forwarding) class. This ensures that the router treats these packets with higher priority.

Policing and Shaping

Policing and shaping are methods used to control the rate of traffic. Policing drops or re-marks packets that exceed a specified rate, while shaping queues packets to be transmitted at a later time to maintain the desired rate.

Example: You can configure a policer on the MikroTik router to drop any VoIP traffic that exceeds 1 Mbps. Alternatively, you can use traffic shaping to queue excess traffic and transmit it at a later time, ensuring that the overall rate does not exceed 1 Mbps.

Queuing

Queuing involves managing the order and priority of packets in the queue. Different queuing algorithms, such as FIFO (First In, First Out), PQ (Priority Queuing), and CBQ (Class-Based Queuing), can be used to ensure that high-priority traffic is processed first.

Example: In a MikroTik router, you can configure a priority queue that ensures VoIP traffic is always processed before web browsing traffic. This is achieved by assigning different priorities to different queues based on the traffic type.

Scheduling

Scheduling determines how packets are transmitted based on their priority and the available bandwidth. Various scheduling algorithms, such as WRR (Weighted Round Robin) and WFQ (Weighted Fair Queuing), can be used to distribute bandwidth fairly among different types of traffic.

Example: You can configure a WRR scheduler on the MikroTik router to allocate 70% of the bandwidth to VoIP traffic and 30% to web browsing traffic. This ensures that critical applications like VoIP receive the necessary bandwidth while still allowing other traffic to flow.