tagsMPLS

circle-info

MPLS enables high-performance packet forwarding using labels instead of IP lookups, providing the foundation for advanced services like Layer 3 VPNs, traffic engineering, and Quality of Service.

RouterOS supports MPLS with LDP (Label Distribution Protocol), static labels, and MPLS VPN capabilities for service provider and enterprise networks requiring advanced routing and VPN services.


MPLS fundamentals

How MPLS works

Label switching concepts:

  • Labels - Short fixed-length identifiers attached to packets

  • Label Switch Routers (LSR) - Forward packets based on labels

  • Label Edge Routers (LER) - Add/remove labels at network edge

  • Forwarding Equivalence Class (FEC) - Group of packets with same forwarding treatment

  • Label Switch Paths (LSP) - Path that packets with particular label follow

MPLS advantages:

  • High performance - Simple label lookup vs complex IP routing

  • Traffic engineering - Explicit path control for optimal resource usage

  • VPN services - Isolated routing domains with label separation

  • QoS support - Built-in quality of service capabilities

  • Protocol independence - Works with any Layer 3 protocol

MPLS architecture


Basic MPLS configuration

Enable MPLS interfaces

Configure interfaces for MPLS forwarding:

LDP configuration

Label Distribution Protocol for automatic label distribution:

Static label configuration

Manual label configuration for specific scenarios:


MPLS VPN configuration

Layer 3 VPN (BGP/MPLS VPN)

Configure MPLS L3VPN for customer isolation:

Multi-site VPN connectivity

Connect multiple customer sites through MPLS backbone:


MPLS traffic engineering

Explicit path configuration

Control traffic paths through the MPLS network:

Bandwidth management

Configure bandwidth constraints and reservations:


MPLS QoS configuration

EXP bit marking

Quality of Service using MPLS EXP bits:

Per-VPN QoS policies

Different QoS policies for different VPN customers:


MPLS monitoring and troubleshooting

Monitoring MPLS operations

Track MPLS performance and status:

Troubleshooting MPLS issues

Common problems and diagnostic steps:


MPLS best practices

Design considerations

  1. Network planning - Design hierarchical MPLS topology

  2. Label management - Plan label distribution and allocation

  3. Route reflectors - Use RR for BGP scalability in large networks

  4. Redundancy - Implement multiple paths and failover mechanisms

  5. Security - Secure LDP sessions and PE-CE connections

Performance optimization

  1. Hardware acceleration - Use MPLS-capable hardware when available

  2. Label stack optimization - Minimize label stack depth

  3. BGP optimization - Tune BGP parameters for VPN scalability

  4. Interface tuning - Optimize MPLS interface parameters

  5. Monitoring - Implement comprehensive MPLS monitoring

Security guidelines

  1. PE-CE security - Secure customer connections and routing

  2. LDP authentication - Enable LDP session authentication

  3. Access control - Limit administrative access to MPLS configuration

  4. Route filtering - Implement proper VPN route filtering

  5. Audit trails - Monitor and log MPLS configuration changes


Complete MPLS example

Service provider MPLS network

Last updated

Was this helpful?