MPLS

Common Components

  • IOM( Input / Output Module)

    • Juniper FPC; Cisco SIP

  • IMM(Integrated Media Module

    • Juniper FPC;Cisco SIP

  • MDA (Media Dependent Adapter)

    • Juniper PIC;MIC;Cisco SPA

  • SFM (Switch Fabric Module)

    • Juniper RE;Cisco RSP

  • CPM (Control Plane Module)

    • Juniper RE; Cisco RSP

  • SR-OS (Service Router Operating System (fmr. TIMOS)

    • Juniper JunOS; Cisco IOS,IOS-XR

  • FP4- Nokia's latest network processor chipset (2.4 tbps)

    • Juniper Trio;Cisco Tomahawk

Subscriber = The end user

SAP (Service Access Point) = The interface that connects the subscriber to the Service Provider

Customer ID = A unique value used to group service together

Service ID = A unique value used to identify the service

SDP (Service Distribution Point) = A logical representation of the transport tunnel emulating a direct connection to a far end PE router PE(Provider Edge)

Transport Tunnel = The LSP used to transport service data; label signaled by L-LDP

Service Tunnel = Represented by service label; labels signaled by T-LDP or BGP-LU

Demultiplex = The act of decapsulating data arriving at the egress PE router; typically a "POP" operation of MPLS

Chasis ==>Şase İçerisinde birçok modul vardır.

Control board ==>Routerın beyni. Control plane (ospf,isis, bgp,pim,ldp,rsvp-te) vs bunların sorumluluğuna sahiptir. ve aynı zamanda Management plane (ssh,snmp,telnet) Nokia bu module CPM (Control Processing Module) adını vermiş. Cisco ise Route Process (RP) veya RSP (Route Switch Processor) Cisco ASR 9000 modellerinde NCS 6000 modellerinde ve Cisco 7600 ve Catalyst 6500 (IOS cihazları) nda SUP (Supervisor) olarak isimlendirmiş.

Servis sağlayıcı routerlarda 2 tane CPM/RSP kurulur. Çift CPM/RSP ayrıca yönlendirici back plane'in performansını 2 katına çıkarır.

Fabric veya Switch Fabric; iç backplane'dir. Tüm modulleri kapsayan ve bunlar arasında veri iletim hizmetleri sağlayan moduldür. Nokia Switch Fabric Module (SFM). Cisco ise Switch Fabric Card (SFC) olarak isimlendirir. Switch Fabric yapısı ultra yüksek performansın (slot başına 1 tera veya daha fazla) gerekli olduğu üst düzey routerlarda kullanılır. Diğer durumlarda Switch Fabric genellikle control plane 'e monte edilir. Nokiada bu module SF/CPM denilir. Cisco da Switch Fabric ASR 9000 de kullanılan RSP'ye entregre edilmiştir. Daha fazla perfomansa ihtiyac varsa ek SFC card ekleneyebilirsiniz.

Line card: İnterfaceleri bağlamak ve trafik iletmek için kullanılır. Nokiada 2 farklı line card vardır. Integrated Media Module (IMM), sabit sayıda / tipte bağlantı noktasına sahip kattır. Input/Output Module(IOM),moduller kurma olanağına sahip bir line carddır. Genellikle interfacelere sahiptir. Cisco MOD (Mod80,mod160 vb) hat kartları olarak adlandırılan bir IOM anologuna sahiptir. Önceki analog STM destekler ve diğer serial servisler de aynı şekilde. SPA interface olarak adlandırılır (SIP)

Module: Belirli bir hat kartı tipine kurulabilen modul (Nokia'nın) IOM'u ve Cisconun (MOD/SIP)i Nokia bu module MDA (Media Dependent Adapter) adını verdi. Farklı türde MDA'lar vardır. 1/10/100 giga, STM vs.

link https://karneliuk.com/2016/07/what-does-service-provider-router-consist-of-nokia-alcatel-lucent-and-cisco/

1/1 ==>card 1 yani slot 1 , m5-1gb-sfp-b (mda tipi)

m5 ( 5 portlu) 1 giga

/ ile yazarsak en başta aramaya başlar Rootda Nerde olduğumuza bakmaz.

1.slot yani 1.IOM 1.MDA ve 5 tane port var.

İsim vermek istersek.

System konfigurasyonlarını görüyorsunuz.

Kayıt etmek için admin save komutunu kullanıyoruz.

system ip adresi dediği loopback ip adresi.

configure port 1/1/1 sonrasında ise

Port mode'ları network port biz bunu access port olarak yapacağız.

Default olarak tüm portlar 8936 mtuya sahip network port olarak konfigure edildiğinde.

1/1/1 aynı zamanda module/adaptör/port şeklinde de deniliyor.

Port 5'i access port olarak ayarlayıp ve sonrasında dot1q ile encapsule ediyoruz.

access mode da layer2 switch port olarak davranıyor. Network ise layer 3 veya routed port olarak davranmasını sağlıyor. Hybrid de ise hem switchport hem de routed port olarak davranıyor aynı zamanda.

Access mode olması PC ye bağlı oluyormuş gibi düşünebiliriz.

14 byte olarak ethernet frame eklemiş Yani source ve destination mac adresleri (6+6) =12 + 2 byte da Ethernet type

encapsulation type olarak dot1q eklediğimiz ektstra olarak 4 byte daha ekleyecek.Vlan etiketi eklemiş olacak. qinq == Switchportu vlan stack olarak ayarlıyor. Sonra bahsedilecek.

Null olduğunda MTU 1514 oluyor.

qinq de ise 8 byte ekliyor. 4 byte ekstra diğer vlan etiketini ekliyor. 4 byte da kendisi var.

noifaddress (no interface ip adress olmadığını gösteriyor)

Sanal bir interface oluşturuyoruz. System adında başka bir isimde verebilirdik bu interfacenin bir de ip adresi olması gerekiyor.

Default olarak system adresi olarak loopback adresi verebiliriz. N1 için system ip adresi 1.1.1.1/32

Yukardaki topolojide nereye ip adresi verdiğimize bakabilirsiniz.

Operational up çünkü interfaceye ip adresi atadık. Loopback adresi olduğu için Karşı tarafında bir interface yok o yüzden up oldu. Ama karşı tarafında da bir interface olsaydı komşuluk sağlandığında up olurdu.

Fiziksel port olduğu için interfaceyi bind etmek gerekiyor.

Karşı tarafı konfigure etmediğimiz içişn ping atamadık.

Routing Policies

  • Allow routes to be controlled according to specifically defined criteria

  • Routes can be allowed or denied based on various parameters

    • Destination Ip

    • Protocol

    • Packet Size

    • Community list

  • Routing policies can reference prefix-lists

  • The goal of our routing policy:

    • Redistribute directly-connected (Local) routes into IS-IS

Area id 49.00 olan IS-IS konfigurasyony yapacağız

level-2 olarak configure edeceğiz.

level-1:aynı area arasında haberleşmeyi sağlar level-2:farklı arealar arasında haberleşmmeyi sağlar level-1/2:hem kendi içinde hemde arealar arasında haberleşmesi gerektiği durumlarda kullanacaz

biz farklı arealar arasında haberleşme yapacağımızdn dolayı level-2 kullanacaz.

Neden level-1/2 yi kullanıp hem kendi içinde hemde arasında haberleşsin demiyorsunuz ama öyle bir durumda gizlilik ihlali olur yani senin şirketindeki routera dışardan paketgelmesini istemediğin biryerden paket gelir.

Point to point devre olarak her routerı isis içerisinde konfigure etmek istersek.

system interfacenin karşısında herhangi bir router olmadığı için ospfdeki passive interface gibi bunu da passive interface yaptık. interface toN2 ise serial bir bağlantı olduğu için point to point olarak bağlantısını kurduk.

Benzer şeyleri burada yapıyoruz.

lightweight ==>hafif yükte

No ssession is expected.

What is MPLS

Mpls is a service that allows data to be forwarded based on label,rather than routed based on IP headers. Mpls utilizes several underlying protocol to achieve its goal.

  • LDP: - Label Distribution Protocol : Allows LSRs( Label switch routers) to build, maintain and exchange label bindings.

    • Link-LDP : Allows label bindings (transport labels) to be exchanged between directly-connected peers.

    • Targeted LDP: Allow label binding (Service labels) to be exchanged between non directly-connected peers.

  • RSVP-TE - Reservation Protocol : Traffic Engineering- An extension of RSVP allowing resources to be reserved across an IP/Mpls network

  • BGP-LU: Border Gateway Protocol : Labeled Unicast - An extension of BGP allowing label bindings to be shared in UPDATE message

    • Also referred to as MP-BGP (Multiprotocol Border Gateway Protocol)

  • PE Router - Provider Edge router -Router at the edge of a service provider network

  • P Router - Router in the core of a service provider network

  • LSR - Label Switch Router - Router in the MPLS domain; responsible for swapping label.

  • iLER- Ingress label edge router -Router at the edge of an MPLS domain responsible for pushing labels.

  • eLER- Egress label edge router - Router at the edge of an MPLS domain; responsible for popping labels

  • LSP - Label Switched path- Tunnel through an MPLS network; signaled by an underlying protocol. (LDP,RSVP-TE,BGP-LU)

  • FEC - Forwarding equivalence class -Defines a group of packets to be forwarded over the same path, with the same forwarding treatment, only assigned at ingress. Think of this as a prefix.

DATA/FWD'ng PLANE: Traffic flows from ingress/upstream (N1), to egress /downstream (N6)

Control Plane : Labels are signaled from egress/downstream (N6),to ingress/upstream(N1)

Control Plane vs Data Plane

  • Control Plane - Responsible for building the forwarding tables.

    • Functions performed by the SF/CPM

    • RIB- Routing Information base

    • LIB- Label information base

  • Data Plane - Responsible for forwarding packet based on information in forwarding tables.

    • Also referred to as the Forwarding Plane

    • Functions performed by the IOM

    • FIB - Forwarding information base

    • LFIB- Label forwarding information base

Types Of Services

VPWS ==> Virtual Private Wire Service (VLL/Virtual Leased Line) - A virtual point to point services that emulates a private connection.

  • Epipe => Emulates a point to point Ethernet services; Support layer 2 technologies.

  • RFC 4664

VPLS ==> Virtual Private LAN Services - An Ethernet service that connects multiple sites in a single switched domain over an IP/MPLS backbone.

  • The service provider appears as a virtual switch to the subscriber.

  • RFC 4664

VPRN ==> Virtual Private Routed Network - Provides a multipoint, routed services to the subscriber over an IP/MPLS backbone.

  • The service provider appears as a virtual router to the subscriber.

  • RFC 4664

IES ==> Internet Enchanced Service - A layer 3 interface provided to the subsriber, treated as a service and configured as a SAP

  • Supports QoS, accounting and filtering

dk 15 de kaldım.

https://www.youtube.com/watch?v=NXx6XvSYA3Q&t=3129s&ab_channel=ThomasTucker

dk 9.49

Last updated