Packet forwarding method, forwarding engine chip and routing device
A technology of message forwarding and forwarding engine, which is applied in the field of communication, and can solve problems such as increasing chip resources, increasing equipment cost and power consumption, and complex IP forwarding processing mechanism
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] refer to Figure 1A and Figure 1B , describing in detail the packet forwarding method according to the embodiment of the present invention. The method includes:
[0026] Step S110, searching in the forwarding information base table for the routing parameter entry matching the destination IP address of the message, as an index of the adjacency information table;
[0027] Such as Figure 1B As shown, before step S110, it includes configuring the routing parameter table entry in the forwarding information base table, configuring the adjacency information table parameter table item in the adjacency information table, and obtaining the destination IP address of the message; configuring the routing parameter in the forwarding information base table The specific operation of the table item is to receive the routing parameters. Since it cannot be directly configured into the forwarding information base table, the received routing parameters will also be converted into signal...
Embodiment 2
[0031] refer to Figure 2 to Figure 10 , to describe in detail the circuit structure and operation mode of the forwarding engine chip 200 according to the embodiment of the present invention.
[0032] The forwarding engine chip 200 includes: a CPU interface 210 , a FIB table circuit 230 and an AIB table circuit 240 . The CPU interface 210 is configured to receive a one-to-one correspondence between routing parameter entries and AIB table parameter entries configured by the CPU. The FIB table circuit 230 searches for the matching routing parameter entry according to the input message DIP to obtain the index of the AIB table, and the obtained AIB table index is input to the AIB table circuit 240, and searches for the AIB according to the corresponding relationship between the routing parameter table item and the AIB table parameter table item The table obtains the forwarding information of the message. In addition, the conversion engine chip 200 also includes: a routing parame...
Embodiment 3
[0045] refer to Figure 11 , to describe the routing device 1100 according to the embodiment of the present invention in detail. The routing device 1100 includes:
[0046] CPU1101, used to configure routing parameter entries and AIB table parameter entries with corresponding relationship, wherein routing parameters include destination IP (DIP), mask bit (MASK), entry valid indication (VALID) and entry address (T_INDEX ). Wherein, the corresponding relationship between the routing parameter entry and the AIB table parameter entry may be a one-to-one correspondence.
[0047] The forwarding engine chip 1102 is configured to receive the routing parameter and the AIB table parameter; search the FIB table for the routing parameter entry matching the IP address of the message to obtain the AIB table index; according to the obtained AIB table index, according to the routing parameter The corresponding relationship between the entry and the AIB table parameter entry looks up the AIB...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 