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
Router-PE1(config-if)#
Loopback0
ip address
Router-PE1(config-if)#
10.0.0.2 255.255.255.255
exit
Router-PE1(config)#interface
Router-PE1(config-if)#
Tunnel11
ip unnumbered
Router-PE1(config-if)#
Loopback0
tunnel destination
Router-PE1(config-if)#
10.0.0.3
tunnel mode mpls traffic-eng
Router-PE1(config-if)#tunnel mpls traffic-eng autoroute announce
Router-PE1(config-if)#tunnel mpls traffic-eng priority
Router-PE1(config-if)#
7 7
tunnel mpls traffic-eng bandwidth
Router-PE1(config-if)#
256
tunnel mpls traffic-eng path-option
1
explicit name
Router-PE1(config-if)#
def-PE3
exit
Router-PE1(config)#interface
Router-PE1(config-if)#
Tunnel12
ip unnumbered
Router-PE1(config-if)#
Loopback0
tunnel destination
Router-PE1(config-if)#
10.0.0.3
tunnel mode mpls traffic-eng
Router-PE1(config-if)#tunnel mpls traffic-eng autoroute announce
Router-PE1(config-if)#tunnel mpls traffic-eng priority
Router-PE1(config-if)#
7 7
tunnel mpls traffic-eng bandwidth
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.