[c-nsp] BGP load balancing with dCEF

Rodney Dunn rodunn at cisco.com
Tue Oct 10 09:31:53 EDT 2006


It's a hash of the scr/dst ip address to pick one of the outgoing
interfaces.

To see it you can do a sh ip cef exact-route <src> <dst>
but you need to do it on the ingress vip the traffic is coming in on.

On Tue, Oct 10, 2006 at 09:10:05PM +0800, Ihsan Junaidi Ibrahim wrote:
> Does per-destination imply per-destination prefix or per-flow load-balancing?
> 
> On 10/10/06, Rodney Dunn <rodunn at cisco.com> wrote:
> > Have you got enough memory on your vips to run dCEF?
> >
> > You need at least 128 on all of them but we suggest 256M.
> >
> > The below shows you have all 4 paths installed.
> >
> > On Tue, Oct 10, 2006 at 08:33:18PM +0800, Ihsan Junaidi Ibrahim wrote:
> > > Sorry, this is the correct information.
> > >
> > > rtr-2#sh ip cef 202.75.134.1 inte
> > > 202.75.134.1/32, version 87642, per-destination sharing
> > > 0 packets, 0 bytes
> > >   Flow: AS 0, mask 32
> > >   via 203.121.99.2, 4 dependencies, recursive
> > >     traffic share 1
> > >     next hop 203.121.99.2, Serial5/0/0:0 via 203.121.99.0/30
> > >     valid adjacency
> > >   via 203.121.99.6, 5 dependencies, recursive
> > >     traffic share 1
> > >     next hop 203.121.99.6, Serial5/0/1:0 via 203.121.99.4/30
> > >     valid adjacency
> > >   via 203.121.99.10, 5 dependencies, recursive
> > >     traffic share 1
> > >     next hop 203.121.99.10, Serial5/0/2:0 via 203.121.99.8/30
> > >     valid adjacency
> > >   via 203.121.99.14, 5 dependencies, recursive
> > >     traffic share 1
> > >     next hop 203.121.99.14, Serial5/0/3:0 via 203.121.99.12/30
> > >     valid adjacency
> > >
> > >   0 packets, 0 bytes switched through the prefix
> > >   tmstats: external 0 packets, 0 bytes
> > >            internal 0 packets, 0 bytes
> > >   Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 20)
> > >
> > >   Hash  OK  Interface                 Address         Packets
> > >   1     Y   Serial5/0/0:0             point2point           0
> > >   2     Y   Serial5/0/1:0             point2point           0
> > >   3     Y   Serial5/0/2:0             point2point           0
> > >   4     Y   Serial5/0/3:0             point2point           0
> > >   5     Y   Serial5/0/0:0             point2point           0
> > >   6     Y   Serial5/0/1:0             point2point           0
> > >   7     Y   Serial5/0/2:0             point2point           0
> > >   8     Y   Serial5/0/3:0             point2point           0
> > >   9     Y   Serial5/0/0:0             point2point           0
> > >   10    Y   Serial5/0/1:0             point2point           0
> > >   11    Y   Serial5/0/2:0             point2point           0
> > >   12    Y   Serial5/0/3:0             point2point           0
> > >   13    Y   Serial5/0/0:0             point2point           0
> > >   14    Y   Serial5/0/1:0             point2point           0
> > >   15    Y   Serial5/0/2:0             point2point           0
> > >   16    Y   Serial5/0/3:0             point2point           0
> > >
> > > --
> > > Thank you for your time,
> > > Ihsan Junaidi Ibrahim
> > > _______________________________________________
> > > cisco-nsp mailing list  cisco-nsp at puck.nether.net
> > > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > > archive at http://puck.nether.net/pipermail/cisco-nsp/
> >
> 
> 
> -- 
> Thank you for your time,
> Ihsan Junaidi Ibrahim


More information about the cisco-nsp mailing list