User Tools

Site Tools


network_stuff:arista:mpls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_stuff:arista:mpls [2026/03/14 21:02] jotasandokunetwork_stuff:arista:mpls [2026/03/15 00:06] (current) jotasandoku
Line 123: Line 123:
              
   traceroute mpls ldp ip 10.0.0.1/32    # this shows the swapping of the transport label   traceroute mpls ldp ip 10.0.0.1/32    # this shows the swapping of the transport label
-  show mpls ldp neighbord    # luk lesson 2.3+  show mpls ldp neighbor    # luk lesson 2.3
   show mpls ldp bindings     # luk lesson 2.3   show mpls ldp bindings     # luk lesson 2.3
      
Line 129: Line 129:
 ---- ----
  
-###MPLS SEGMENT ROUTING - SR-MPLS###+===MPLS SEGMENT ROUTING - SR-MPLS=== 
 +== Modes: shortest-path , explicit , PCE(controller)== 
 +In the **shortest-path mode the label encodes the destination it stays __the same__ (the last router label) the entire journey. Eg: P2 router receives the last router's label (doesn't change) looks it up in its LFIB, finds "next hop toward the last router is P3, outgoing label (same label)", forwards it. Each P router has a LFIB that __has been synchronized via ISIS__ so they know what is the next hop as soon as they check the label** 
 + 
 +\\ 
 + 
 +Configure explicit TE: 
 + 
 +  PE1 
 +  management te 
 +  mpls traffic-eng 
 +   
 +  router traffic-engineering 
 +     segment-routing 
 +        policy endpoint 10.0.0.6 color 100 
 +           name TO-PE2-EXPLICIT 
 +           binding-sid 1000100 
 +           path-group preference 100 
 +              segment-list label-stack 900007 900008 900009 900010 900006 
 +   
 +  route-map SET-COLOR-100 permit 10 
 +     set extcommunity color 100 
 +   
 +  router bgp 65001 
 +     neighbor 10.0.0.6 route-map SET-COLOR-100 in 
 +   
 +  show traffic-engineering segment-routing policy 
 +  Endpoint 10.0.0.6 Color 100, Name: TO-PE2-EXPLICIT, Counters: not available 
 +          Path group: State: active (for 00:02:05), modified: 00:02:05 ago 
 +                  Protocol: Static 
 +                  Originator: 0.0.0.0(AS0) 
 +                  Preference: 100 
 +                  IGP metric: 0 (static) 
 +                  Binding SID: 1000100 
 +                  Explicit null label policy: IPv6 (system default) 
 +                  Segment List: State: Valid, ID: 1, Counters: not available 
 +                  Protected: No, Reason: The top label is not protected 
 +                          Label Stack: [900007 900008 900009 900010 900006], Weight: 1 
 +                          Resolved Label Stack: [900008 900009 900010 900006], Next hop: 10.1.0.2, Interface: Ethernet1 
 +   
 +  show traffic-engineering segment-routing policy 
 +  show isis segment-routing prefix-segments 
 +  show ip route vrf t1 172.16.1.0/24 detail
  
   <ios-xr commands>   <ios-xr commands>
Line 135: Line 177:
   show segment-routing traffic-eng  policy summary   show segment-routing traffic-eng  policy summary
   show source-routing sr-te policy color 100 endpoint <IP> detail   show source-routing sr-te policy color 100 endpoint <IP> detail
-show segment-routing traffic-eng  policy endpoint ipv4+  show segment-routing traffic-eng  policy endpoint ipv4
network_stuff/arista/mpls.1773522173.txt.gz · Last modified: by jotasandoku