Iplab Mpls en
Iplab Mpls en
2 OVERVIEW
The Assignment is divided into preparation, practical part and documentation.
2.1 PREPARATIONS
The preparations are crucial to the successful execution of the main exercise. Without proper study there
is no possibility to fulfil the requirements within the specified time; trial-and-error will not work!
The Appendix contains some basic information related to Cisco IOS software, that you should read and
understand to follow the instructions provided in this document. However, during this phase it is advised to
study the additional Cisco routers documentation available in the Internet if any additional explanations to
relevant IOS commands are required. Finally, you should refresh and expand your knowledge on the topic
of the lab exercise.
The lab environment emulates Cisco routers, and so the router operation system is IOS. The emulated
network topology is fixed – changes can be only introduced by opening and closing individual router
interfaces.
Note: The MPLS LSRs must have (up) Loopback interfaces with an address mask of 32 bits and these interfaces
must be reachable with the global IP routing table.
Configure IP addresses of all interfaces. Use CDP and check your configuration (use the following
commands):
Before you can configure MPLS you must have routing protocol (OSPF in our case) up and running in the
network. Enabling OSPF is required to compute routing tables of the different LSRs (Label Switching
Routers). A label distribution protocol (LDP) advertises the bindings between routes and labels. These
bindings are then checked against the routing table. If the route (prefix/mask and next hop) learned from
the LDP matches the route learned from OSPF in the routing table, an entry is created in the Label
Forwarding Information Base (LFIB) on the LSR.
In the config mode, initiate OSPF on every router, and add interfaces (including loopbacks) to the OSPF:
#router ospf 1
#network <X.X.X.X> <Y.Y.Y.Y> area 0
X.X.X.X – IP network prefix
Y.Y.Y.Y – wildcard mask
For the needs of the exercise, all link costs should be set to the value of 10, except the link between the
routers R2 and R3, where the cost should be set to 100 (this is to simplify the output of traceroute
command in case of equal cost paths). Use the following command in the interface configuration mode to
change the link costs if required (set the metric on both sides of the link, if necessary).
#ip ospf cost <your cost>
Verify via the traceroute command between R1 and R5 what is the effect of cost differentiation on R2-R3
link. Copy/paste the output of this command into the report and explain the content.
MPLS forwarding table details (if <prefix> is given, only one entry is shown):
#show mpls forwarding−table <prefix> detail
Copy-paste the outputs of the above commands from router R2 into the report and explain briefly.
II. Enable traffic engineering capabilities on the router and router interfaces
You must enable MPLS traffic engineering both on the router and on each concerned interface. In the
global configuration mode as well as in the interface configuration mode enter the following command
(hint: enter this command in the global configuration mode first):
mpls traffic−eng tunnels
The reports that do not fulfill the above requirements will be rejected.
Do not forget to list the authors’ names on the first page of the report and use the following template for
archive naming: COURSE_Semester_FirstAuthorSurname.zip (example: DT_2021Z_Kowalski.zip).
4 DOCUMENTATION
At the course page you should have access to the following two complementary documents: