[c-nsp] per flow load balancing
Ian Cox
icox at cisco.com
Wed Dec 28 15:52:32 EST 2005
At 02:48 PM 12/28/2005 -0500, Rodney Dunn wrote:
>It will do L4 hasing for IPV4 in hardware.
>
>mls ip cef load-sharing full
>
>To set CEF load balancing to include Layer 4 ports and source
>IP/destination IP addresses (Layer 3), use the mls ip cef
>load-sharing full command. Use the no form of this command to return
>to the default settings.
>
>mls ip cef load-sharing full
>
>
>
>I don't know if when you have this configured and MPLS packets move
>through if we'd still do L4 port hashing or just the L3 ip addresses.
IP to Tag will use L4 if configured to do so.
Tag to Tag if underlying is IPv4 packet will only use src+dst
addresses for load balancing.
Ian
>Rodney
>
>
>On Wed, Dec 28, 2005 at 12:36:30PM -0200, Everton da Silva Marques wrote:
> > Rodney,
> >
> > On Tue, Dec 27, 2005 at 02:22:08PM -0500, Rodney Dunn wrote:
> > > On a 65xx/76xx the flexwan's don't do any packet forwarding.
> > >
> > > It's all hardware based as long as you don't have a feature
> > > on that causes the traffic to be punted.
> >
> > Many thanks for the clarification. Then I assume the
> > forwarding is performed by the PFC. In such case, there is
> > one small doubt that I hope you could bring light upon: I
> > can't tell whether the PFC's hardware-based load-sharing
> > would ever feed L4 ports into the hashing.
> >
> > So far, this is what my research has revealed:
> >
> > The document below seems to imply (?) that hardware
> > load-sharing for MPLS-labeled packets hashes the output
> > interface from exactly the source-destination pair:
> >
> > "If the packet has three labels or less and the underlying
> > packet is IPv4, then the PFC3BXL or PFC3B uses the source
> > and destination IPv4 address." -- http://tinyurl.com/clq35
> >
> > That is, under 7600, hardware-based load-sharing for labeled
> > packets doesn't seem to consider L4 ports.
> >
> > BTW, in the same scenario, do hardware-based load-sharing
> > for pure IPv4 packets use L4 ports in the hashing? I have
> > found the reference below suggesting (?) that L4 ports don't
> > affect the hashing for plain IPv4 packets:
> >
> > "With a PFC (and DFCs, if present), hardware Layer 3
> > switching uses per-flow load balancing based on IP source
> > and destination addresses." -- http://tinyurl.com/bb89s
> >
> > Please let me know whether the PFC should be able to
> > actually use L4 ports for hardware-based per-flow
> > load-sharing.
> >
> > Thanks again,
> > Everton
>_______________________________________________
>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/
More information about the cisco-nsp
mailing list