LAB 5 ENABLING RSVP-TE LSP TUNNELS
5.2. DiffServ TE LSP – Maximum Allocation Method (MAM)
Figure 5-2: DiffServ TE LSP – Maximum Allocation Method (MAM)
Exercise
In this exercise, we will build four loose path LSPs from our CORE router to the diagonally opposite CORE router. Two LSPs will carry data, and two will carry voice over IP traffic. We will define two Class Types, CT0 for data and CT1 for voice, and then assign and allocate bandwidth based on these CTs. We will observe the routers’ behavior as we use up allocated bandwidth on the shortest path, and so force the routers to adjust to the changing conditions by resignaling LSPs as necessary.
Phase I
1. On your CORE router, shut down MPLS. Configure RSVP to support DiffServ-TE with the
configure router rsvp diffserv-te {mam/rdm} command. We will use MAM to begin.
2. Give CT0 20 percent and CT1 20 percent of the maximum reservable bandwidth. The commands required are shown below.
A:MPLS_R1>config>router>rsvp# diffserv-te mam
A:MPLS_R1>config>router>rsvp>diffserv-te# class-type-bw ct0 20 ct1 20 ct2 0 ct3 0 ct4 0 ct5 0 ct6 0 ct7 0
A:MPLS_R1>config>router>rsvp>diffserv-te#
Alcatel-Lucent Confidential for Internal Use ONLY - Do Not Distribute
3. On your CORE routers, set the te-classes as shown below.
A:MPLS_R1>config>router>rsvp>diffserv-te# te-class 0 class-type 0 priority 1 A:MPLS_R1>config>router>rsvp>diffserv-te# te-class 1 class-type 0 priority 0 A:MPLS_R1>config>router>rsvp>diffserv-te# te-class 2 class-type 1 priority 1 A:MPLS_R1>config>router>rsvp>diffserv-te# te-class 3 class-type 1 priority 0 A:MPLS_R1>config>router>rsvp>diffserv-te# exit
4. Turn MPLS back up.
5. View the opaque database and verify the bandwidth allocation information passed in the opaque LSAs. An example is shown below.
a. How much bandwidth does your router allocate to CT0?
b. How much does it allocate to CT1?
c. How much does it allocate to the other CTs?
A:MPLSv2_R1# show router ospf opaque-database detail
===============================================================================
OSPF Opaque Link State Database (Type : All) (Detailed)
===============================================================================
6. View the TE classes currently defined on the router. An example is shown on the following page.
Alcatel-Lucent Confidential for Internal Use ONLY - Do Not Distribute
A:MPLS_R1# show router rsvp status
7. On your CORE router, view the reserved and unreserved bandwidth values on your interfaces.
How much of the bandwidth that you allocated is currently available?
A:MPLS_R1# show router rsvp interface "toR2" detail
Alcatel-Lucent Confidential for Internal Use ONLY - Do Not Distribute
Bandwidth for TE Class Types (Kbps)
We will configure two data and two voice “totally loose” LSPs, all terminating on the diagonally opposite CORE router. Each traffic type includes both consumer and business services.
8. The first LSP, consumer data, requires 200 Mbps of bandwidth. Set the path’s hold and preempt priorities to “1”, and the class-type to “0”. Enable CSPF on the LSP. An example is shown below.
9. Verify the path the router chose for this first LSP. An example is shown below, truncated for clarification.
a. Did the head end choose the shortest IGP path for this LSP?
b. How much bandwidth did the router allocate to this LSP?
A:MPLS_R1 # show router mpls lsp "toR4-6" path detail
===============================================================================
Alcatel-Lucent Confidential for Internal Use ONLY - Do Not Distribute
OutInterface: 1/1/4 Out Label : 131070
* indicates that the corresponding row element may have been truncated.
10. Verify the bandwidth your router reserved for this TE class and CT. How much is left unreserved? An example is shown below.
11. Now configure the business data LSP. Allocate 100 Mbps bandwidth, and set the hold and preempt priorities to “0,” and class-type to “0”. Enable CSPF. View the path that the head end chooses for the business data LSP. An example is shown below.
Alcatel-Lucent Confidential for Internal Use ONLY - Do Not Distribute
a. Did the router choose the shortest IGP path again, or another path?
b. If the business data LSP needs 100M of the 200M bandwidth allocated for CT0, will the consumer data LSP remain operational?
A:MPLS_R1# show router mpls lsp "toR4-7" path detail
===============================================================================
* indicates that the corresponding row element may have been truncated.
12. View the consumer data LSP status. Notice that soft preemption occurs on this LSP (you may not see this happen if you do not look immediately after the business LSP comes online). After several seconds, the consumer data LSP comes up on an alternate path. An example of
preemption in progress on the consumer data LSP is shown below.
A:MPLS_R1# show router mpls lsp "toR4-6" path detail
===============================================================================
Alcatel-Lucent Confidential for Internal Use ONLY - Do Not Distribute
Path Admin : Up Path Oper : Up
* indicates that the corresponding row element may have been truncated.
13. Run an LSP trace on the consumer and business data LSPs. Verify that the consumer and business LSPs take separate paths to the tail end router.
14. Configure a loose path consumer voice LSP. Allocate 150 Mbps, and set the hold and preempt priorities to “1,” and class type to “1”. Enable CSPF on the LSP, and then view the path the LSP travels. Did the head end signal it over the shortest IGP path?
A:MPLS_R1# show router mpls lsp "toR4-8" path detail
===============================================================================
Alcatel-Lucent Confidential for Internal Use ONLY - Do Not Distribute
===============================================================================
* indicates that the corresponding row element may have been truncated.
15. Build the commercial loose path voice LSP. Allocate 100 Mbps, and set priorities of “0,” and class type of “1”. Enable CSPF. View the path the head end signals for this LSP.
a. Is it the same path as the first voice LSP?
b. Did this new LSP “preempt” a data LSP?
A:MPLS_R1 # show router mpls lsp "toR4-9" path detail
===============================================================================
MPLS LSP toR4-9 Path (Detail)
===============================================================================
...
--- LSP toR4-9 Path loose
--- LSP Name : toR4-9 Path LSP ID : 6154
From : 10.10.10.1 To : 10.10.10.4 Adm State : Up Oper State : Up
Path Name : loose Path Type : Primary Path Admin : Up Path Oper : Up OutInterface: 1/1/4 Out Label : 131068 Path Up Time: 0d 00:00:32 Path Dn Time: 0d 00:00:00 Retry Limit : 0 Retry Timer : 30 sec RetryAttempt: 0 NextRetryIn : 0 sec SetupPriori*: 0 Hold Priori*: 0 Preference : n/a
Bandwidth : 100 Mbps Oper Bw : 100 Mbps Hop Limit : 255 Class Type : 1
...
ExplicitHops:
No Hops Specified Actual Hops :
10.1.4.1(10.10.10.1) Record Label : N/A -> 10.1.4.4(10.10.10.4) Record Label : 131068 ComputedHops:
10.1.4.1 -> 10.1.4.4 ResigEligib*: False
LastResignal: n/a CSPF Metric : 100
===============================================================================
* indicates that the corresponding row element may have been truncated.
16. View the bandwidth reservations now. Have these values changed from their previous values?
a. Which TE classes get reservations on the best IGP path?
b. Why did the other classes not remain on the IGP best path?
c. If you shut down the higher priority LSPs, will the lower priority LSPs move back to the best
path? Alcatel-Lucent Confidential for Internal Use ONLY - Do Not Distribute
A:MPLS_R1# show router rsvp interface detail