cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3008
Views
0
Helpful
5
Replies

CEF unresolved

Purwo Hidayat
Level 1
Level 1

Hi All,

 

I have created a BGP-LU inter-domain within the same AS on my lab.

The topology is:

CE1 |----------------| PE1 |----------------| P1 |----------------| ABR1 |----------------| ABR2 |----------------| P2 |----------------| PE2 |----------------| CE2

 

I use static route between ABR1 & ABR2 to reach each loopback interfaces. I use loopback as BGP source.

On ABR2, i have route to 2.2.2.2(PE2) from 4.4.4.4(ABR1) as expected but the cef is unresolved :(.

router bgp 2
 bgp router-id 5.5.5.5
 address-family ipv4 unicast
  redistribute ospf 1 match internal route-policy IP-loopback-to-asbr2  ==> contains loopbacks P2 & PE2
  allocate-label all
 !
 address-family vpnv4 unicast
 !
 neighbor 4.4.4.4
  remote-as 2
  update-source Loopback0
  address-family ipv4 labeled-unicast
   route-policy rp-in in
   route-policy rp-out out
   next-hop-self
  !
 !
 neighbor 6.6.6.6
  remote-as 2
  update-source Loopback0
  address-family ipv4 labeled-unicast
   route-reflector-client
  !
  address-family vpnv4 unicast
   route-reflector-client
  !
 !
 neighbor 7.7.7.7
  remote-as 2
  update-source Loopback0
  address-family vpnv4 unicast
  !
 !

 

ABR1 is juniper.

What could be the problem here?

RP/0/RP1/CPU0:ASBR2-CRS1#sh route 2.2.2.2 detail
Sun Dec 14 03:02:05.740 UTC

Routing entry for 2.2.2.2/32
  Known via "bgp 2", distance 200, metric 2, [ei]-bgp, type internal
  Installed Dec 14 01:52:35.410 for 01:09:30
  Routing Descriptor Blocks
    4.4.4.4, from 4.4.4.4
      Route metric is 2
      Label: 0x49590 (300432)
      Tunnel ID: None
      Extended communities count: 0
  Route version is 0x4 (4)
  Local Label: 0x3e84 (16004)
  IP Precedence: Not Set
  QoS Group ID: Not Set
  Route Priority: RIB_PRIORITY_RECURSIVE (10) SVD Type RIB_SVD_TYPE_LOCAL
 Download Priority 4, Download Version 195
  No advertising protos.
RP/0/RP1/CPU0:ASBR2-CRS1#
RP/0/RP1/CPU0:ASBR2-CRS1#sh cef 2.2.2.2 detail
Sun Dec 14 03:02:14.372 UTC
2.2.2.2/32, version 195, drop adjacency, internal 0x14004001 (ptr 0x9daa578c) [1], 0x0 (0x9d556eec), 0x10 (0x9dbcc118)
 Updated Dec 14 01:52:35.427
 Prefix Len 32, traffic index 0, precedence routine (0), priority 4
  gateway array (0x9d37376c) reference count 3, flags 0xf2, source rib (5), 0 backups
                [2 type 5 flags 0x210101 (0x9dbfe488) ext 0x0 (0x0)]
  LW-LDI[type=5, refc=3, ptr=0x9d556eec, sh-ldi=0x9dbfe488]
   via 4.4.4.4, 0 dependencies, recursive [flags 0x6000]
    path-idx 0 [0x9ceac1dc 0x0]
    unresolved
     local label 16004
     labels imposed {300432}


    Load distribution: 0 (refcount 2)

    Hash  OK  Interface                 Address
    0     Y   Unknown                   drop           
RP/0/RP1/CPU0:ASBR2-CRS1#
RP/0/RP1/CPU0:ASBR2-CRS1#sh cef 4.4.4.4 detail
Sun Dec 14 03:02:26.737 UTC
4.4.4.4/32, version 58, internal 0x4004001 (ptr 0x9daa5864) [1], 0x0 (0x9d55675c), 0x440 (0x9dbcc0f0)
 Updated Dec 14 01:50:11.479
 remote adjacency to GigabitEthernet0/1/1/0
 Prefix Len 32, traffic index 0, precedence routine (0), priority 3
  gateway array (0x9d37302c) reference count 2, flags 0x400d0, source lsd (3), 1 backups
                [3 type 4 flags 0x410101 (0x9dbfe2d8) ext 0x0 (0x0)]
  LW-LDI[type=1, refc=1, ptr=0x9d55675c, sh-ldi=0x9dbfe2d8]
   via 192.168.45.4, GigabitEthernet0/1/1/0, 4 dependencies, weight 0, class 0 [flags 0x0]
    path-idx 0 [0x9dd5513c 0x0]
    next hop 192.168.45.4
    remote adjacency
     local label 16003      labels imposed {None}


    Load distribution: 0 (refcount 3)

    Hash  OK  Interface                 Address
    0     Y   GigabitEthernet0/1/1/0    remote         
RP/0/RP1/CPU0:ASBR2-CRS1#
RP/0/RP1/CPU0:ASBR2-CRS1#sh cef
Sun Dec 14 03:04:58.383 UTC

Prefix              Next Hop            Interface
0.0.0.0/0           drop                default handler
0.0.0.0/32          broadcast
2.2.2.2/32          4.4.4.4 (?)         <recursive>
3.3.3.3/32          4.4.4.4 (?)         <recursive>
4.4.4.4/32          192.168.45.4        GigabitEthernet0/1/1/0
5.5.5.5/32          receive             Loopback0
6.6.6.6/32          192.168.56.6        GigabitEthernet0/1/1/1
7.7.7.7/32          192.168.56.6        GigabitEthernet0/1/1/1
127.0.0.0/8         receive
192.168.45.0/24     attached            GigabitEthernet0/1/1/0
192.168.45.0/32     broadcast           GigabitEthernet0/1/1/0
192.168.45.5/32     receive             GigabitEthernet0/1/1/0
192.168.45.255/32   broadcast           GigabitEthernet0/1/1/0
192.168.56.0/24     attached            GigabitEthernet0/1/1/1
192.168.56.0/32     broadcast           GigabitEthernet0/1/1/1
192.168.56.5/32     receive             GigabitEthernet0/1/1/1
192.168.56.255/32   broadcast           GigabitEthernet0/1/1/1
192.168.67.0/24     192.168.56.6        GigabitEthernet0/1/1/1
224.0.0.0/4         point2point         
224.0.0.0/24        receive
255.255.255.255/32  broadcast
RP/0/RP1/CPU0:ASBR2-CRS1#
RP/0/RP1/CPU0:ASBR2-CRS1#sh bgp ipv4 labeled-unicast
Sun Dec 14 03:09:20.855 UTC
BGP router identifier 5.5.5.5, local AS number 2
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0xe0000000   RD version: 81
BGP main routing table version 81
BGP scan interval 60 secs

Status codes: s suppressed, d damped, h history, * valid, > best
              i - internal, r RIB-failure, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network            Next Hop            Metric LocPrf Weight Path
*>i2.2.2.2/32         4.4.4.4                  2    100      0 i
*>i3.3.3.3/32         4.4.4.4                  2    100      0 i
*> 6.6.6.6/32         192.168.56.6             1         32768 ?
*> 7.7.7.7/32         192.168.56.6             2         32768 ?

Processed 4 prefixes, 4 paths
RP/0/RP1/CPU0:ASBR2-CRS1#

 

Best regards,

Purwo

1 Accepted Solution

Accepted Solutions

router bgp 2

 mpls activate

  interface GigabitEthernet0/1/1/0

View solution in original post

5 Replies 5

router bgp 2

 mpls activate

  interface GigabitEthernet0/1/1/0

Hi Florian,

 

Its work....

thank you very much....

i did not find these command in unified mpls reference.

 

Best regard,

Purwo H

kyawmyooo
Level 1
Level 1

Still not resolved even that command executed!

kyawmyooo
Level 1
Level 1

Topology is just like below;

PA|-------|PE1|--------|PE2|

3 routers are in MP-BGP VPNv4 domain.PE1 can ping to network behind PA but  On PE2, i have route to 10.54.166.164 from PA as expected but the cef is unresolved and Address is drop.

sh cef vrf HSI 10.54.166.164 detail
Fri Jun 22 11:22:26.297 YGN
10.54.166.164/30, version 4386601, internal 0x5000001 0x0 (ptr 0x72743ec8) [1], 0x0 (0x0), 0x208 (0x71f25800)
Updated Jun 21 15:49:55.405
Prefix Len 30, traffic index 0, precedence n/a, priority 3
gateway array (0x71aea608) reference count 13, flags 0x403a, source rib (7), 0 backups
[1 type 1 flags 0x148441 (0x71f56790) ext 0x0 (0x0)]
LW-LDI[type=0, refc=0, ptr=0x0, sh-ldi=0x0]
gateway array update type-time 3 Jun 22 11:22:19.207
LDI Update time May 16 11:42:21.411
via 10.200.132.19/32, 0 dependencies, recursive [flags 0x6000]
path-idx 0 NHID 0x0 [0x71364468 0x0]
recursion-via-/32
next hop VRF - 'default', table - 0xe0000000
unresolved
labels imposed {62}


Load distribution: 0 (refcount 1)

Hash OK Interface Address
0 Y Unknown drop






Hello,

You have recursive route via 10.200.132.19/32. Chances are that this route/CEF is not in the table thus parent route also can not be resolved. Pls check it.
sh route 10.200.132.19/32
sh cef 10.200.132.19/32 det
sh cef vrf vrf HSI 10.200.132.19/32 det
Other option - as this labeled route, that correct local/remote binding is not installed for parent route/recursive NH. Pls verify it as well.
sh mpls ldp bindings x.x.x.x/y

Niko
HTH,
Niko
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: