[c-nsp] aggregate lfib entry - what is the actual prefix ?

Aaron aaron1 at gvtc.com
Fri Feb 13 09:27:38 EST 2015


Are you sure it doesn't map to a particular prefix ?  I just found this.
This seems to be what it maps to...the aggregate route that I config'd
within bgp vrf test.

The thought occurred to me that since bgp is an integral part of the vrf and
the label advertisement is part of the MP-iBGP NLRI that this might/should
be found within bgp... so I think I found that label and where it maps to
bgp/mpls... "sh bgp vpnv4 unicast labels"

Aaron


RP/0/0/CPU0:R8-xr#sh mpls for | in test
16082  Aggregate   test: Per-VRF Aggr[V]   \
                                      test                         0

RP/0/0/CPU0:R8-xr#sh bgp vpnv4 unicast labels | in 16082
*> 192.168.0.0/16     0.0.0.0         nolabel         16082
* i                   10.0.0.5        23              16082

RP/0/0/CPU0:R8-xr#sh run router bgp | in aggr
   aggregate-address 192.168.0.0/16 summary-only


details...

RP/0/0/CPU0:R8-xr#sh run router bgp 65535 vrf test
router bgp 65535
 vrf test
  rd 10.0.0.8:1
  address-family ipv4 unicast
   aggregate-address 192.168.0.0/16 summary-only
  !
  neighbor 2.2.1.1
   remote-as 123
   local-as 12345 no-prepend replace-as
   address-family ipv4 unicast
    route-policy ipv4-allow-in in
    route-policy ipv4-allow-out out
   !
  !
 !
!



-----Original Message-----
From: Lukas Tribus [mailto:luky-37 at hotmail.com] 
Sent: Friday, February 13, 2015 8:06 AM
To: Aaron; cisco-nsp at puck.nether.net
Subject: RE: [c-nsp] aggregate lfib entry - what is the actual prefix ?

> Does anyone know how to find out what ip prefix is represented here in 
> the following mpls lfib table output ? The prefix is shown as vpn/vrf 
> "test" as a per-vrf aggregate.. But how do I know what ip prefix this
really is ?

It isn't. Its a per-vrf aggregate label period. That means that incoming
traffic with that label makes one lfib lookup to find the VRF and one fib
(ip) lookup to find the interface and next-hop.




More information about the cisco-nsp mailing list