On 23/10/12 10:34 AM, david....@orange.com wrote: > Sorry i forgot that it was a mx80 i play too much with mx960. Yes sounds > good. You can see that trio based card like mx80 adds by default layer 4 > in the key buffer. Unlike ichip based card. > > I written a post regarding this on my blog. Http://www.junosandme.net
Very interesting stuff! I thought this was worth mentioning. On 11.2R3.3, with no hash-key or enhanced-hash-key settings at all: mx80> request pfe execute command "show jnh lb" target tfeb0 SENT: Ukern command: show jnh lb GOT: GOT: Unilist Seed Configured 0x8bce4c39 System Mac address 00:00:00:00:00:00 GOT: Hash Key Configuration: 0x0000000000e00000 0xffffffff00000000 GOT: IIF-V4: No GOT: SPORT-V4: Yes GOT: DPORT-V4: Yes GOT: TOS: No GOT: GOT: IIF-V6: No GOT: SPORT-V6: No GOT: DPORT-V6: No GOT: TRAFFIC_CLASS: No GOT: GOT: IIF-MPLS: No GOT: MPLS_PAYLOAD: Yes GOT: MPLS_EXP: No GOT: GOT: IIF-BRIDGED: No GOT: MAC ADDRESSES: Yes GOT: ETHER_PAYLOAD: Yes GOT: 802.1P OUTER: No GOT: GOT: Services Hash Key Configuration: GOT: SADDR-V4: No GOT: IIF-V4: No GOT: LOCAL: End of file So, no IPv6 hashing for load balancing, correct? But there *is* v6 hashing set in 12.2R1.3 without any of the hash-key or enhanced-hash-key settings: mx80> show configuration forwarding-options hash-key mx80> show configuration forwarding-options enhanced-hash-key mx80> request pfe execute command "show jnh lb" target tfeb0 SENT: Ukern command: show jnh lb GOT: GOT: Unilist Seed Configured 0x8bce4c39 System Mac address 00:00:00:00:00:00 GOT: Hash Key Configuration: 0x0000000000e00000 0xffffffffffffffff GOT: IIF-V4: No GOT: SPORT-V4: Yes GOT: DPORT-V4: Yes GOT: TOS: No GOT: GOT: IIF-V6: No GOT: SPORT-V6: Yes GOT: DPORT-V6: Yes GOT: TRAFFIC_CLASS: No GOT: GOT: IIF-MPLS: No GOT: MPLS_PAYLOAD: Yes GOT: MPLS_EXP: No GOT: GOT: IIF-BRIDGED: No GOT: MAC ADDRESSES: Yes GOT: ETHER_PAYLOAD: Yes GOT: 802.1P OUTER: No GOT: GOT: Services Hash Key Configuration: GOT: SADDR-V4: No GOT: DADDR-V4: No GOT: IIF-V4: No GOT: GOT: SADDR-V6: No GOT: DADDR-V6: No GOT: IIF-V6: No GOT: LOCAL: End of file Now on the 11.2 MX80, we do: [edit] mx80# set forwarding-options hash-key family inet6 layer-3 [edit] mx80# set forwarding-options hash-key family inet6 layer-4 And voila: mx80> request pfe execute command "show jnh lb" target tfeb0 SENT: Ukern command: show jnh lb GOT: GOT: Unilist Seed Configured 0x8bce4c39 System Mac address 00:00:00:00:00:00 GOT: Hash Key Configuration: 0x0000000000e400ff 0xffffffffffffffff GOT: IIF-V4: No GOT: SPORT-V4: Yes GOT: DPORT-V4: Yes GOT: TOS: No GOT: GOT: IIF-V6: Yes GOT: SPORT-V6: Yes GOT: DPORT-V6: Yes GOT: TRAFFIC_CLASS: Yes GOT: GOT: IIF-MPLS: No GOT: MPLS_PAYLOAD: Yes GOT: MPLS_EXP: No GOT: GOT: IIF-BRIDGED: No GOT: MAC ADDRESSES: Yes GOT: ETHER_PAYLOAD: Yes GOT: 802.1P OUTER: No GOT: GOT: Services Hash Key Configuration: GOT: SADDR-V4: No GOT: IIF-V4: No GOT: LOCAL: End of file Even more than we asked for (interface and traffic class also). Then I set the layer-3 and layer-4 options for the family inet hash-key settings also: mx80# show hash-key family inet { layer-3; layer-4; } family inet6 { layer-3; layer-4; } And then we also get the interface and traffic class based hashing: pvlaar@r1.iad1> request pfe execute command "show jnh lb" target tfeb0 SENT: Ukern command: show jnh lb GOT: GOT: Unilist Seed Configured 0x8bce4c39 System Mac address 00:00:00:00:00:00 GOT: Hash Key Configuration: 0x0000000000ecffff 0xffffffffffffffff GOT: IIF-V4: Yes GOT: SPORT-V4: Yes GOT: DPORT-V4: Yes GOT: TOS: Yes GOT: GOT: IIF-V6: Yes GOT: SPORT-V6: Yes GOT: DPORT-V6: Yes GOT: TRAFFIC_CLASS: Yes GOT: GOT: IIF-MPLS: No GOT: MPLS_PAYLOAD: Yes GOT: MPLS_EXP: No GOT: GOT: IIF-BRIDGED: No GOT: MAC ADDRESSES: Yes GOT: ETHER_PAYLOAD: Yes GOT: 802.1P OUTER: No GOT: GOT: Services Hash Key Configuration: GOT: SADDR-V4: No GOT: IIF-V4: No GOT: LOCAL: End of file Not quite what I expected from these settings, and some peculier differences going on between 11 and 12 here. ~paul _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp