MPLS TE Base Configuration

Introduction

This is the minimal configuration required to have MPLS TE operating in one direction. Make sure that another tunnel is created for the reverse direction.

MPLS-TE-Diagram.jpeg.jpeg

Base Configuration

1. Enable the MPLS Traffic Engineering feature

mpls traffic-eng tunnels

2. Enable MPLS TE per each relevant interface.

int gi3/0
 mpls traffic-eng tunnels

3. Enable MPLS TE for IGP to distribute the TE topology/information. Make sure that router-id is configured with a /32 or else it won't work.

router ospf 1
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng area 0

4. Setup the path options for the tunnel. Most basic setup is to use the dynamic options or define an explicit path.

tunnel mpls traffic-eng path-option 1 explicit name R3R6
tunnel mpls traffic-eng path-option 2 dynamic
ip explicit-path name R3R6 enable
 next-address 10.1.23.3
 next-address 10.1.36.6
 next-address 10.1.68.8

5. Route traffic over the tunnel to the PE by advertising routes automatically in IGP.

 tunnel mpls traffic-eng autoroute announce

Comments

rating: 0+x
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License