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
6.5 STP Configuration Explained

6.5 STP Configuration Explained

1. Key Concepts of STP Configuration

STP (Spanning Tree Protocol) configuration involves setting up switches to ensure a loop-free topology. Key concepts include:

2. STP Mode

The STP mode determines the type of STP protocol being used. Common modes include Rapid PVST+ (Per-VLAN Spanning Tree Plus) and MSTP (Multiple Spanning Tree Protocol). The mode is configured globally on the switch.

Example: To configure Rapid PVST+ on a MikroTik switch, you would use the command /interface bridge stp set [find] mode=rapid-pvst. This command sets the switch to use Rapid PVST+ for all VLANs.

3. Root Bridge Priority

The Root Bridge Priority is a value assigned to a switch to influence its chances of being elected as the Root Bridge. Lower values have higher priority. The priority can be manually configured to ensure a specific switch becomes the Root Bridge.

Example: To set the Root Bridge priority to 4096 on a MikroTik switch, you would use the command /interface bridge stp set [find] priority=4096. This command increases the switch's chances of being elected as the Root Bridge.

4. Port Cost

Port Cost is the cost assigned to each port to determine the best path to the Root Bridge. Lower costs indicate better paths. Port costs can be manually configured to influence the path selection process.

Example: To set the port cost to 10 on a specific interface (e.g., ether1), you would use the command /interface bridge port set [find interface=ether1] path-cost=10. This command ensures that ether1 is preferred as the path to the Root Bridge.

5. Port Priority

Port Priority is a value assigned to each port to influence its role in the STP topology. Lower values have higher priority. Port priority can be manually configured to ensure a specific port becomes the Root Port or Designated Port.

Example: To set the port priority to 16 on a specific interface (e.g., ether2), you would use the command /interface bridge port set [find interface=ether2] priority=16. This command increases the chances of ether2 being selected as the Root Port.

6. BPDU Guard

BPDU Guard is a security feature that disables a port if it receives BPDUs. This prevents unauthorized devices from participating in the STP process and potentially causing network loops.

Example: To enable BPDU Guard on a specific interface (e.g., ether3), you would use the command /interface bridge port set [find interface=ether3] bpdu-guard=yes. This command ensures that ether3 is disabled if it receives BPDUs.

7. BPDU Filtering

BPDU Filtering prevents BPDUs from being sent or received on a port. This is useful for securing access ports where BPDUs are not expected. BPDU Filtering can be configured globally or on specific ports.

Example: To enable BPDU Filtering on a specific interface (e.g., ether4), you would use the command /interface bridge port set [find interface=ether4] bpdu-filter=yes. This command prevents BPDUs from being sent or received on ether4.