[j-nsp] "low route" with BGP examples?

dmitri at nominet.org.uk dmitri at nominet.org.uk
Tue Oct 18 05:32:48 EDT 2005


Hi Rafal,

This is what I have:

routing-options {
    flow {
        route test-flow-route {
            match source 10.0.0.1/32;
            then discard;
        }
        route test-flow-route-2 {
            match source 10.10.10.0/24;
            then discard;
        }
    }
}
protocols {
    bgp {
        family inet {
            unicast;
            flow;
        }
        group TEST {
            type external;
            description "Test peering with ref-gw";
            multihop {
                ttl 255;
            }
            export iana-reserved;
            peer-as 65002;
            neighbor 192.168.2.2;
            }
        }
    }
}

>show route inetflow.0

inetflow.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

*,10.10.10/24/40
                   *[Flow/5] 17:40:51
                      Fictitious
*,10.0.0.1/48
                   *[Flow/5] 22:27:57
                      Fictitious

And still I don't see any flow routes been advertised

>show route advertising-protocol bgp 192.168.2.2 all

inet.0: 15 destinations, 15 routes (11 active, 0 holddown, 4 hidden)
  Prefix                  Nexthop              MED     Lclpref    AS path
* 10.0.0.0/8              Self                                    I
* 169.254.0.0/16          Self                                    I
* 172.16.0.0/12           Self                                    I
* 192.0.2.0/32            Self                                    I


What am I doing wrong?

Regards
Dmitri

"Rafal Szarecki (WA/EPO)" <rafal.szarecki at ericsson.com> wrote on 
18/10/2005 10:01:26:

> Dmitri,
> 
> This is like any other case with BGP. You has to:
> 1) creat flow route
> http://www.juniper.net/techpubs/software/junos/junos73/swconfig73-
> routing/html/routing-tables-config52.html
> 
> 2)I belive you do not need to create export policy, but not sure ...
> 
> 3)Set MP-BGP to propagate flow AF:
> "set protocols bgp group group-name family inet flow"
> http://www.juniper.net/techpubs/software/junos/junos73/swconfig73-
> routing/html/bgp-config47.html
> 
> I will try to chak in lab next few hour.
> 
> Rafa³ Szarecki JNCIE
> 
> skype me <callto://Rafal_Szarecki/> 
> 
> 
> 
> > -----Original Message-----
> > From: juniper-nsp-bounces at puck.nether.net 
> > [mailto:juniper-nsp-bounces at puck.nether.net]On Behalf Of 
> > dmitri at nominet.org.uk
> > Sent: Monday, October 17, 2005 3:34 PM
> > To: juniper-nsp at puck.nether.net
> > Subject: [j-nsp] "low route" with BGP examples?
> > 
> > 
> > Hi,
> > 
> > Has anyone implemented draft-marques-idr-flow-spec-03.txt?
> > I cannot figure out how to distribute "flow routes" via bgp
> > nor I was able to find such an example on juniper.net.
> > I'm trying to do the simplest thing: on a distributing router
> > I create a "flow route":
> > 
> > routing-options {
> >     flow {
> >         route test-flow-route {
> >             match source 10.0.0.1/32;
> >             then discard;
> >         }
> >     }
> > }
> > 
> > Now I want to distribute this "flow route" to another peering
> > neighbor. How do I configure the distributing router and the
> > peering neighbor to do this?
> > 
> > Regards
> > Dmitri
> > _______________________________________________
> > juniper-nsp mailing list juniper-nsp at puck.nether.net
> > http://puck.nether.net/mailman/listinfo/juniper-nsp
> > 



More information about the juniper-nsp mailing list