[j-nsp] BGP advertisements not making it

Jim Devane jdevane at switchnap.com
Fri Jul 30 23:45:01 EDT 2010


Diogo,

Thanks. The only community is the xxxxx:5060 (see below) I belive it is bcuase there is another route with out the community which appears to be the best route. I will track down that route and make sure they both have the pass community and see if that gets it going.

Thanks you for your response!!!

Jim 



admin at LAS-Border-04# run show route 64.187.209.0/24 detail 

inet.0: 326432 destinations, 687056 routes (320676 active, 3 holddown, 366116 hidden)
x.x.209.0/24 (3 entries, 1 announced)
        *OSPF   Preference: 150
                Next hop type: Router, Next hop index: 571
                Next-hop reference count: 1453
                Next hop: a.a.64.69 via xe-0/1/0.0, selected
                State: <Active Int Ext>
                Local AS: xxxxx 
                Age: 3d 14:44:43        Metric: 20      Tag: 0 
                Task: OSPF
                Announcement bits (4): 0-KRT 4-LDP 6-RT 7-Resolve tree 2 
                AS path: I
                AS path: Recorded
         BGP    Preference: 170/-101
                Next hop type: Indirect
                Next-hop reference count: 4
                Source: a.a.84.13
                Next hop type: Router
                Next hop: a.a.64.69 via xe-0/1/0.0, selected
                Label operation: Push 25
                Protocol next hop: a.a.64.194
                Indirect next hop: c9f23c0 -
                State: <Int Ext>
                Inactive reason: Route Preference
                Local AS: xxxxx Peer AS: xxxxx
                Age: 4d 20:30:25        Metric: 20      Metric2: 1 
                Task: BGP_xxxxx.a.a.84.13+zzzzz
                AS path: I
                AS path: Recorded
                Accepted
                Localpref: 100
                Router ID: a.a.84.13
         BGP    Preference: 170/-101
                Next hop type: Indirect
                Next-hop reference count: 5
                Source: a.a.84.14
                Next hop type: Router, Next hop index: 736
                Next hop: a.a.64.69 via xe-0/1/0.0, selected
                Protocol next hop: a.a.64.154
                Indirect next hop: c9f2f00 -
                State: <NotBest Int Ext>
                Inactive reason: Not Best in its group - Router ID
                Local AS: xxxxx Peer AS: xxxxx
                Age: 5:06:56    Metric: 20      Metric2: 1 
                Task: BGP_xxxxx.a.a.84.14+179
                AS path: I
                AS path: Recorded
                Communities: xxxxx:5060
                Accepted
                Localpref: 100
                Router ID: a.a.84.14

inet.3: 484 destinations, 484 routes (484 active, 0 holddown, 0 hidden)

x.x.209.0/24 (1 entry, 1 announced)
        State: <FlashAll>
        *LDP    Preference: 9
                Next hop type: Router
                Next-hop reference count: 3
                Next hop: a.a.64.69 via xe-0/1/0.0, selected
                Label operation: Push 77
                State: <Active Int>
                Local AS: xxxxx 
                Age: 3d 14:37:46        Metric: 1 
                Task: LDP
                Announcement bits (2): 2-Resolve tree 1 3-Resolve tree 2 
                AS path: I
                AS path: Recorded

[edit]
admin at LAS-Border-04#
-----Original Message-----
From: Diogo Montagner [mailto:diogo.montagner at gmail.com] 
Sent: Friday, July 30, 2010 7:13 PM
To: Jim Devane
Cc: juniper-nsp at puck.nether.net
Subject: Re: [j-nsp] BGP advertisements not making it

HI Jim,

could you please send the output of show route x.x.209.0/24 detail ?

I think x.x.209.0/24 also have the community 5061 and because this it
is being denied by the first term.

Thanks
./diogo -montagner



On Sat, Jul 31, 2010 at 7:57 AM, Jim Devane <jdevane at switchnap.com> wrote:
> MX 480
> 10.0R2
>
> Filtering BGP by community. Advertisements with a "pass" community are allowed to pass. It is working for the most part. I have a new advertisement with the pass community but it is not making it out. I have soft cleared several time and I still don't see it in the wild. Any thoughts on what I am missing? Hoping it doesn't need a hard clear etc.
>
> Thanks,
> Jim
>
>
> netops at Border-04# run show route community xxxxx:5060 | match x.x.209.0
> x.x.209.0/24     [BGP/170] 00:28:29, MED 20, localpref 100, from x.x.84.14
>
> [edit]
> netops@ Border-04# run show route advertising-protocol bgp y.y.10.173 x.x.209.0
>
> [edit]
> netops@ Border-04# run show route community xxxxx:5062 | match x.x.209.0
>
> [edit]
> netops@ Border-04#
>
> bgp {
>        mtu-discovery;
>        log-updown;
>        group AS701-VZB {
>            type external;
>            import VZB-in;
>            remove-private;
>            peer-as 701;
>            neighbor x.x.10.173 {
>                import VZB-in;
>                export VZB-out;
>            }
>
> policy-statement VZB-out {
>        term 1 {
>            from community [ VZB-deny ];
>            then reject;
>        }
>        term 2 {
>            from community VZB-permit;
>            then accept;
>        }
>    }
>    community VZB-deny members xxxxx:5061;
>    community VZB-permit members xxxxx:5060;
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>



More information about the juniper-nsp mailing list