[c-nsp] Segment Routing

Mohammad Khalil eng_mssk at hotmail.com
Tue Jan 3 09:25:31 EST 2017


Hi all

I have simulated (let us call it basic segment routing) using the below simple topology:


R1 -- CSR1 -- CSR2 -- CSR3 -- R2


Ping from R1 to R2 (CE to CE connectivity):


R1#ping 192.168.203.20
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.203.20, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


CSR1#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         No Label   192.168.101.0/24[V]   \
                                       0             aggregate/MSSK
CSR2#show mpls forwarding-table
no MPLS apps enabled or MPLS not enabled on any interfaces

CSR3#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         No Label   192.168.203.0/24[V]   \
                                       0             aggregate/MSSK

CSR1:
segment-routing mpls
 connected-prefix-sid-map
  address-family ipv4
   1.1.1.1/32 index 100
  exit-address-family

router isis 1
segment-routing mpls

CSR2:
segment-routing mpls
 connected-prefix-sid-map
  address-family ipv4
   2.2.2.2/32 index 200
  exit-address-family

router isis 1
segment-routing mpls

CSR3:
segment-routing mpls
 connected-prefix-sid-map
  address-family ipv4
   3.3.3.3/32 index 300
  exit-address-family

router isis 1
segment-routing mpls


CSR1#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         No Label   192.168.101.0/24[V]   \
                                       570           aggregate/MSSK
17         Pop Label  0000.0000.0002-Gi1-192.168.12.2   \
                                       0             Gi1        192.168.12.2
16200      Pop Label  2.2.2.2/32       0             Gi1        192.168.12.2
16300      16300      3.3.3.3/32       0             Gi1        192.168.12.2


CSR2#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         Pop Label  0000.0000.0001-Gi1-192.168.12.1   \
                                       0             Gi1        192.168.12.1
17         Pop Label  0000.0000.0003-Gi2-192.168.23.3   \
                                       0             Gi2        192.168.23.3
16100      Pop Label  1.1.1.1/32       1098          Gi1        192.168.12.1
16300      Pop Label  3.3.3.3/32       1098          Gi2        192.168.23.3


CSR3#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         No Label   192.168.203.0/24[V]   \
                                       570           aggregate/MSSK
17         Pop Label  0000.0000.0002-Gi1-192.168.23.2   \
                                       0             Gi1        192.168.23.2
16100      16100      1.1.1.1/32       0             Gi1        192.168.23.2
16200      Pop Label  2.2.2.2/32       0             Gi1        192.168.23.2


CSR1#show ip cef 3.3.3.3/32
3.3.3.3/32
  nexthop 192.168.12.2 GigabitEthernet1 label 16300()

CSR3#show ip cef 1.1.1.1/32
1.1.1.1/32
  nexthop 192.168.23.2 GigabitEthernet1 label 16100()


R1#ping 192.168.203.20
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.203.20, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/56/72 ms


CSR1#show isis segment-routing
 ISIS protocol is registered with MFI
 ISIS MFI Client ID:0x63
 Tag 1 - Segment-Routing:
   SR State:SR_ENABLED
   Number of SRGB:1
   SRGB Start:16000, Range:8000, srgb_handle:0x7F25A007F490, srgb_state: created
   Address-family IPv4 unicast SR is configured
     Operational state:Enabled
     Receive is enabled
     Advertise local is disabled
     Explicit null is disabled
     SR label preferred is disabled

CSR3#show isis segment-routing
 ISIS protocol is registered with MFI
 ISIS MFI Client ID:0x63
 Tag 1 - Segment-Routing:
   SR State:SR_ENABLED
   Number of SRGB:1
   SRGB Start:16000, Range:8000, srgb_handle:0x7FBE8DB056F8, srgb_state: created
   Address-family IPv4 unicast SR is configured
     Operational state:Enabled
     Receive is enabled
     Advertise local is disabled
     Explicit null is disabled
     SR label preferred is disabled

CSR1#show segment-routing mpls state
 Segment Routing MPLS State : ENABLED

CSR3#show segment-routing mpls state
 Segment Routing MPLS State : ENABLED


I will try to search for traffic engineering using SR


BR,

Mohammad


________________________________
From: cisco-nsp <cisco-nsp-bounces at puck.nether.net> on behalf of Patrick Cole <z at amused.net>
Sent: Sunday, January 1, 2017 5:56 AM
To: CiscoNSP List
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] Segment Routing

Hijacking this thread for some additional related questions;

I've seen may be support for SR with ISIS on IOS-XE, but I've found
no info on being able to actually do SR TE (eg actually creating tunnels
using a SR engineered path).  Does anyone know if this is supported
or is it just IOS XR at this stage?  Any timelines if not?

Patrick

Sat, Dec 31, 2016 at 09:42:02PM +0000, CiscoNSP List wrote:


> Hi Everyone,
>
>
> Been doing a bit of reading on segment routing, and on paper it looks very interesting - Just wondering if anyone has deployed it, and what their experiences with it are?
>
>
> Coestinence with LDP is certainly a plus as migration from LDP->SR would be "easier"...theoretically, as Ive not used it yet ;)
>
>
> Cheers
>
>
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
cisco-nsp Info Page - puck.nether.net<https://puck.nether.net/mailman/listinfo/cisco-nsp>
puck.nether.net
cisco-nsp -- list for people using cisco in a NSP (Network service provider) environment About cisco-nsp


> archive at http://puck.nether.net/pipermail/cisco-nsp/
>

--
Patrick Cole <z at wwwires.com>
Senior Network Specialist
World Without Wires
PO Box 869. Palm Beach, QLD, 4221
Ph:  0410 626 630
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
cisco-nsp Info Page - puck.nether.net<https://puck.nether.net/mailman/listinfo/cisco-nsp>
puck.nether.net
cisco-nsp -- list for people using cisco in a NSP (Network service provider) environment About cisco-nsp


archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list