Abstract:
A method may include receiving a packet associated with a flow of packets, the packet including a destination address; selecting one of a plurality of memory banks, the selected memory bank being associated with the flow of packets, wherein each of the plurality of memory banks stores the same next-hop information for forwarding the packet to the destination address; accessing, in the selected memory bank, the next-hop information for forwarding the packet to the destination address; and forwarding the packet to the destination address based on the next-hop information.
Abstract:
A network device component receives traffic, determines whether the traffic is host bound traffic or non-host bound traffic, and classifies, based on a user-defined classification scheme, the traffic when the traffic is host bound traffic. The network device component also assigns, based on the classification, the classified host bound traffic to a queue associated with network device component for forwarding the classified host bound traffic to a host component of the network device.
Abstract:
Techniques for handling multicast over link aggregated (LAG) interfaces and integrated routing and bridging (IRB) interfaces in a network device are described in which interfaces, at which a data unit is to be transmitted, may be represented hierarchically in which the LAG interfaces and IRB interfaces are represented as pointers. In one implementation, a device may determine routes for data units, where a route for a multicast data unit is represented as a set of interfaces of the device at which the data unit is to be output. Entries in the set of interfaces may include physical interfaces of the device and pointers to LAG interfaces or pointers to the IRB interfaces. The device may generate tokens to represent routes for data units and resolve the pointers to the LAG interfaces or the IRB interfaces to obtain physical interfaces of the router corresponding to a LAG or an IRB.
Abstract:
A network device provides a selector list that includes indices of child nexthops associated with the network device, where each of the child nexthops is associated with a corresponding child link provided in an aggregated bundle of child links. The network device also receives an indication of a failure of a child link in the aggregated bundle of child links, and removes, from the selector list, an index of a child nexthop associated with the failed child link. The network device further receives probabilities associated with the child links of the aggregated bundle of child links. Each of the probabilities indicates a probability of a packet exiting the network device on a child link. The network device also creates a distribution table based on the probabilities associated with the child links, and rearranges values provided in the distribution table.