[c-nsp] CSC (carrier supporting carrier) - IOS and IOS XR differences

Aaron aaron1 at gvtc.com
Fri Feb 27 08:21:56 EST 2015


Thought I'd share.(since I had a hard time finding CSC configs and
instructions online..)

 

I see on my backbone carrier PE's (interfaces facing customer carrier ce's)
that there was a difference between IOS and IOS XR ..surprise surprise J

 

------------------------------------------------------------------------

 

On one side of my backbone carrier cloud I have an IOS PE..it faces a
Customer Carrier CE 192.168.11.2.

 

Network is..

192.168.11.2 (ce)-------------(pe)R14--------p-------p---------
R7-xr53(pe)-------------(ce)192.168.10.2

 

IOS.

 

R14#sh run in g4/0

 

interface GigabitEthernet4/0

ip vrf forwarding csc1

ip address 192.168.11.1 255.255.255.0

negotiation auto

mpls ldp discovery transport-address interface

mpls ip

 

 

R14#sh mpls ldp discovery vrf csc1

Local LDP Identifier:

    192.168.11.1:0

    Discovery Sources:

    Interfaces:

        GigabitEthernet4/0 (ldp): xmit/recv

            LDP Id: 192.168.111.254:0; IP addr: 192.168.11.2

 

------------------------------------------------------------------------

 

..on the other side of my backbone carrier cloud I have an IOS XR PE..it
faces this Customer Carrier CE 192.168.10.2.

 

IOS XR.

 

RP/0/0/CPU0:R7-xr53#sh run int g0/0/0/3

interface GigabitEthernet0/0/0/3

vrf csc1

ipv4 address 192.168.10.1 255.255.255.0

 

*** CONFIG WHEN IT WAS BROKEN (unable to establish per-vrf (csc) LDP
neighbor state)

 

RP/0/0/CPU0:R7-xr53#sh run mpls

mpls ldp

router-id 10.0.0.7

interface GigabitEthernet0/0/0/0

!

vrf csc1

  address-family ipv4

  !

  interface GigabitEthernet0/0/0/3

   address-family ipv4

    discovery transport-address interface

 

*** discovery state while broken.

 

RP/0/0/CPU0:R7-xr53#sh mpls ldp vrf csc1 discovery

Thu Feb 26 16:53:14.299 UTC

 

Local LDP Identifier: 0.0.0.0:0

Discovery Sources:

  Interfaces:

    GigabitEthernet0/0/0/3 : xmit

      VRF: 'csc1' (0x60000002)

 

*** the only thing I could think of was that the lsr needed a Local LDP IP
in order to fire off the ldp hello.. Seems that I was on to something..

 

*** debugging on the Customer Carrier CE box at 192.168.10.2 I saw.. (no
RCVD hellos until I config'd the LDP vrf specific RID on the PE..

 

..did this on PE

 

RP/0/0/CPU0:R7-xr53(config-ldp-vrf)#show

Thu Feb 26 16:54:03.656 UTC

mpls ldp

vrf csc1

  router-id 192.168.10.1

 

.then I saw the following debugs on CE..

 

*Feb 26 16:53:25.435: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:53:30.027: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:53:34.407: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:53:38.451: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:53:43.163: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:53:47.835: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:53:52.243: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:53:56.027: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:54:00.507: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

csc1-R1#

*Feb 26 16:54:05.187: ldp: Send ldp hello; GigabitEthernet4/0, src/dst
192.168.10.2/224.0.0.2, inst_id 0

*Feb 26 16:54:06.715: ldp: Rcvd ldp hello; GigabitEthernet4/0, from
192.168.10.1 (192.168.10.1:0), intf_id 0, opt 0xC

*Feb 26 16:54:06.719: ldp: ldp Hello from 192.168.10.1 (192.168.10.1:0) to
224.0.0.2, opt 0xC

*Feb 26 16:54:06.719: ldp: New adj 0x635DF854 for 192.168.10.1:0,
GigabitEthernet4/0

*Feb 26 16:54:06.719: ldp:      adj_addr/xport_addr
192.168.10.1/192.168.10.1

*Feb 26 16:54:06.723: ldp: local idb = GigabitEthernet4/0, holdtime = 15000,
peer 192.168.10.1 holdtime = 15000

*Feb 26 16:54:06.723: ldp: Link intvl min cnt = 2, intvl = 5000, idb =
GigabitEthernet4/0

*Feb 26 16:54:06.723: ldp: Opening ldp conn; adj 0x635DF854, 192.168.10.2
<-> 192.168.10.1; with normal priority

*Feb 26 16:54:06.727: ldp: Found adj 0x635DF854 for 192.168.10.1 (Hello
xport addr opt)

*Feb 26 16:54:06.727: ldp: MD5 setup for neighbor 192.168.10.1; password
changed to [nil]

*Feb 26 16:54:06.7

 

 

End result on PE.  

 

RP/0/0/CPU0:R7-xr53#sh run mpls

mpls ldp

router-id 10.0.0.7

interface GigabitEthernet0/0/0/0

!

vrf csc1

  router-id 192.168.10.1

  address-family ipv4

  !

  interface GigabitEthernet0/0/0/3

   address-family ipv4

    discovery transport-address interface

 



More information about the cisco-nsp mailing list