Tuesday, July 6, 2010

IPX Vol 1 - Lab 11- Traffic Engineering (TE)

This is a straight forward one. TE tunnels are unidirectional, therefore, if you want bidirectional traffic between 2 end points to flow through a certain path, that means 2 tunnels. This task asks the student to prep the topology for MPLS TE, create the TE tunnels (one dynamic path and one explicit path), and verify.

Points to remember:

*prerequisiste: mpls and cef are enabled globally and on the interfaces

1. Must enable TE globally on a router
R1(config)#mpls traffic-eng tunnel
#mpls ldp router-id l0 - This is important as it will be used when creating a TE tunnel as a tunnel destination

2. Must configure TE for the routing protocol (OSPF or ISIS)
R1(config)#router os 1
#mpls traffic-eng router-id l0
#mpls traffic-eng area 0

3. Configure RSVP on the interfaces
R1(config)#interface f1/0
#ip rsvp bandwidth 75000 100 - By default the router will reserve 75% of max-reserveable bandwidth, if not defined
4. Interfaces must support traffice engineering
R1(config)#interface f1/0
#mpls traffic-eng tun

5. If using explicit path
R1(config)#ip explicit-path name ABC
#next-address 1.2.3.4 - the ip is the inbound interface of the next-hop router
#next-address .... - list all the inbound interfaces in order including the destination router

6. Create a tunnel interface
R1(config)#int tun0
#ip unnumber l0
#tun destination 200.0.0.6
#tunn mode mpls traffic-eng
#tun mpls traffic-eng path-option 1 explict name ABC
#tun mpls traffic-eng path-option 2 dynamic
#tun mpls traffic-eng autoroute announce
#tun mpls traffic band 100

There are a few things to remember here, ip addy, tunnel destination, tunnel mode, path options. The autoroute announce is used so that traffic can be forwarded on to the tunnel, it specifies that the IGP (in this case ospf) should use the tunnel when calculating SPF.

7. Specify tunnel priorities for setup and hold (lower is better)
R1(config)#int tun 0
#tunn mpls traffic prio 7 7