[j-nsp] Missing BGP Routes

Eric Van Tol eric at atlantech.net
Tue Mar 17 13:36:45 EDT 2009


> -----Original Message-----
> From: Danny McPherson [mailto:danny at tcb.net]
> Sent: Tuesday, March 17, 2009 1:23 PM
> To: Eric Van Tol
> Subject: Re: [j-nsp] Missing BGP Routes
> 
> 
> Can you send the BGP configs from the client, the
> RR, and the non-receiving router?  Also, a sh route
> with detail for any one of the specific prefixes
> that are not showing up?
> 
> -danny

RR Client is not Juniper - it's an MRV Optiswitch.  Similar to IOS.

router bgp 1234
 bgp router-id 192.168.205.51
 bgp always-compare-med
 no bgp client-to-client reflection
 bgp cluster-id 192.168.205.51
 redistribute connected route-map bgp-redist-conn
 redistribute static route-map bgp-redist-stat
 neighbor RR-Clients peer-group
 neighbor RR-Clients remote-as 1234
 neighbor RR-Clients update-source dummy1
 neighbor RR-Clients route-reflector-client
 neighbor 192.168.205.50 remote-as 1234
 neighbor 192.168.205.50 update-source dummy1
 neighbor 192.168.205.52 peer-group RR-Clients
 neighbor 192.168.205.53 peer-group RR-Clients
 neighbor 192.168.205.54 peer-group RR-Clients
 neighbor 192.168.205.55 peer-group RR-Clients
 neighbor 192.168.205.56 peer-group RR-Clients
 neighbor 192.168.205.57 peer-group RR-Clients
 neighbor 192.168.205.58 peer-group RR-Clients
 neighbor 192.168.205.59 peer-group RR-Clients
 neighbor 192.168.206.129 remote-as 1234
 neighbor 192.168.206.129 update-source dummy1

gsw1# sh ip bgp neighbors 192.168.206.129 advertised-routes 
BGP table version is 0, local router ID is 192.168.205.51
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 172.16.234.0/25 192.168.205.54           0    100      0 i
*> 172.16.236.0/27 192.168.205.55           0    100      0 i
*> 172.16.236.32/28
                    192.168.205.55           0    100      0 i
*> 172.16.236.48/30
                    192.168.205.56           0    100      0 i
*> 172.16.236.144/28
                    192.168.205.55           0    100      0 i
*> 172.16.237.128/25
                    192.168.205.56           0    100      0 i
*> 172.16.239.224/27
                    192.168.205.51           0    100  32768 i

Total number of prefixes 7


Non-working router: 

edge01> show configuration protocols bgp group ibgp | display inheritance
type internal;
local-address 192.168.206.128;
authentication-key "blahblahblah"; ## SECRET-DATA
export internal-bgp;
peer-as 1234;
neighbor 192.168.206.129;
neighbor 192.168.205.6;
neighbor 192.168.205.5;

edge01> show configuration policy-options policy-statement internal-bgp 
term seq-deny-bogons {
    from {
        protocol bgp;
        community blackhole;
    }
    then reject;
}
term seq0 {
    from protocol bgp;
    then accept;
}

edge01> show configuration policy-options community blackhole 
members 1234:666;

Working router:
edge01> show configuration protocols bgp group ibgp | display inheritance
type internal;
local-address 192.168.206.129;
authentication-key "blahblahblah"; ## SECRET-DATA
export internal-bgp;
peer-as 1234;
neighbor 192.168.206.128;
neighbor 192.168.205.6;
neighbor 192.168.205.5;

edge01> show configuration policy-options policy-statement internal-bgp 
term seq-deny-bogons {
    from {
        protocol bgp;
        community blackhole;
    }
    then reject;
}
term seq0 {
    from protocol bgp;
    then accept;
}

edge01> show configuration policy-options community blackhole 
members 1234:666;

Here's the 'show route detail' on one of the routes.

edge02> show route detail table inet.0 172.16.236.0/27 

inet.0: 280578 destinations, 1146876 routes (279616 active, 0 holddown, 2037 hidden)
Restart Complete
172.16.236.0/27 (1 entry, 1 announced)
        *BGP    Preference: 170/-101
                Next hop type: Indirect
                Next-hop reference count: 9
                Source: 192.168.205.51
                Next hop type: Router, Next hop index: 726
                Next hop: 192.168.206.26 via ge-0/3/1.0, selected
                Protocol next hop: 192.168.205.55
                Indirect next hop: 11245000 262163
                State: <Active Int Ext>
                Local AS:  1234 Peer AS:  1234
                Age: 1d 0:46:49         Metric: 0       Metric2: 12 
                Task: BGP_1234.192.168.205.51+179
                Announcement bits (4): 0-KRT 2-RT 5-BGP RT Background 6-Resolve tree 1 
                AS path: I (Originator) Cluster list:  192.168.205.51
                AS path:  Originator ID: 192.168.205.55
                Communities: 64619:25006
                Localpref: 100
                Router ID: 192.168.205.51


More information about the juniper-nsp mailing list