9
Most read
10
Most read
21
Most read
Juniper MPLS Best Practice Part 1  Static LSP Configuration and understanding  mpls.0  table Febrian Setiadi - 860063
What is MPLS? Forwarding technique using label value “ Virtual Circuit” for IP Unidirectional path Tunel through the network Mapping IP Prefixes to LSPs Labels are placed between L2 header and L2 data Label stacking is possible
Lab Topology Loopbacks Jakarta  : 192.168.8.1 Bandung  : 192.168.12.1 Semarang  : 192.168.16.1 Surabaya  : 192.168.36.1 Denpasar  : 192.168.40.1 Makasar  : 192.168.44.1
IGP Configuration After IGP already converged, we’re ready to configure static LSP jkt@Lab:Jakarta> show configuration protocols ospf  area 0.0.0.0 { interface all; } smg@Lab:Semarang> show configuration protocols ospf  area 0.0.0.0 { interface all; } sby@Lab:Surabaya> show configuration protocols ospf  area 0.0.0.0 { interface all; } bdg@Lab:Bandung> show configuration protocols ospf  area 0.0.0.0 { interface all; } dps@Lab:Denpasar> show configuration protocols ospf  area 0.0.0.0 { interface all; } mks@Lab:Makasar> show configuration protocols ospf  area 0.0.0.0 { interface all; } Preconfigured with OSPF, all routers belong to area 0
LSP Configuration We’ll setup LSP from Jakarta to Makasar, via Semarang, Surabaya and Makasar And returning LSP path from Makasar to Jakarta via Denpasar and Bandung
LSP Configuration Jakarta performs label imposition (PUSH) , this label should be received by Semarang jkt@Lab:Jakarta> show configuration protocols mpls  static-path inet { 192.168.44.1/32 { next-hop 10.0.11.1; push 1000001; } } interface all;
LSP Configuration Semarang performs label swapping 1000001 with 1000002 smg@Lab:Semarang> show configuration protocols mpls  interface all; interface em1.11 { label-map 1000001 { next-hop 10.0.0.2; swap 1000002; } } smg@Lab:Semarang> show route table mpls.0  mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0  *[MPLS/0] 01:51:53, metric 1 Receive 1  *[MPLS/0] 01:51:53, metric 1 Receive 2  *[MPLS/0] 01:51:53, metric 1 Receive 1000001  *[Static/5] 01:51:53 > to 10.0.0.2 via em1.0, Swap 1000002 What’s on  mpls.0  table
LSP Configuration Surabaya performs label swapping 100002 with 100003 sby@Lab:Surabaya> show configuration protocols mpls  interface all; interface em2.0 { label-map 1000002 { next-hop 10.0.4.2; swap 1000003; } } sby@Lab:Surabaya> show route table mpls.0  mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0  *[MPLS/0] 02:07:58, metric 1 Receive 1  *[MPLS/0] 02:07:58, metric 1 Receive 2  *[MPLS/0] 02:07:58, metric 1 Receive 1000002  *[Static/5] 01:56:46 > to 10.0.4.2 via em1.4, Swap 1000003 What’s on  mpls.0  table
LSP Configuration Denpasar performs label swapping 1000003 with 0    Penultimate Hop Popping dps@Lab:Denpasar> show configuration protocols mpls  interface all; interface em1.60 { label-map 1000003 { next-hop 10.0.60.2; swap 0; } } dps@Lab:Denpasar> show route table mp  mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0  *[MPLS/0] 02:19:06, metric 1 Receive 1  *[MPLS/0] 02:19:06, metric 1 Receive 2  *[MPLS/0] 02:19:06, metric 1 Receive 1000003  *[Static/5] 02:04:06 > to 10.0.60.2 via em1.60, Swap 0 1000003(S=0)  *[Static/5] 02:04:06 > to 10.0.60.2 via em1.60, Pop  What’s on  mpls.0  table
LSP Configuration Reachability from Jakarta Traceroute result from Jakarta jkt@Lab:Jakarta> show route 192.168.44.1  inet.0: 17 destinations, 18 routes (17 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 192.168.44.1/32  *[Static/5] 02:02:10 > to 10.0.11.1 via em2.11, Push 1000001 [OSPF/10] 02:55:26, metric 3 > to 10.0.80.2 via em1.80 to 10.0.11.1 via em2.11 jkt@Lab:Jakarta> traceroute 192.168.44.1  traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1  SMG (10.0.11.1)  0.817 ms  0.750 ms  0.590 ms MPLS Label=1000001 CoS=0 TTL=1 S=1 2  SBY (10.0.0.2)  1.096 ms  1.061 ms  1.308 ms MPLS Label=1000002 CoS=0 TTL=1 S=1 3  DPS (10.0.4.2)  1.459 ms  1.347 ms  1.286 ms MPLS Label=1000003 CoS=0 TTL=1 S=1 4  MKS (192.168.44.1)  2.073 ms  1.642 ms  1.538 ms
LSP vs IGP OSPF Reachability Using Static LSP jkt@Lab:Jakarta> show route 192.168.44.1  192.168.44.1/32  *[OSPF/10] 03:17:24, metric 3 > to 10.0.80.2 via em1.80 to 10.0.11.1 via em2.11 jkt@Lab:Jakarta> traceroute 192.168.44.1  traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1  BDG (10.0.80.2)  0.933 ms  0.701 ms  0.684 ms 2  DPS (10.0.70.2)  1.107 ms  1.011 ms  0.988 ms 3  MKS (192.168.44.1)  1.477 ms  1.377 ms  1.500 ms jkt@Lab:Jakarta> traceroute 192.168.44.1  traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1  SMG (10.0.11.1)  0.817 ms  0.750 ms  0.590 ms MPLS Label=1000001 CoS=0 TTL=1 S=1 2  SBY (10.0.0.2)  1.096 ms  1.061 ms  1.308 ms MPLS Label=1000002 CoS=0 TTL=1 S=1 3  DPS (10.0.4.2)  1.459 ms  1.347 ms  1.286 ms MPLS Label=1000003 CoS=0 TTL=1 S=1 4  MKS (192.168.44.1)  2.073 ms  1.642 ms  1.538 ms
Summary While using IGP (OSPF) jkt@Lab:Jakarta> show route 192.168.44.1  192.168.44.1/32  *[OSPF/10] 03:17:24, metric 3 > to 10.0.80.2 via em1.80 to 10.0.11.1 via em2.11 jkt@Lab:Jakarta> traceroute 192.168.44.1  traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1  BDG (10.0.80.2)  0.933 ms  0.701 ms  0.684 ms 2  DPS (10.0.70.2)  1.107 ms  1.011 ms  0.988 ms 3  MKS (192.168.44.1)  1.477 ms  1.377 ms  1.500 ms Will traverse through Bandung and Denpasar to reach Makasar
Summary LSP Configured jkt@Lab:Jakarta> traceroute 192.168.44.1  traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1  SMG (10.0.11.1)  1.618 ms  0.807 ms  0.679 ms MPLS Label=1000001 CoS=0 TTL=1 S=1 2  SBY (10.0.0.2)  1.088 ms  1.292 ms  1.011 ms MPLS Label=1000002 CoS=0 TTL=1 S=1 3  DPS (10.0.4.2)  1.307 ms  1.412 ms  1.295 ms MPLS Label=1000003 CoS=0 TTL=1 S=1 4  MKS (192.168.44.1)  1.635 ms  1.799 ms  1.592 ms Will traverse through Semarang, Surabaya and Denpasar to reach Makasar
Summary Returning Path (Omitting Transit Configuration) mks@Lab:Makasar> traceroute 192.168.8.1  traceroute to 192.168.8.1 (192.168.8.1), 30 hops max, 40 byte packets 1  DPS (10.0.60.1)  1.056 ms  0.876 ms  0.805 ms MPLS Label=1000100 CoS=0 TTL=1 S=1 2  BDG (10.0.70.1)  1.142 ms  1.160 ms  1.153 ms MPLS Label=1000101 CoS=0 TTL=1 S=1 3  JKT (192.168.8.1)  1.619 ms  1.598 ms  1.455 ms mks@Lab:Makasar> show configuration protocols mpls  static-path inet { 192.168.8.1/32 { next-hop 10.0.60.1; push 1000100; } } interface all;
Appendix – Complete Configuration jkt@Lab:Jakarta> show configuration  interfaces { em1 { unit 80 { vlan-id 80; family inet { address 10.0.80.1/30; } family mpls; } } em2 { unit 11 { vlan-id 11; family inet { address 10.0.11.2/30; } family mpls; } } lo0 { unit 8 { family inet { address 192.168.8.1/32; } } } } protocols { mpls { static-path inet { 192.168.44.1/32 { next-hop 10.0.11.1; push 1000001; }  } interface all; } ospf { area 0.0.0.0 { interface all; } } }
smg@Lab:Semarang> show configuration  interfaces { em1 { unit 0 { vlan-id 0; family inet { address 10.0.0.1/30; } family mpls; } unit 3 { vlan-id 3; family inet { address 10.0.3.1/30; } family mpls; } unit 11 { vlan-id 11; family inet { address 10.0.11.1/30; } family mpls; } } lo0 { unit 16 { family inet { address 192.168.16.1/32; } } } } protocols { mpls {  interface all; interface em1.11 { label-map 1000001 { next-hop 10.0.0.2; swap 1000002; } } } ospf { area 0.0.0.0 { interface all; } } }
bdg@Lab:Bandung> show configuration  interfaces { em1 { unit 70 { vlan-id 70; family inet { address 10.0.70.1/30; } family mpls; } } em2 { unit 3 { vlan-id 3; family inet { address 10.0.3.2/30; } family mpls; } unit 80 { vlan-id 80; family inet { address 10.0.80.2/30; } family mpls; } } lo0 { unit 12 { family inet { address 192.168.12.1/32; } } } } protocols { mpls { interface all; interface em1.70 { label-map 1000101 { next-hop 10.0.80.1; swap 0; } } } ospf { area 0.0.0.0 { interface all; } } }
sby@Lab:Surabaya> show configuration  interfaces { em1 { unit 4 { vlan-id 4; family inet { address 10.0.4.1/30; } family mpls; } unit 9 { vlan-id 9; family inet { address 10.0.9.1/30; } family mpls; } } em2 { unit 0 { vlan-id 0; family inet { address 10.0.0.2/30; } family mpls; } } lo0 { unit 36 { family inet { address 192.168.36.1/32; } } } } protocols { mpls { interface all; interface em2.0 { label-map 1000002 { next-hop 10.0.4.2; swap 1000003; } } } ospf { area 0.0.0.0 { interface all; } } }
sby@Lab:Surabaya> show configuration  interfaces { em1 { unit 4 { vlan-id 4; family inet { address 10.0.4.1/30; } family mpls; } unit 9 { vlan-id 9; family inet { address 10.0.9.1/30; } family mpls; } } em2 { unit 0 { vlan-id 0; family inet { address 10.0.0.2/30; } family mpls; } } lo0 { unit 36 { family inet { address 192.168.36.1/32; } } } } protocols { mpls { interface all; interface em2.0 { label-map 1000002 { next-hop 10.0.4.2; swap 1000003; } } } ospf { area 0.0.0.0 { interface all; } } }
dps@Lab:Denpasar> show configuration  interfaces { em1 { unit 60 { vlan-id 60; family inet { address 10.0.60.1/30; } family mpls; } } em2 { unit 4 { vlan-id 4; family inet { address 10.0.4.2/30; } family mpls; } unit 70 { vlan-id 70; family inet { address 10.0.70.2/30; } family mpls; } } lo0 { unit 40 { family inet { address 192.168.40.1/32; } } } }  protocols { mpls { interface all; interface em1.60 { label-map 1000003 { next-hop 10.0.60.2; swap 0; } label-map 1000100 { next-hop 10.0.70.1; swap 1000101; } } } ospf { area 0.0.0.0 { interface all; } } }
mks@Lab:Makasar> show configuration  interfaces { em2 { unit 9 { vlan-id 9; family inet { address 10.0.9.2/30; } family mpls; } unit 60 { vlan-id 60; family inet { address 10.0.60.2/30; } family mpls; } } lo0 { unit 44 { family inet { address 192.168.44.1/32; } } } } protocols { mpls { static-path inet { 192.168.8.1/32 { next-hop 10.0.60.1; push 1000100; } } interface all; } ospf { area 0.0.0.0 { interface all; } } }
 

More Related Content

PPT
Juniper mpls best practice part 2
PDF
MPLS L3 VPN Deployment
PDF
Bidirectional Forwarding Detection (BFD)
PDF
Bgp tutorial for ISP
PPTX
HSRP ccna
PPTX
Vxlan control plane and routing
PPT
Mpls L3_vpn
PDF
Implementing cisco mpls
Juniper mpls best practice part 2
MPLS L3 VPN Deployment
Bidirectional Forwarding Detection (BFD)
Bgp tutorial for ISP
HSRP ccna
Vxlan control plane and routing
Mpls L3_vpn
Implementing cisco mpls

What's hot (20)

PPTX
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
PDF
Segment Routing
PDF
Subscriber Traffic & Policy Management (BNG) on the ASR9000 & ASR1000
PDF
Deploy MPLS Traffic Engineering
PDF
VXLAN BGP EVPN: Technology Building Blocks
PDF
Building DataCenter networks with VXLAN BGP-EVPN
PDF
VXLAN Design and Deployment.pdf
PDF
Designing Multi-tenant Data Centers Using EVPN
PDF
Juniper MPLS Tutorial by Soricelli
PPTX
Vxlan deep dive session rev0.5 final
PDF
MPLS Concepts and Fundamentals
PPTX
Fhrp notes
PPT
PDF
Deploying IP/MPLS VPN - Cisco Networkers 2010
PDF
Brkmpl 2333
PPTX
Multiprotocol label switching (mpls) - Networkshop44
PDF
How BGP Works
PPT
PPT
MPLS & BASIC LDP
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
Segment Routing
Subscriber Traffic & Policy Management (BNG) on the ASR9000 & ASR1000
Deploy MPLS Traffic Engineering
VXLAN BGP EVPN: Technology Building Blocks
Building DataCenter networks with VXLAN BGP-EVPN
VXLAN Design and Deployment.pdf
Designing Multi-tenant Data Centers Using EVPN
Juniper MPLS Tutorial by Soricelli
Vxlan deep dive session rev0.5 final
MPLS Concepts and Fundamentals
Fhrp notes
Deploying IP/MPLS VPN - Cisco Networkers 2010
Brkmpl 2333
Multiprotocol label switching (mpls) - Networkshop44
How BGP Works
MPLS & BASIC LDP
Ad

Similar to Juniper mpls best practice part 1 (20)

PPT
Junipermplsbestpractice part1-100717041724-phpapp02
PDF
MPLS Deployment Chapter 2 - Services
PPT
MPLS VPN Per Vrf Traffic
PPT
Bgp Basic Labs
PPT
Bgp Basic Labs
PPTX
VXLAN, BGP EVPN without myths and packet capture
PDF
mpls-02
PDF
Practice Lab CSC
PDF
Segment routing tutorial
PDF
MPLS Deployment Chapter 1 - Basic
PDF
OSPF (open shortest path first) part iii
PDF
Megis mpls
PPT
Multi-Protocol Label Switching: Basics and Applications
PPTX
Juniper JNCIA – Juniper OSPF Route Configuration
PDF
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
DOCX
Сүлжээ1
PDF
Network tips tricks
PPT
Networking Fundamentals
PDF
OSPF_Exercises.pdf
PPT
ICND2_Chapter 5 for Networking beginners
 
Junipermplsbestpractice part1-100717041724-phpapp02
MPLS Deployment Chapter 2 - Services
MPLS VPN Per Vrf Traffic
Bgp Basic Labs
Bgp Basic Labs
VXLAN, BGP EVPN without myths and packet capture
mpls-02
Practice Lab CSC
Segment routing tutorial
MPLS Deployment Chapter 1 - Basic
OSPF (open shortest path first) part iii
Megis mpls
Multi-Protocol Label Switching: Basics and Applications
Juniper JNCIA – Juniper OSPF Route Configuration
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Сүлжээ1
Network tips tricks
Networking Fundamentals
OSPF_Exercises.pdf
ICND2_Chapter 5 for Networking beginners
 
Ad

More from Febrian ‎ (20)

PDF
Cisco academy procedure cust
PDF
Iperf Tutorial
PDF
QoS Cheatsheet by packetlife.net
PDF
Tutorial: Internet Resource Management by Champika Wijayatunga, APNIC
PDF
MPLS-based Metro Ethernet Networks Tutorial by Khatri
PDF
ipv6 mpls by Patrick Grossetete
PDF
BGP Advance Technique by Steven & James
PDF
IPv6 Theory by Cisco
PDF
Juniper IPv6 Workshop by Irzan
PDF
Cisco IPv6 Tutorial by Hinwoto
PDF
IPv6 by APNIC
PDF
Internet Market
PDF
MyJalah200905
PDF
Passion
PDF
OnMobile Global Limited
PDF
Nps320
PDF
My Jalah200904
PDF
Neso Newsletter Feb09
PDF
bti asia salary guide
PDF
Nps2 Fe
Cisco academy procedure cust
Iperf Tutorial
QoS Cheatsheet by packetlife.net
Tutorial: Internet Resource Management by Champika Wijayatunga, APNIC
MPLS-based Metro Ethernet Networks Tutorial by Khatri
ipv6 mpls by Patrick Grossetete
BGP Advance Technique by Steven & James
IPv6 Theory by Cisco
Juniper IPv6 Workshop by Irzan
Cisco IPv6 Tutorial by Hinwoto
IPv6 by APNIC
Internet Market
MyJalah200905
Passion
OnMobile Global Limited
Nps320
My Jalah200904
Neso Newsletter Feb09
bti asia salary guide
Nps2 Fe

Recently uploaded (20)

PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPTX
Internet of Everything -Basic concepts details
PDF
UiPath Agentic Automation session 1: RPA to Agents
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
Modernising the Digital Integration Hub
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PDF
Five Habits of High-Impact Board Members
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
sbt 2.0: go big (Scala Days 2025 edition)
DOCX
search engine optimization ppt fir known well about this
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
Final SEM Unit 1 for mit wpu at pune .pptx
Module 1 Introduction to Web Programming .pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
OpenACC and Open Hackathons Monthly Highlights July 2025
Internet of Everything -Basic concepts details
UiPath Agentic Automation session 1: RPA to Agents
Module 1.ppt Iot fundamentals and Architecture
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Improvisation in detection of pomegranate leaf disease using transfer learni...
Developing a website for English-speaking practice to English as a foreign la...
Modernising the Digital Integration Hub
Enhancing plagiarism detection using data pre-processing and machine learning...
Five Habits of High-Impact Board Members
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Comparative analysis of machine learning models for fake news detection in so...
sbt 2.0: go big (Scala Days 2025 edition)
search engine optimization ppt fir known well about this
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Convolutional neural network based encoder-decoder for efficient real-time ob...

Juniper mpls best practice part 1

  • 1. Juniper MPLS Best Practice Part 1 Static LSP Configuration and understanding mpls.0 table Febrian Setiadi - 860063
  • 2. What is MPLS? Forwarding technique using label value “ Virtual Circuit” for IP Unidirectional path Tunel through the network Mapping IP Prefixes to LSPs Labels are placed between L2 header and L2 data Label stacking is possible
  • 3. Lab Topology Loopbacks Jakarta : 192.168.8.1 Bandung : 192.168.12.1 Semarang : 192.168.16.1 Surabaya : 192.168.36.1 Denpasar : 192.168.40.1 Makasar : 192.168.44.1
  • 4. IGP Configuration After IGP already converged, we’re ready to configure static LSP jkt@Lab:Jakarta> show configuration protocols ospf area 0.0.0.0 { interface all; } smg@Lab:Semarang> show configuration protocols ospf area 0.0.0.0 { interface all; } sby@Lab:Surabaya> show configuration protocols ospf area 0.0.0.0 { interface all; } bdg@Lab:Bandung> show configuration protocols ospf area 0.0.0.0 { interface all; } dps@Lab:Denpasar> show configuration protocols ospf area 0.0.0.0 { interface all; } mks@Lab:Makasar> show configuration protocols ospf area 0.0.0.0 { interface all; } Preconfigured with OSPF, all routers belong to area 0
  • 5. LSP Configuration We’ll setup LSP from Jakarta to Makasar, via Semarang, Surabaya and Makasar And returning LSP path from Makasar to Jakarta via Denpasar and Bandung
  • 6. LSP Configuration Jakarta performs label imposition (PUSH) , this label should be received by Semarang jkt@Lab:Jakarta> show configuration protocols mpls static-path inet { 192.168.44.1/32 { next-hop 10.0.11.1; push 1000001; } } interface all;
  • 7. LSP Configuration Semarang performs label swapping 1000001 with 1000002 smg@Lab:Semarang> show configuration protocols mpls interface all; interface em1.11 { label-map 1000001 { next-hop 10.0.0.2; swap 1000002; } } smg@Lab:Semarang> show route table mpls.0 mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0 *[MPLS/0] 01:51:53, metric 1 Receive 1 *[MPLS/0] 01:51:53, metric 1 Receive 2 *[MPLS/0] 01:51:53, metric 1 Receive 1000001 *[Static/5] 01:51:53 > to 10.0.0.2 via em1.0, Swap 1000002 What’s on mpls.0 table
  • 8. LSP Configuration Surabaya performs label swapping 100002 with 100003 sby@Lab:Surabaya> show configuration protocols mpls interface all; interface em2.0 { label-map 1000002 { next-hop 10.0.4.2; swap 1000003; } } sby@Lab:Surabaya> show route table mpls.0 mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0 *[MPLS/0] 02:07:58, metric 1 Receive 1 *[MPLS/0] 02:07:58, metric 1 Receive 2 *[MPLS/0] 02:07:58, metric 1 Receive 1000002 *[Static/5] 01:56:46 > to 10.0.4.2 via em1.4, Swap 1000003 What’s on mpls.0 table
  • 9. LSP Configuration Denpasar performs label swapping 1000003 with 0  Penultimate Hop Popping dps@Lab:Denpasar> show configuration protocols mpls interface all; interface em1.60 { label-map 1000003 { next-hop 10.0.60.2; swap 0; } } dps@Lab:Denpasar> show route table mp mpls.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0 *[MPLS/0] 02:19:06, metric 1 Receive 1 *[MPLS/0] 02:19:06, metric 1 Receive 2 *[MPLS/0] 02:19:06, metric 1 Receive 1000003 *[Static/5] 02:04:06 > to 10.0.60.2 via em1.60, Swap 0 1000003(S=0) *[Static/5] 02:04:06 > to 10.0.60.2 via em1.60, Pop What’s on mpls.0 table
  • 10. LSP Configuration Reachability from Jakarta Traceroute result from Jakarta jkt@Lab:Jakarta> show route 192.168.44.1 inet.0: 17 destinations, 18 routes (17 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 192.168.44.1/32 *[Static/5] 02:02:10 > to 10.0.11.1 via em2.11, Push 1000001 [OSPF/10] 02:55:26, metric 3 > to 10.0.80.2 via em1.80 to 10.0.11.1 via em2.11 jkt@Lab:Jakarta> traceroute 192.168.44.1 traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1 SMG (10.0.11.1) 0.817 ms 0.750 ms 0.590 ms MPLS Label=1000001 CoS=0 TTL=1 S=1 2 SBY (10.0.0.2) 1.096 ms 1.061 ms 1.308 ms MPLS Label=1000002 CoS=0 TTL=1 S=1 3 DPS (10.0.4.2) 1.459 ms 1.347 ms 1.286 ms MPLS Label=1000003 CoS=0 TTL=1 S=1 4 MKS (192.168.44.1) 2.073 ms 1.642 ms 1.538 ms
  • 11. LSP vs IGP OSPF Reachability Using Static LSP jkt@Lab:Jakarta> show route 192.168.44.1 192.168.44.1/32 *[OSPF/10] 03:17:24, metric 3 > to 10.0.80.2 via em1.80 to 10.0.11.1 via em2.11 jkt@Lab:Jakarta> traceroute 192.168.44.1 traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1 BDG (10.0.80.2) 0.933 ms 0.701 ms 0.684 ms 2 DPS (10.0.70.2) 1.107 ms 1.011 ms 0.988 ms 3 MKS (192.168.44.1) 1.477 ms 1.377 ms 1.500 ms jkt@Lab:Jakarta> traceroute 192.168.44.1 traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1 SMG (10.0.11.1) 0.817 ms 0.750 ms 0.590 ms MPLS Label=1000001 CoS=0 TTL=1 S=1 2 SBY (10.0.0.2) 1.096 ms 1.061 ms 1.308 ms MPLS Label=1000002 CoS=0 TTL=1 S=1 3 DPS (10.0.4.2) 1.459 ms 1.347 ms 1.286 ms MPLS Label=1000003 CoS=0 TTL=1 S=1 4 MKS (192.168.44.1) 2.073 ms 1.642 ms 1.538 ms
  • 12. Summary While using IGP (OSPF) jkt@Lab:Jakarta> show route 192.168.44.1 192.168.44.1/32 *[OSPF/10] 03:17:24, metric 3 > to 10.0.80.2 via em1.80 to 10.0.11.1 via em2.11 jkt@Lab:Jakarta> traceroute 192.168.44.1 traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1 BDG (10.0.80.2) 0.933 ms 0.701 ms 0.684 ms 2 DPS (10.0.70.2) 1.107 ms 1.011 ms 0.988 ms 3 MKS (192.168.44.1) 1.477 ms 1.377 ms 1.500 ms Will traverse through Bandung and Denpasar to reach Makasar
  • 13. Summary LSP Configured jkt@Lab:Jakarta> traceroute 192.168.44.1 traceroute to 192.168.44.1 (192.168.44.1), 30 hops max, 40 byte packets 1 SMG (10.0.11.1) 1.618 ms 0.807 ms 0.679 ms MPLS Label=1000001 CoS=0 TTL=1 S=1 2 SBY (10.0.0.2) 1.088 ms 1.292 ms 1.011 ms MPLS Label=1000002 CoS=0 TTL=1 S=1 3 DPS (10.0.4.2) 1.307 ms 1.412 ms 1.295 ms MPLS Label=1000003 CoS=0 TTL=1 S=1 4 MKS (192.168.44.1) 1.635 ms 1.799 ms 1.592 ms Will traverse through Semarang, Surabaya and Denpasar to reach Makasar
  • 14. Summary Returning Path (Omitting Transit Configuration) mks@Lab:Makasar> traceroute 192.168.8.1 traceroute to 192.168.8.1 (192.168.8.1), 30 hops max, 40 byte packets 1 DPS (10.0.60.1) 1.056 ms 0.876 ms 0.805 ms MPLS Label=1000100 CoS=0 TTL=1 S=1 2 BDG (10.0.70.1) 1.142 ms 1.160 ms 1.153 ms MPLS Label=1000101 CoS=0 TTL=1 S=1 3 JKT (192.168.8.1) 1.619 ms 1.598 ms 1.455 ms mks@Lab:Makasar> show configuration protocols mpls static-path inet { 192.168.8.1/32 { next-hop 10.0.60.1; push 1000100; } } interface all;
  • 15. Appendix – Complete Configuration jkt@Lab:Jakarta> show configuration interfaces { em1 { unit 80 { vlan-id 80; family inet { address 10.0.80.1/30; } family mpls; } } em2 { unit 11 { vlan-id 11; family inet { address 10.0.11.2/30; } family mpls; } } lo0 { unit 8 { family inet { address 192.168.8.1/32; } } } } protocols { mpls { static-path inet { 192.168.44.1/32 { next-hop 10.0.11.1; push 1000001; } } interface all; } ospf { area 0.0.0.0 { interface all; } } }
  • 16. smg@Lab:Semarang> show configuration interfaces { em1 { unit 0 { vlan-id 0; family inet { address 10.0.0.1/30; } family mpls; } unit 3 { vlan-id 3; family inet { address 10.0.3.1/30; } family mpls; } unit 11 { vlan-id 11; family inet { address 10.0.11.1/30; } family mpls; } } lo0 { unit 16 { family inet { address 192.168.16.1/32; } } } } protocols { mpls { interface all; interface em1.11 { label-map 1000001 { next-hop 10.0.0.2; swap 1000002; } } } ospf { area 0.0.0.0 { interface all; } } }
  • 17. bdg@Lab:Bandung> show configuration interfaces { em1 { unit 70 { vlan-id 70; family inet { address 10.0.70.1/30; } family mpls; } } em2 { unit 3 { vlan-id 3; family inet { address 10.0.3.2/30; } family mpls; } unit 80 { vlan-id 80; family inet { address 10.0.80.2/30; } family mpls; } } lo0 { unit 12 { family inet { address 192.168.12.1/32; } } } } protocols { mpls { interface all; interface em1.70 { label-map 1000101 { next-hop 10.0.80.1; swap 0; } } } ospf { area 0.0.0.0 { interface all; } } }
  • 18. sby@Lab:Surabaya> show configuration interfaces { em1 { unit 4 { vlan-id 4; family inet { address 10.0.4.1/30; } family mpls; } unit 9 { vlan-id 9; family inet { address 10.0.9.1/30; } family mpls; } } em2 { unit 0 { vlan-id 0; family inet { address 10.0.0.2/30; } family mpls; } } lo0 { unit 36 { family inet { address 192.168.36.1/32; } } } } protocols { mpls { interface all; interface em2.0 { label-map 1000002 { next-hop 10.0.4.2; swap 1000003; } } } ospf { area 0.0.0.0 { interface all; } } }
  • 19. sby@Lab:Surabaya> show configuration interfaces { em1 { unit 4 { vlan-id 4; family inet { address 10.0.4.1/30; } family mpls; } unit 9 { vlan-id 9; family inet { address 10.0.9.1/30; } family mpls; } } em2 { unit 0 { vlan-id 0; family inet { address 10.0.0.2/30; } family mpls; } } lo0 { unit 36 { family inet { address 192.168.36.1/32; } } } } protocols { mpls { interface all; interface em2.0 { label-map 1000002 { next-hop 10.0.4.2; swap 1000003; } } } ospf { area 0.0.0.0 { interface all; } } }
  • 20. dps@Lab:Denpasar> show configuration interfaces { em1 { unit 60 { vlan-id 60; family inet { address 10.0.60.1/30; } family mpls; } } em2 { unit 4 { vlan-id 4; family inet { address 10.0.4.2/30; } family mpls; } unit 70 { vlan-id 70; family inet { address 10.0.70.2/30; } family mpls; } } lo0 { unit 40 { family inet { address 192.168.40.1/32; } } } } protocols { mpls { interface all; interface em1.60 { label-map 1000003 { next-hop 10.0.60.2; swap 0; } label-map 1000100 { next-hop 10.0.70.1; swap 1000101; } } } ospf { area 0.0.0.0 { interface all; } } }
  • 21. mks@Lab:Makasar> show configuration interfaces { em2 { unit 9 { vlan-id 9; family inet { address 10.0.9.2/30; } family mpls; } unit 60 { vlan-id 60; family inet { address 10.0.60.2/30; } family mpls; } } lo0 { unit 44 { family inet { address 192.168.44.1/32; } } } } protocols { mpls { static-path inet { 192.168.8.1/32 { next-hop 10.0.60.1; push 1000100; } } interface all; } ospf { area 0.0.0.0 { interface all; } } }
  • 22.