Skip to Content
Cisco IOS Cookbook, 2nd Edition
book

Cisco IOS Cookbook, 2nd Edition

by Kevin Dooley, Ian Brown
December 2006
Intermediate to advanced
1188 pages
72h 8m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS Cookbook, 2nd Edition

MPLS Traffic Engineering with Autoroute

Problem

You want to use the Autoroute feature to automatically maintain traffic-engineered paths through your MPLS network.

Solution

This recipe uses Cisco’s Autoroute feature for managing Traffic Engineering (TE) with OSPF in an MPLS network. For this method, we must explicitly define all of the traffic paths and associate them with Tunnels on the PE routers:

Router-PE1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router-PE1(config)#mpls traffic-eng tunnels
Router-PE1(config)#interface Loopback0
Router-PE1(config-if)#ip address 10.0.0.2 255.255.255.255
Router-PE1(config-if)#exit
Router-PE1(config)#interface Tunnel11
Router-PE1(config-if)#ip unnumbered Loopback0
Router-PE1(config-if)#tunnel destination 10.0.0.3
Router-PE1(config-if)#tunnel mode mpls traffic-eng
Router-PE1(config-if)#tunnel mpls traffic-eng autoroute announce
Router-PE1(config-if)#tunnel mpls traffic-eng priority 7 7
Router-PE1(config-if)#tunnel mpls traffic-eng bandwidth 256
Router-PE1(config-if)#tunnel mpls traffic-eng path-option 1 explicit name def-PE3
Router-PE1(config-if)#exit
Router-PE1(config)#interface Tunnel12
Router-PE1(config-if)#ip unnumbered Loopback0
Router-PE1(config-if)#tunnel destination 10.0.0.3
Router-PE1(config-if)#tunnel mode mpls traffic-eng
Router-PE1(config-if)#tunnel mpls traffic-eng autoroute announce
Router-PE1(config-if)#tunnel mpls traffic-eng priority 7 7
Router-PE1(config-if)#tunnel mpls traffic-eng bandwidth 
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

IP Routing on Cisco IOS, IOS XE, and IOS XR: An Essential Guide to Understanding and Implementing IP Routing Protocols

IP Routing on Cisco IOS, IOS XE, and IOS XR: An Essential Guide to Understanding and Implementing IP Routing Protocols

Brad Edgeworth, Aaron Foss, Ramiro Garza Rios
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596527225Supplemental ContentErrata Page