Mpls
MTU
The maximum frame size (in bytes) that is permitted over a certain link or service Oversized frames arriving at a layer 2 interface are not fragmented, but simply discarded For an Ip/Mpls network, the following MTU entities must be considered: 1) Service MTU 2) Access port, or SAP MTU 3) SDP path MTU 4) Network port MTU
Service MTU
Service MTU defines the maximum customer payload that can be carried end to end in a service. The default MTU for an ethernet VPN service is 1514 bytes. 1514 = 1500 bytes (payload) + 14 bytes (DLC header) FCS is not carried but recalculated at the far end.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FHzs10NvqDwvP5d6wZlyy%252Fimage.png%3Falt%3Dmedia%26token%3D89556cc6-47e3-4658-9322-6d215a5fc594&width=768&dpr=4&quality=100&sign=f03eba41&sv=1)
SAP MTU
Derived from the physical access port MTU Ä°ncludes VLAN tags arriving at the SAP Vlan tags are service-delimiting by default, thus stripped on arrival The SAP MTU must be >= service MTU + Vlan encapsulation for the SAP to be operationally up.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FyHgzk4Kyn6PLIMB1ffaJ%252Fimage.png%3Falt%3Dmedia%26token%3Db672d774-4cdb-407e-87c8-a0d1df1ecca0&width=768&dpr=4&quality=100&sign=b7cd2481&sv=1)
SAP MTU Calculation
Null encapsulation default MTU is 1514 Dot1q encapsulation default MTU is 1514+4 = 1518 Q-in-Q encapsulation default MTU is 1514 + 4 + = 1522
SDP Path and Network Port MTU
The SDP path MTU defines the maximum payload size that can be carried in the SDP transport tunnel.
By default, it is derived from the network port.
SDP path MTU = egress network port MTU -SDP encapsulation
SPD path MTU >= service MTU
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FAznIVnwl4NjbOtv2fNN1%252Fimage.png%3Falt%3Dmedia%26token%3Dfb391af1-dc8e-48c8-b031-f128f3a764b4&width=768&dpr=4&quality=100&sign=4d5b73fc&sv=1)
SDP Path MTU Calculation
For a gigabit ethernet network port with a default MTU of 9212
If SDP uses MPLS encapsulation
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252Fo1qzwFbLl7IulW5ZEiX2%252Fimage.png%3Falt%3Dmedia%26token%3Dd620e7fc-ce9d-43b9-ad9f-3bf8b78af319&width=768&dpr=4&quality=100&sign=35ab8434&sv=1)
If SDP uses Gre encapsulation
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FhvKvQzAS9WVmUqZFZBLO%252Fimage.png%3Falt%3Dmedia%26token%3Ddba58c8e-d1b8-4ab3-b5ef-e99b1f1a1447&width=768&dpr=4&quality=100&sign=54867282&sv=1)
Epipe MTU Case Study
Epipe services ID 50 is configured between PE1 and PE2 with a service MTU of 1514 bytes. The customer sites connect to the PE routers using dot1q ethernet encapsulation The SDP between the PE routers uses RSVP-signaled LSPs for transport.
New requirement for epipe 50 to support a maximum customer packet size of 5000 bytes.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FcfjlzNf0mQOelJlQiqw8%252Fimage.png%3Falt%3Dmedia%26token%3Dbcb196c7-8f92-40d3-8c6d-91f4f71f4ea9&width=768&dpr=4&quality=100&sign=88812f41&sv=1)
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FvpkBpznXzJczVWBbLqw3%252Fimage.png%3Falt%3Dmedia%26token%3D3b34b539-9d0a-41a2-bee1-c02ace0ea6ef&width=768&dpr=4&quality=100&sign=4c1377b6&sv=1)
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252F0DjkajBpe5xPOS2dIDKa%252Fimage.png%3Falt%3Dmedia%26token%3Dffc1c96a-e39a-4e54-bd92-9297f513bac8&width=768&dpr=4&quality=100&sign=81de195a&sv=1)
Service Mtu değeri 1514 byte. Sap Mtu değeri vlan tag'i de dahil olduğu içij 4 byte daha eklenmiş hali olan 1518 byte.
SDP, Mpls encapsulation kullandığı için MTU değeri 9190.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FrqbuEEA1Uev0SOOrixlI%252Fimage.png%3Falt%3Dmedia%26token%3Dfdc07aaa-93df-4ce0-99fc-3e4a9362ef60&width=768&dpr=4&quality=100&sign=ba4952c&sv=1)
1/1/1 portu SAP portu 1518 byte, 1/1/2 portu Network portu.
SDP (Service Distribution Point)
A service distribution (SDP) defines a transport tunnel between the PE routers. A SDP is bound to a VPLS service using either a spoke or a mesh SDP. The SDP binding type determines how flooded traffic is transmitted.
Spoke SDP Flooding Behavior
Flooded traffic received on a spoke SDP is replicated on all other spoke SDPs,mesh SDPs and local SAPs.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FLP7ZhhWjn9nyFZjHWg3I%252Fimage.png%3Falt%3Dmedia%26token%3D307e8139-e2a0-4d0a-930e-7d969af93104&width=768&dpr=4&quality=100&sign=4f8d3ccc&sv=1)
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252F0UgUDSqPUQ9V1KKmKjS3%252Fimage.png%3Falt%3Dmedia%26token%3Dae70c928-7417-4000-ba44-3922c17d6acc&width=768&dpr=4&quality=100&sign=3af7f5cb&sv=1)
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FUmcssoBmWh1jFIfKmJCH%252Fimage.png%3Falt%3Dmedia%26token%3Dacf9e154-5fff-4800-8bc2-50e07c72e054&width=768&dpr=4&quality=100&sign=4d5134cf&sv=1)
Mesh SDP Flooding Behavior
Flooded traffic received on a mesh SDP is replicated on all other spoke SDPs and local SAPs.
Not replicated on other mesh SDPs.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FgnEKoSPhiVF72BWPKk7K%252Fimage.png%3Falt%3Dmedia%26token%3D537fd77b-619c-46d4-94a2-061beb40a028&width=768&dpr=4&quality=100&sign=354be3f8&sv=1)
VPLS Flooding Behavior
Vpls provides a layer 2 multipoint connectivity Traffic is forwarded based on destination Mac address. Each PE dynamically builds its forwarding database (FDB) based on the source MAC address in traffic offered to the VPLS VPLS forwarding behavior depends on the type of traffic sent.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FUjMuU3liVcrbnem2I0nT%252Fimage.png%3Falt%3Dmedia%26token%3Df8b6a912-eaf7-4939-bbfb-3e3fc8feaeed&width=768&dpr=4&quality=100&sign=2e14a2d8&sv=1)
Known Unicast Traffic
Traffic destined to a known unicast address is sent only to the destination.
A known destination is one that is present in the FDB
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FD0JP5KeZ9vyCRyrySFEI%252Fimage.png%3Falt%3Dmedia%26token%3D92d73ad3-7e17-4d93-bbfe-244d85c75e4f&width=768&dpr=4&quality=100&sign=35bec891&sv=1)
Broadcast, Unknown Unicast and Multicast (BUM) Traffic
Traffic destined to a BUM address is flooded to all local SAPs and remote PEs in the service.
In a basic VPLS, the SDP is bound to the service as a mesh SDP
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FtnvnZfcFaKxE4nBBlRv4%252Fimage.png%3Falt%3Dmedia%26token%3Ddadd566d-4719-4d6d-9ab2-4e0e482afb39&width=768&dpr=4&quality=100&sign=14051b71&sv=1)
Mac Learning in a VPLS
Vpls is fully meshed
Mac Aging
FDB entry is added with an age of 0 Age resets when receiving a packet with a matching source mac address. Age increase during inactive flow FDB entry is removed if age is greater than the age timer
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252F31cVutpr8soNLMYRN6wo%252Fimage.png%3Falt%3Dmedia%26token%3D766e3065-1d7b-4feb-9ade-c4121d76e3a4&width=768&dpr=4&quality=100&sign=7e65a0fa&sv=1)
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FkIiVN6fpvzoFfVMBtDai%252Fimage.png%3Falt%3Dmedia%26token%3D37c24fdd-0964-4752-8e32-fd4c8534348c&width=768&dpr=4&quality=100&sign=52bbddd9&sv=1)
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FtqIvZvRXjQjGDnKnCfKs%252Fimage.png%3Falt%3Dmedia%26token%3Dfdf76980-d758-458a-aa20-9fdf30c21652&width=768&dpr=4&quality=100&sign=3a740ba8&sv=1)
VPRN (Virtual Private Routed Network)
Connects multiple sites in a single routed domain over the provider network.
The provider network is invisible to customer
The vprn appears as a virtual IP router.
Virtual Routing and Forwarding (VRF) Table
Contains customer routes for the VPRN
A PE maintains a VRF for each provisioned VPRN service
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FdGzZVRHxNWwMObKd93uJ%252Fimage.png%3Falt%3Dmedia%26token%3D6253e357-29da-4ac2-baae-8f06b56a144f&width=768&dpr=4&quality=100&sign=5426b794&sv=1)
Distribution of Customer Routes in VPRN
CE-to-PE Routing
The CE router distributes routes to the local PE router, the PE router stores them in the VRF for the VPRN service.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FeN5xuYUEgGiqJHyfbU2L%252Fimage.png%3Falt%3Dmedia%26token%3D158efe12-7e02-4ef5-9503-333bc0e19cc9&width=768&dpr=4&quality=100&sign=f0ab48d1&sv=1)
PE-to-PE Routing
MP-BGP distributes customer routes between PE routers
PE-to-CE Routing
The PE router distributes the VRF routes learned from remote PE routers to the local CE routers.
CE-to-PE Routing
The PE router peers with the CE router to exchange customer routes
Customer routes are kept in the VRF for the VPRN service
CE is effectively peering with the VRF on the PE routes.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FgTy2eqM1HEi8tIkY8Cni%252Fimage.png%3Falt%3Dmedia%26token%3D5fe77e3f-71c5-4960-8728-42e97fa0c415&width=768&dpr=4&quality=100&sign=37c0b465&sv=1)
The CE router can use static routes, RIP,ISIS,OSPF or eBGP to exchange routes with the VRF
PE-to-PE Routing: MP-BGP
A single instance of MP-BGP handles route exchange for all VPRN services. The RD (Route Distinguisher) is used to distinguish between customer routes from different VPRN services. Each VPRN is configured with a unique RD The RD is a added to the IPv4 prefix to create a VPN-Ä°pv4 prefix.
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FVCc4jA8QBOU0QgaUHc8k%252Fimage.png%3Falt%3Dmedia%26token%3D34325174-e89e-458c-8424-f7bce33bf318&width=768&dpr=4&quality=100&sign=2eb030f0&sv=1)
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FrOHtIkNkcQzFCzUFucLq%252Fimage.png%3Falt%3Dmedia%26token%3D294941f1-c294-4a53-a23a-e070c5ee9214&width=768&dpr=4&quality=100&sign=c8f1f7f8&sv=1)
PE-to-PE Routing: Route Target (RT)
Question: How does receiving PE determine which routes belong to which RF ?
The route Target (RT) is a bgp extended community added by the advertising PE when the route is exported from the VRF into MP-BGP
The receiving PE uses the RT to select the routes that will be imported into a VRF
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FhY8eC2Obs4B8dPul9Zre%252Fimage.png%3Falt%3Dmedia%26token%3Dc58549f6-11e0-4cb0-b37c-0ff7c1182bc2&width=768&dpr=4&quality=100&sign=4a40c917&sv=1)
PE-to-CE Routing
VPN routes received from remote PEs are added to the VRFs and need to be advertised to local CE routes.
A routing protocol or a static route is used for PE-CE routing
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252F6NW3Nh1SIwVrtXA0lvXB%252Fimage.png%3Falt%3Dmedia%26token%3Db5434c62-dcca-4371-8729-828d0d97688c&width=768&dpr=4&quality=100&sign=8b2091a6&sv=1)
![](https://sefa-memis.gitbook.io/~gitbook/image?url=https%3A%2F%2F2292156749-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FDfDBccroFkvJ25uVFqYX%252Fuploads%252FgcJWXNOCCCmpskuIcrr3%252Fimage.png%3Falt%3Dmedia%26token%3D31b27eff-6153-4157-ba0a-eedf7649721b&width=768&dpr=4&quality=100&sign=35b30f8b&sv=1)
Last updated