Method for handling IP multicast packets in network switch
First Claim
1. A method of switching packets in a network switch, said method comprising:
- receiving, by the network switch, at least a first packet and a second packet, the first packet including a first packet address and the second packet including a second packet address, on a source port of the network switch;
performing concurrent lookups of the first packet address and the second packet address, wherein;
the lookup of the first packet address is performed on an odd layer 2 and layer 3 lookup table, the odd layer 2 and layer 3 lookup table including odd addressed entries of source or destination addresses; and
the lookup of the second packet address is performed on an even layer 2 and layer 3 lookup table, the even layer 2 and layer 3 lookup table including even addressed entries of source or destination addresses; and
the concurrent lookups determine at least one egress port through which each of the first and second packets are to be sent; and
sending the first and second packets through the determined at least one egress port, the at least one egress port being based on the concurrent lookups.
6 Assignments
0 Petitions
Accused Products
Abstract
A method of switching packets in a network switch includes the step of receiving a packet on a source port of a network switch. Thereafter, the method includes the step of determining whether the network switch has sufficient memory capacity to process the data packet; and if memory capacity is sufficient, then the method reads a selected portion of the packet to determine if the packet is to be sent to a mirrored port. If mirroring is determined, then the method sends the data packet to the mirrored port. The method also includes the step of determining whether the packet is to be sent to a remote CPU for further handling, and sending the data packet to the remote CPU if appropriate. The method additionally includes the step of determining whether the packet is a unicast packet, and if so, placing the packet on an internal communication channel within the network switch for appropriate storing and forwarding. If the packet is not a unicast packet, then the method determines if the packet is a multicast packet. If the packet is determined to be a multicast packet, then performing simultaneous lookups and switching using layer 2 lookup tables and addresses, and layer 3 lookup tables and addresses, thereby providing hybrid multicast handling of the packet.
-
Citations
20 Claims
-
1. A method of switching packets in a network switch, said method comprising:
-
receiving, by the network switch, at least a first packet and a second packet, the first packet including a first packet address and the second packet including a second packet address, on a source port of the network switch; performing concurrent lookups of the first packet address and the second packet address, wherein; the lookup of the first packet address is performed on an odd layer 2 and layer 3 lookup table, the odd layer 2 and layer 3 lookup table including odd addressed entries of source or destination addresses; and the lookup of the second packet address is performed on an even layer 2 and layer 3 lookup table, the even layer 2 and layer 3 lookup table including even addressed entries of source or destination addresses; and the concurrent lookups determine at least one egress port through which each of the first and second packets are to be sent; and sending the first and second packets through the determined at least one egress port, the at least one egress port being based on the concurrent lookups. - View Dependent Claims (2, 3, 4, 9, 11, 12)
-
-
5. A network switch for switching packets, comprising:
- a source port configured to receive at least a first packet and a second packet, the first packet including a first packet address and the second packet including a second address;
a first search engine configured to perform, concurrently with an even lookup by a second search engine, an odd lookup of the first packet address on an odd layer 2 and layer 3 lookup table, the odd layer 2 and layer 3 lookup table including odd addressed entries of source or destination addresses; and the second search engine configured to perform, concurrently with the odd lookup by the first search engine, the even lookup of the second packet address on an even layer 2 and layer 3 lookup table, the even layer 2 and layer 3 table including even addressed entries of source or destination addresses; and a handler configured to send the first and second packets through at least one egress port, the egress port being based on the concurrent lookups. - View Dependent Claims (6, 7, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20)
- a source port configured to receive at least a first packet and a second packet, the first packet including a first packet address and the second packet including a second address;
Specification