Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,138 changes: 0 additions & 1,138 deletions CML_SRMPLS.yaml

This file was deleted.

62 changes: 5 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,7 @@
# Segment Routing in MPLS Networks

<a href="https://www.packtpub.com/en-us/product/segment-routing-in-mpls-networks-9781836203216"><img src="https://m.media-amazon.com/images/I/71eWMHIVDyL._SY425_.jpg" alt="Book Name" height="256px" align="right"></a>

This is the code repository for [Segment Routing in MPLS Networks](https://www.packtpub.com/en-us/product/segment-routing-in-mpls-networks-9781836203216), published by Packt.

**Transition from traditional MPLS to SR-MPLS with TI-LFA FRR**

## What is this book about?
This book is a practical guide to learning all about MPLS and SR-MPLS networks, covering key concepts, hands-on labs, and advanced topics, such as fast rerouting (FRR) and TI-LFA for efficient traffic management and network resilience.

This book covers the following exciting features:
* Gain a complete understanding of MPLS and its role in network infrastructures
* Develop practical skills to implement SR-MPLS using Cisco IOS-XRv9k and real-life use cases
* Acquire hands-on experience with MPLS networks using the IS-IS and LDP protocols
* Orchestrate the gradual transition from traditional MPLS to SR-MPLS networks and manage their interworking
* Master fast reroute techniques in SR-MPLS networks, including TI-LFA, for efficient traffic rerouting
* Implement path protection methods to ensure network resilience and stability

If you feel this book is for you, get your [copy](https://www.amazon.com/Segment-Routing-MPLS-Networks-traditional/dp/1836203217) today!

<a href="https://www.packtpub.com/?utm_source=github&utm_medium=banner&utm_campaign=GitHubBanner"><img src="https://raw.githubusercontent.com/PacktPublishing/GitHub/master/GitHub.png" alt="https://www.packtpub.com/" border="5" /></a>

## Instructions and Navigations
All of the code is organized into folders. For example, Chapter02.

The command will look like the following:
```
RP/0/RP0/CPU0:PE1#show isis route detail 5.5.5.5/32
L2 5.5.5.5/32 [40/115] Label: None, medium priority
Installed Jan 01 06:02:54.493 for 00:02:56
via 12.0.0.2, GigabitEthernet0/0/0/2, P2, Weight: 0
src PE5.00-00, 5.5.5.5
RP/0/RP0/CPU0:PE1#
```

**Following is what you need for this book:**

This book is for MPLS professionals and network engineers looking to deepen their knowledge in SR and TI-LFA. A basic understanding of MPLS networks is a prerequisite, but worry not—the book also covers foundational MPLS concepts, ensuring network enthusiasts can follow along without any problem. This book is specifically designed for network engineering, operations, and design professionals, covering advanced techniques such as TI-LFA for path protection, empowering you to evolve MPLS networks with SR-MPLS seamlessly.

With the following software and hardware list you can run all code files present in the book (Chapter 1-14).

### Software and Hardware List

| Chapter | Software required | OS required |
| -------- | ------------------------------------------------------- | -------------------------|
| 1-14 | GCP(Optional), EVE-NG Pro, Containerlab, Cisco IOS-XR, Server with 96 vCPUs 1TB RAM and 2TB SSD | MacOS, Linux(Any), Windows |


### Related products <Other books you may enjoy>
* Network Architect's Handbook [[Packt]](https://www.packtpub.com/en-in/product/network-architects-handbook-9781837637836) [[Amazon]](https://www.amazon.com/Network-Architects-Handbook-expert-led-successful/dp/1837637830)

* Networking Fundamentals [[Packt]](https://www.packtpub.com/en-in/product/networking-fundamentals-9781838643508) [[Amazon]](https://www.amazon.com/Networking-Fundamentals-networking-required-Microsoft/dp/1838643508)

## Get to Know the Author
**Hemant Sharma**
He is a seasoned network engineer with over 14 years of experience in service provider networks. He holds a Bachelor of Engineering in Information & Technology and is a certified expert with credentials including CCNA, CCNP, and CCIE #28809 (Emeritus). An active contributor to the IETF, Hemant helps shape the future of networking standards. At Vodafone Group, Hemant leads the evolution of their Worldwide MPLS network and was instrumental in establishing the Vodafone Global SR-MPLS Network. He is recognized within Vodafone as an authority on IP/MPLS, MP-BGP, Multicast, and QoS. Hemant remains dedicated to staying updated with the latest networking trends, which underscores his reliability and expertise in the field.
Topology and Configuration for Juniper JunOS 22.4R3.25
-
#### Startup Config

- username: juniper

- password: Junip3r
Binary file removed Segment_Routing_MPLS.zip
Binary file not shown.
Binary file added Segment_Routing_MPLS_JunOS.zip
Binary file not shown.
65 changes: 65 additions & 0 deletions chapter02/lab_1_P2.ip_igp_ldp.jnprcfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
set interfaces lo0 unit 0 family inet address 2.2.2.2/32
set interfaces lo0 unit 0 description System_Loopback_Interface

set interfaces ge-0/0/0 unit 0 family inet address 23.0.0.2/24
set interfaces ge-0/0/0 unit 0 description P2_to_P3

set interfaces ge-0/0/1 unit 0 family inet address 26.0.0.2/24
set interfaces ge-0/0/1 unit 0 description P2_to_P6

set interfaces ge-0/0/2 unit 0 family inet address 12.0.0.2/24
set interfaces ge-0/0/2 unit 0 description P2_to_PE1

set interfaces ge-0/0/3 unit 0 family inet address 27.0.0.2/24
set interfaces ge-0/0/3 unit 0 description P2_to_P7

set interfaces ge-0/0/5 unit 0 family inet address 29.0.0.2/24
set interfaces ge-0/0/5 unit 0 description P2_to_P9

set interfaces lo0 unit 0 family iso address 49.0000.0000.0002.00
set protocols isis interface lo0.0
set protocols ldp interface lo0.0

set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set protocols isis interface ge-0/0/0.0 level 2 metric 10
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols ldp interface ge-0/0/0.0
set protocols mpls interface ge-0/0/0.0

set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set protocols isis interface ge-0/0/1.0 level 2 metric 10
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols ldp interface ge-0/0/1.0
set protocols mpls interface ge-0/0/1.0

set interfaces ge-0/0/2 unit 0 family iso
set interfaces ge-0/0/2 unit 0 family mpls
set protocols isis interface ge-0/0/2.0 level 2 metric 10
set protocols isis interface ge-0/0/2.0 point-to-point
set protocols ldp interface ge-0/0/2.0
set protocols mpls interface ge-0/0/2.0

set interfaces ge-0/0/3 unit 0 family iso
set interfaces ge-0/0/3 unit 0 family mpls
set protocols isis interface ge-0/0/3.0 level 2 metric 10
set protocols isis interface ge-0/0/3.0 point-to-point
set protocols ldp interface ge-0/0/3.0
set protocols mpls interface ge-0/0/3.0

set interfaces ge-0/0/5 unit 0 family iso
set interfaces ge-0/0/5 unit 0 family mpls
set protocols isis interface ge-0/0/5.0 level 2 metric 10
set protocols isis interface ge-0/0/5.0 point-to-point
set protocols ldp interface ge-0/0/5.0
set protocols mpls interface ge-0/0/5.0


set routing-options router-id 2.2.2.2
set protocols isis level 2 wide-metrics-only
set protocols isis level 1 disable
set protocols isis no-ipv6-routing
set protocols ldp transport-address router-id


112 changes: 0 additions & 112 deletions chapter02/lab_1_P2.ip_mpls.xrcfg

This file was deleted.

55 changes: 55 additions & 0 deletions chapter02/lab_1_P3.ip_igp_ldp.jnprcfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
set interfaces lo0 unit 0 family inet address 3.3.3.3/32
set interfaces lo0 unit 0 description System_Loopback_Interface

set interfaces ge-0/0/0 unit 0 family inet address 23.0.0.3/24
set interfaces ge-0/0/0 unit 0 description P3_to_P2

set interfaces ge-0/0/1 unit 0 family inet address 37.0.0.3/24
set interfaces ge-0/0/1 unit 0 description P3_to_P7

set interfaces ge-0/0/2 unit 0 family inet address 34.0.0.3/24
set interfaces ge-0/0/2 unit 0 description P3_to_P4

set interfaces ge-0/0/3 unit 0 family inet address 39.0.0.3/24
set interfaces ge-0/0/3 unit 0 description P3_to_P9

set interfaces lo0 unit 0 family iso address 49.0000.0000.0003.00
set protocols isis interface lo0.0
set protocols ldp interface lo0.0

set interfaces ge-0/0/0 unit 0 family iso
set interfaces ge-0/0/0 unit 0 family mpls
set protocols isis interface ge-0/0/0.0 level 2 metric 10
set protocols isis interface ge-0/0/0.0 point-to-point
set protocols ldp interface ge-0/0/0.0
set protocols mpls interface ge-0/0/0.0

set interfaces ge-0/0/1 unit 0 family iso
set interfaces ge-0/0/1 unit 0 family mpls
set protocols isis interface ge-0/0/1.0 level 2 metric 10
set protocols isis interface ge-0/0/1.0 point-to-point
set protocols ldp interface ge-0/0/1.0
set protocols mpls interface ge-0/0/1.0

set interfaces ge-0/0/2 unit 0 family iso
set interfaces ge-0/0/2 unit 0 family mpls
set protocols isis interface ge-0/0/2.0 level 2 metric 10
set protocols isis interface ge-0/0/2.0 point-to-point
set protocols ldp interface ge-0/0/2.0
set protocols mpls interface ge-0/0/2.0

set interfaces ge-0/0/3 unit 0 family iso
set interfaces ge-0/0/3 unit 0 family mpls
set protocols isis interface ge-0/0/3.0 level 2 metric 10
set protocols isis interface ge-0/0/3.0 point-to-point
set protocols ldp interface ge-0/0/3.0
set protocols mpls interface ge-0/0/3.0


set routing-options router-id 3.3.3.3
set protocols isis level 2 wide-metrics-only
set protocols isis level 1 disable
set protocols isis no-ipv6-routing
set protocols ldp transport-address router-id


97 changes: 0 additions & 97 deletions chapter02/lab_1_P3.ip_mpls.xrcfg

This file was deleted.

Loading