[c-nsp] show mBGP vpn advertized routes

Sergio D. sdanelli at gmail.com
Tue Feb 24 21:42:24 EST 2009


You can look at the BGP rib to see what label is assigned:
7200-UT02>sh bgp vpnv4 unicast vrf vrfData x.x.x.x/29
BGP routing table entry for 100:1:x.x.x.x/29, version 916
Paths: (2 available, best #1, table vrfData)
  Advertised to update-groups:
     1          2          3
  Local
    10.128.90.2 from 0.0.0.0 (10.0.0.5)
      Origin incomplete, metric 20, localpref 100, weight 32768,
valid, sourced, best
      Extended Community: RT:100:1 OSPF DOMAIN ID:0x0005:0x000000650200
        OSPF RT:0.0.0.0:5:1 OSPF ROUTER ID:x.x.x.x:0
      mpls labels in/out *335*/nolabel




====================================================================================================================================================================

Hi,Is there any way to show some meaningful info on what  Cisco is
advertising to its vpnv4 peers.

This is what I have:
router_1 #show bgp vpnv4 unicast all neighbors 192.1.0.2 advertised-routes
BGP table version is 1926, local router ID is 1.1.1.1
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
Route Distinguisher: 1:0 (default for vrf ipvpn_1) VRF Router ID 191.1.0.1
*> 191.1.0.0/24     0.0.0.0                  0         32768 ?


I'd like to see the label that is advertised along with this route.
For example this route is advertised from a CE side to the PE, and it's
label is 20 and also the next hop is 1.1.1.1 (and not 0.0.0.0 as it is shown
here - is this a bug?).

Juniper has such nice output for a similar command, a lots of details on
what is getting advertised.

Anyone knows?
Thanks,
Marlon



-- 
Sergio Danelli
JNCIE #170


More information about the cisco-nsp mailing list