CN106533946B - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN106533946B
CN106533946B CN201611075382.XA CN201611075382A CN106533946B CN 106533946 B CN106533946 B CN 106533946B CN 201611075382 A CN201611075382 A CN 201611075382A CN 106533946 B CN106533946 B CN 106533946B
Authority
CN
China
Prior art keywords
slb
table entry
entry
flow table
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611075382.XA
Other languages
Chinese (zh)
Other versions
CN106533946A (en
Inventor
李华舟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201611075382.XA priority Critical patent/CN106533946B/en
Publication of CN106533946A publication Critical patent/CN106533946A/en
Application granted granted Critical
Publication of CN106533946B publication Critical patent/CN106533946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/20Traffic policing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a message forwarding method and a message forwarding device. In the application, the policy routing table entry is realized by slb flow table entries, and the slb flow table entry resource has a large specification which is far larger than that of an ACL table entry resource, so that the policy routing is greatly expanded, and the problem caused by the small specification of the ACL resource when the policy routing table entry is realized by the ACL table entry is solved; further, in the present invention, the slb flow table entry can be arbitrarily modified, which completely avoids the existing problems such as poor flexibility.

Description

Message forwarding method and device
Technical Field
The present application relates to network communication technologies, and in particular, to a method and an apparatus for forwarding a packet.
Background
The strategy routing is used for routing and forwarding the message according to a strategy formulated by a user. The policy routing specifically includes: the matching items and the action items are used for executing the appointed action items such as redirection to a certain output interface for forwarding for the messages meeting the matching items such as message length, message priority and the like.
Currently, policy routing is implemented by using Access Control List (ACL), when a message is received, the message is matched with an ACL, and when the ACL is matched, the message is processed based on an action item in the ACL, and fig. 1 shows a schematic diagram of message forwarding based on policy routing by way of example.
However, the ACL resources local to the forwarding chip are very limited, and cannot accommodate enough policy routes, and the policy routes implemented by the ACL table entries are pre-configured, but the pre-configured policy routes are relatively poor in flexibility on one hand, and cannot adapt to the dynamically changing outgoing interfaces in the policy routes on the other hand.
Disclosure of Invention
The application provides a message forwarding method and a message forwarding device, which are used for avoiding the problem caused by small ACL resource specification when the strategy routing ACL list item is realized.
The technical scheme provided by the application comprises the following steps:
a message forwarding method comprises the following steps:
generating an all-state load balancing slb flow table entry according to a preconfigured outlet interface matched with a routing strategy and the routing strategy for realizing the strategy routing, wherein the slb flow table entry is a strategy routing table entry;
and issuing slb flow table items to the forwarding chip so that the forwarding chip can preferentially forward the messages based on the matched slb flow table items.
A message forwarding method comprises the following steps:
receiving a delivered full-state load balancing slb flow table entry, wherein slb flow table entry is a policy routing table entry for realizing policy routing, and a matching entry of the slb flow table entry at least comprises a characteristic identification value of a message and an equivalent multipath ECMP table entry index indicated by a Forwarding Information Base (FIB) table entry;
receiving a message, matching an FIB table entry for the message, matching slb flow table entries according to the ECMP table entry index of the matched FIB table entry and the characteristic identification value of the message, and forwarding the message according to the action entry of the matched slb flow table entry.
A message forwarding apparatus, the apparatus comprising:
the table entry generating unit is used for generating an all-state load balancing slb flow table entry according to a preconfigured output interface matched with a routing strategy and a routing strategy, wherein the routing strategy is used for realizing policy routing, and the slb flow table entry is a policy routing table entry;
and the table item issuing unit is used for issuing the slb flow table items generated by the table item generating unit to the forwarding chip so that the forwarding chip preferentially forwards the message based on the matched slb flow table items.
A message forwarding apparatus, the apparatus comprising:
the table entry receiving unit is used for receiving the issued full-state load balancing slb flow table entries, wherein slb flow table entries are policy routing table entries used for realizing policy routing, and matching entries of slb flow table entries at least comprise characteristic identification values of messages and equivalent multipath ECMP table entry indexes indicated by forwarding information base FIB table entries;
and the message processing unit is used for receiving the message, matching the FIB table entry for the message, matching slb flow table entries according to the ECMP table entry index of the matched FIB table entry and the characteristic identification value of the message, and forwarding the message according to the action item of the matched slb flow table entry.
According to the technical scheme, the policy routing is realized by slb flow table entries, the slb flow table entry resources have large specifications, even the specifications are equivalent to those of routing table entry resources and far larger than those of ACL table entry resources, the policy routing is greatly expanded, and the problem caused by small specifications of the ACL resources when the policy routing ACL entries are realized is solved;
further, in the present invention, the slb flow table entry can be modified arbitrarily, which completely avoids the problems such as poor flexibility caused by the existing pre-configured policy routing.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of message forwarding;
FIG. 2 is a flow chart of a method provided by the present invention;
fig. 3 is a schematic diagram of forwarding a message by a forwarding chip according to the present invention;
FIG. 4 is a schematic diagram of an embodiment provided by the present invention;
FIG. 5 is a schematic view of the structure of the apparatus according to the present invention;
fig. 6 is a schematic structural diagram of another apparatus provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Currently, a forwarding chip such as a jericho chip itself supports a stateful load balancing (slbstailloadbalance) mechanism. The slb mechanism is applied to an aggregation port or Equal-Cost Multipath (ECMP) scenario, and is used to control the traffic sent to the same destination address to be stably fixed at the same egress for forwarding in the aggregation port or ECMP scenario.
The principle of the slb mechanism is described with an aggregation port as an example: when a message is forwarded to a destination address for the first time, an aggregation member port for forwarding the message is determined from the aggregation port through a HASH (HASH) algorithm according to the matching of the destination address to the aggregation port, the message is forwarded, an slb flow table entry is actively learned according to a message keyword (key) of the message and the destination address, the slb flow table entry points to the determined aggregation member port, then when the message sent to the destination address is subsequently received again, a slb flow table entry is preferentially matched, and the message is forwarded according to the aggregation member port pointed by the slb flow table entry.
Based on the principle of the slb mechanism, even if the aggregation member port in the subsequent aggregation port changes, it is always ensured that the messages sent to the same destination address are fixed and forwarded on the same aggregation member port until the slb flow table entry is aged and deleted.
For the forwarding chip, the specification of slb flow table entry resources (used for storing slb flow table entries) supported by the forwarding chip is large and is far larger than the specification of ACL resources (used for storing ACL entry resources). In a specific application, the specification of slb flow table entry resources supported by the forwarding chip is equivalent to that of a routing table entry.
Based on this, in the invention, the policy routing is not realized by the ACL, but is realized by the slb table entry, the slb table entry resource specification described above is large, the realization of the policy routing by the slb table entry can completely avoid the problem that the policy routing cannot be realized enough because the ACL resource is very limited, and the policy routing is greatly expanded.
The method provided by the invention is described as follows:
referring to fig. 2, fig. 2 is a flow chart of the method provided by the present invention. The process is implemented by software of a network device, and specifically, as an embodiment, the software of the network device referred to herein may be a CPU of the network device.
It should be noted that, in order to prevent the slb flow table entry implementing policy routing of the present invention from colliding with the existing slb flow table entry, in the present invention, the forwarding chip is prohibited from automatically learning slb flow table entry, and the software layer is enabled to automatically learn the characteristics of slb flow table entry to implement software automatically learning slb flow table entry, and the slb flow table entry automatically learned by software is used for implementing policy routing, which is different from the slb flow table entry in the existing slb mechanism, and in order to enable the forwarding chip to support the slb flow table entry automatically learned by software for implementing policy routing, it is further necessary to enable the forwarding chip to support the characteristics of slb flow table entry for implementing policy routing.
As shown in fig. 2, the process may include the following steps:
step 201, generating a full-state load balancing slb flow table entry according to a preconfigured outgoing interface matched with a routing policy and a routing policy for implementing policy routing.
The slb flow table entry generated in this step 201 and the slb flow table entry dynamically learned by the forwarding chip in the original slb mechanism play different roles, the slb flow table entry generated in this step 201 is used to implement policy routing, and the slb flow table entry dynamically learned by the forwarding chip in the original slb mechanism is used to ensure that the packets sent to the same destination address are stably forwarded at a fixed exit.
The slb flow table entry generated in this step 201 is used to implement policy routing as described above, and is equivalent to a policy routing table entry, and in order to ensure that the packet is forwarded preferentially based on the matching slb flow table entry, the priority of the slb flow table entry may be set higher than that of the ordinary FIB table entry.
In the present invention, as described in step 201, slb flow entries implementing policy routing are dynamically generated, which completely avoids problems such as poor flexibility due to existing pre-configured policy routing.
Step 202, issuing slb flow table items to the forwarding chip to make the forwarding chip preferentially forward the message based on the matched slb flow table items.
When the forwarding chip receives slb flow table entries, it will subsequently forward the message based on the received slb table entries. Fig. 3 depicts:
referring to fig. 3, fig. 3 is a flow chart of another method of the present invention. The process is applied to a forwarding chip and comprises the following steps:
step 301, receiving slb flow table items sent to this chip.
For one embodiment, slb flow table entry contains a matching entry and an action entry, where the matching entry contains at least the feature identification value of the packet and the ECMP table entry index indicated by the FIB table entry.
Step 302, receiving a message, matching an FIB table entry for the message, matching slb flow table entries according to an ECMP table entry index of the matched FIB table entry and a feature identification value of the message, and forwarding the message according to an action entry of the matched slb flow table entry.
As described above, the slb flow table entry has a priority far higher than that of a common routing table entry, and based on this, when the forwarding chip receives a message, if the message matches the slb flow table entry, as described in step 302, the message is forwarded according to the action entry of the matched slb flow table entry, and forwarding is not dependent on the FIB table entry any more; and when the flow table entry is not matched to slb, the message may be forwarded based on the outgoing interface (also FEC) in the ECMP table entry corresponding to the ECMP table entry index of the matched FIB table entry.
The flow shown in fig. 3 is completed.
Fig. 2 and 3 are described below with a specific embodiment:
referring to fig. 4, fig. 4 is a schematic diagram of an embodiment provided by the present invention. If there are 6 egress interface associated egress interface entries to destination 1.1.1.1 based on dynamic learning of routing protocols: FECa to FECf. The FECa to FECf here have different indices. The FECa to FECf are all output interface table entries of the hardware layer of the forwarding chip, and specifically include information such as an output port, an output VLAN, and the like.
If an FIB entry pointing to the destination 1.1.1.1 is generated according to the traffic demand, the generated FIB entry indicates the following two egress interface entries according to the traffic demand: FECa, FECb. In practical applications, the FECa and the FECb are not included in the FIB entry, but exist in an ECMP entry independent from the FIB entry, and an index of the ECMP entry is included in the FIB entry. Taking the example that the ECMP entry index indicated by the FIB entry is ECMP1, and the entry corresponding to ECMP1 is denoted as ECMP entry 1_1, for convenience of description, if FECa and FECb are denoted as default FEC entries, briefly, ECMP entry 1_1 is summarized as:
ECMP 1: default FEC table item- > FECa, FECb;
if the following routing policies are configured according to the traffic demand:
strategy 1: the message used for indicating that the message carries the set characteristic identification value (taking the DSCP value as 16 as an example) and matches the ECMP1 is forwarded by replacing the ECMP1 with the ECMP 2. ECMP2 is the index into ECMP entry 1_ 2. ECMP entry 1_2 contains the following FEC: FECc, FECd (as the first FEC entry). ECMP entry 1_2 is summarized as:
ECMP 2: FEC table item of the first kind- > FECc, FECd;
strategy 2: the message used for indicating that the message carries the set characteristic identification value (taking the DSCP value as 8 as an example) and matches the ECMP1 is forwarded by replacing the ECMP1 with the ECMP 3. ECMP3 is the index into ECMP entry 1_ 3. ECMP entry 1_3 contains the following FEC: FECe, FECf (denoted as FEC entry of the second type). ECMP entry 1_3 is summarized as:
ECMP 3: the second class FEC table item- > FECe, FECf;
and generating slb flow table entries based on the policy 1 and issuing the flow table entries to the forwarding chip, wherein the generated slb flow table entries are marked as slb flow table entries 1_ 1. slb flow table entry 1_1 contains matching entry and action entry, the matching entry is DSCP value 16+ ECMP1, the action entry is ECMP2 as the output interface forwarding message instead of ECMP 1. Table 1 illustrates slb flow table entry 1_ 1:
Figure BDA0001165855890000071
TABLE 1
Similarly, a flow table entry slb is generated based on policy 2 and issued to the forwarding chip, and the generated slb flow table entry is denoted as slb flow table entry 2_ 2. slb flow table entry 2_2 contains matching entry and action entry, the matching entry is DSCP value 8+ ECMP1, the action entry is ECMP3 instead of ECMP1 as the outgoing interface forwarding message. Table 2 illustrates slb flow table entry 2_ 2:
Figure BDA0001165855890000072
TABLE 2
The above example describes how to generate slb a flow entry. The following describes how the forwarding chip forwards a packet using the slb flow table entry:
the forwarding chip stores slb flow table entries 1_1 and slb flow table entries 2_2 issued to the local to slb flow table entry resources.
Then, the forwarding chip receives the message, matches an FIB table entry for the message, and matches slb flow table entries according to the ECMP table entry index indicated by the matched FIB table entry and the characteristic identification value of the message;
when the forwarding chip is matched with the slb flow table entry, the message is forwarded according to the action item in the matched slb flow table entry. For example, if the ECMP entry index indicated by the matched FIB entry is ECMP1 and the feature identifier value of the packet is DSCP value 16, the finally matched slb flow entry is slb flow entry 1_1, and the forwarding chip forwards the packet as an outgoing interface according to the action item of the matched slb flow entry 1_1, that is, ECMP2 instead of ECMP 1.
As an embodiment of the present invention, if the forwarding chip does not match slb flow entries according to the ECMP entry index indicated by the matched FIB entry and the feature identifier value of the packet, the forwarding chip indicates forwarding of the FEC entry indicated by the index based on the ECMP indicated by the FIB entry directly, for example, if the ECMP entry index indicated by the matched FIB entry is ECMP1 and the feature identifier value of the packet is other than DSCP value 16 and DSCP value 8, the forwarding chip directly forwards the packet according to the FEC default entry, that is, FECa and FECb, indicated by ECMP1 according to the ECMP1 and the feature identifier value of the packet that is not matched to slb flow entries.
Thus, the description of the embodiments is completed.
It should be noted that, in the present invention, slb flow entries may be maintained dynamically, where the maintenance is performed by software such as a CPU.
For one embodiment, dynamically maintaining slb flow table entries may include:
when detecting that the routing strategy for generating slb flow table entries changes or an output interface matched with the routing strategy changes, adaptively modifying slb flow table entries according to the changes;
the change of the routing policy specifically means that a matching item included in the routing policy changes, for example, a message characteristic value changes. Taking slb flow entry 1_1 as an example, if the feature identifier value in ECMP2 needs to be adjusted according to the service requirement, for example, the feature identifier value in ECMP2, that is, DSCP value 16, is modified to be DSCP value 8, then the feature identifier value in the matching entry of flow entry 1_1, that is, DSCP value 16, needs to be adaptively modified slb to be DSCP value 8.
As an embodiment of the present invention, the changing of the outgoing interface matched with the routing policy may include: adding an outgoing interface, deleting an outgoing interface and modifying an outgoing interface.
When an outgoing interface matched with the routing policy is newly added, the newly added outgoing interface is added to the slb flow table entry which is generated according to the routing policy. For example, if an outgoing interface is detected to be newly added, and the outgoing interface entry FECg associated with the added outgoing interface belongs to the first FEC entry, the newly added FECg is added in ECMP2 of slb flow entry 1_ 1;
when an outgoing interface matching the routing policy is deleted, the deleted outgoing interface is deleted in the slb flow entry that has been generated according to the routing policy. For example, if an outgoing interface is detected to be deleted, and the outgoing interface entry associated with the deleted outgoing interface is the FECc in the FEC entry of the first type, the FECc is deleted in the ECMP2 of slb flow entry 1_ 1.
As a specific example, when it is detected slb that all egress interfaces in the flow entry are deleted, the flow entry is deleted slb directly from the forwarding chip. For example, if it is detected that the egress interfaces associated with FECc and FECd in the first FEC entry are deleted, the flow entry 1_1 is deleted slb from the forwarding chip.
When an outgoing interface that matches a routing policy is modified, the outgoing interface is modified in the slb flow entry that has been generated in accordance with the routing policy. For example, if it is detected that the outgoing interface associated with the FECc in the FEC entry of the first type is modified, and the outgoing interface entry associated with the modified outgoing interface is no longer the FECc but the FECh, the FECh is added to flow entry 1_1 at slb, and the FECc is deleted at the same time.
It can be seen that the dynamic maintenance slb flow table entry can modify and designate the output interface in the slb flow table entry at will, adapt to the dynamically changing port, and well meet the user requirements.
The method provided by the present invention is described above. The apparatus provided by the present invention is modified as follows:
referring to fig. 5, fig. 5 is a structural view of the apparatus provided by the present invention. As shown in fig. 5, the apparatus includes:
the table entry generating unit is used for generating an all-state load balancing slb flow table entry according to a preconfigured output interface matched with a routing strategy and a routing strategy, wherein the routing strategy is used for realizing policy routing, and the slb flow table entry is a policy routing table entry;
and the table item issuing unit is used for issuing the slb flow table items generated by the table item generating unit to the forwarding chip so that the forwarding chip preferentially forwards the message based on the matched slb flow table items.
Preferably, the apparatus further comprises:
the updating unit is used for adaptively modifying slb the flow table entry according to the change when the change of the routing strategy is detected or the change of the output interface is detected;
wherein, the interface change includes: adding an outgoing interface, deleting an outgoing interface and modifying an outgoing interface.
Preferably, the apparatus further comprises:
a control unit for prohibiting the forwarding chip from automatically learning slb the flow table entries, and,
the enabling software layer automatically learns slb the characteristics of the flow entries and enables the forwarding chip to support the characteristics of slb flow entries for implementing policy routing.
Thus, the description of the structure of the device shown in fig. 5 is completed.
Referring to fig. 6, fig. 6 is a structural view of another apparatus provided in the present invention. As shown in fig. 6, the apparatus includes:
the table entry receiving unit is used for receiving the issued full-state load balancing slb flow table entries, wherein slb flow table entries are policy routing table entries used for realizing policy routing, and matching entries of slb flow table entries at least comprise characteristic identification values of messages and equivalent multipath ECMP table entry indexes indicated by forwarding information base FIB table entries;
and the message processing unit is used for receiving the message, matching the FIB table entry for the message, matching slb flow table entries according to the ECMP table entry index of the matched FIB table entry and the characteristic identification value of the message, and forwarding the message according to the action item of the matched slb flow table entry.
Preferably, when the ECMP entry index according to the matched FIB entry and the feature identification value of the message do not match the slb flow entry, the message processing unit further performs the following steps:
and forwarding the message based on an output interface in the ECMP table entry corresponding to the ECMP table entry index of the matched FIB table entry.
Thus, the description of the device structure shown in fig. 6 is completed.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A message forwarding method is characterized in that in the method, a forwarding chip is prohibited from automatically learning slb flow table items; enabling the software layer to automatically learn slb the characteristics of the flow table entry and enabling the forwarding chip to support slb the characteristics of the flow table entry for implementing policy routing; the method further comprises the following steps:
generating a full-state load balancing slb flow table item according to a preconfigured routing policy for implementing policy routing and an output interface matched with the routing policy, wherein the slb flow table item is a policy routing table item;
and issuing slb flow table items to a forwarding chip so that the forwarding chip can preferentially forward the messages based on the matched slb flow table items.
2. The method of claim 1, further comprising:
when detecting that the routing strategy is changed or the output interface is changed, adaptively modifying slb flow table items according to the change;
wherein the changing of the outgoing interface comprises: adding an outgoing interface, deleting an outgoing interface and modifying an outgoing interface.
3. A message forwarding method is characterized by comprising the following steps:
receiving a delivered full-state load balancing slb flow table entry, wherein the slb flow table entry is a policy routing table entry for implementing policy routing, and a matching entry of the slb flow table entry at least comprises a feature identification value of a message and an equivalent multipath ECMP table entry index indicated by a Forwarding Information Base (FIB) table entry;
receiving a message, matching an FIB table entry for the message, matching slb flow table entries according to an ECMP table entry index of the matched FIB table entry and the characteristic identification value of the message, and forwarding the message according to an action entry of the matched slb flow table entry.
4. The method of claim 3, wherein when the ECMP entry index according to the matched FIB entry and the message's signature value do not match slb flow entries, the method further comprises:
and forwarding the message based on an output interface in the ECMP table entry corresponding to the ECMP table entry index of the matched FIB table entry.
5. A message forwarding apparatus, comprising:
a control unit for prohibiting the forwarding chip from automatically learning slb the flow table entries, and,
enabling the software layer to automatically learn slb the characteristics of the flow table entry and enabling the forwarding chip to support slb the characteristics of the flow table entry for implementing policy routing;
the table entry generating unit is configured to generate an all-state load balancing slb flow table entry according to a preconfigured routing policy for implementing policy routing and an egress interface matched with the routing policy, where the slb flow table entry is a policy routing table entry;
and the table item issuing unit is used for issuing the slb flow table items generated by the table item generating unit to a forwarding chip so that the forwarding chip preferentially forwards the message based on the matched slb flow table items.
6. The apparatus of claim 5, further comprising:
an updating unit, configured to modify the slb flow table entry adaptively according to a change when detecting that the routing policy changes or the egress interface changes;
wherein the changing of the outgoing interface comprises: adding an outgoing interface, deleting an outgoing interface and modifying an outgoing interface.
7. A message forwarding apparatus, comprising:
a table entry receiving unit, configured to receive a delivered full-state load balancing slb flow table entry, where the slb flow table entry is a policy routing table entry and is used to implement policy routing, and a matching entry of the slb flow table entry at least includes a feature identifier value of a packet and an equivalent multipath ECMP table entry index indicated by a forwarding information base FIB table entry;
and the message processing unit is used for receiving a message, matching an FIB table entry for the message, matching slb flow table entries according to the ECMP table entry index of the matched FIB table entry and the characteristic identification value of the message, and forwarding the message according to the action item of the matched slb flow table entry.
8. The apparatus of claim 7, wherein the message processing unit further performs the following steps when the ECMP entry index according to the matched FIB entry and the feature identification value of the message do not match slb flow entries:
and forwarding the message based on an output interface in the ECMP table entry corresponding to the ECMP table entry index of the matched FIB table entry.
CN201611075382.XA 2016-11-29 2016-11-29 Message forwarding method and device Active CN106533946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611075382.XA CN106533946B (en) 2016-11-29 2016-11-29 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611075382.XA CN106533946B (en) 2016-11-29 2016-11-29 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN106533946A CN106533946A (en) 2017-03-22
CN106533946B true CN106533946B (en) 2020-07-07

Family

ID=58353915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611075382.XA Active CN106533946B (en) 2016-11-29 2016-11-29 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN106533946B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259633B (en) 2017-05-31 2020-05-12 新华三技术有限公司 Method, system and device for realizing management message three-layer communication
CN107547338B (en) * 2017-05-31 2020-12-29 新华三技术有限公司 Message forwarding method and device
CN108259298B (en) * 2017-05-31 2020-12-29 新华三技术有限公司 Message forwarding method and device
CN108259453B (en) 2017-05-31 2020-03-06 新华三技术有限公司 Message forwarding method and device
CN109347742B (en) * 2018-10-31 2021-09-21 新华三技术有限公司 PBR-based multiple next hop load sharing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572667A (en) * 2009-05-22 2009-11-04 中兴通讯股份有限公司 Method for realizing equal cost multipath of IP route and device
CN102833164A (en) * 2012-08-23 2012-12-19 福建星网锐捷网络有限公司 Implementation method, implementation device and switching device of policy-based routing
CN102916897A (en) * 2012-10-10 2013-02-06 杭州华三通信技术有限公司 Method and equipment for realizing VRRP load sharing
CN103248567A (en) * 2013-04-26 2013-08-14 杭州华三通信技术有限公司 BFD conversation message transmission method and equipment
CN105245447A (en) * 2015-10-08 2016-01-13 盛科网络(苏州)有限公司 Device and method for supporting ECMP (Equal Cost Multipath) chip on ToR in data centre

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100394745C (en) * 2006-04-14 2008-06-11 迈普(四川)通信技术有限公司 Method for dynamically selecting outlet pathway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572667A (en) * 2009-05-22 2009-11-04 中兴通讯股份有限公司 Method for realizing equal cost multipath of IP route and device
CN102833164A (en) * 2012-08-23 2012-12-19 福建星网锐捷网络有限公司 Implementation method, implementation device and switching device of policy-based routing
CN102916897A (en) * 2012-10-10 2013-02-06 杭州华三通信技术有限公司 Method and equipment for realizing VRRP load sharing
CN103248567A (en) * 2013-04-26 2013-08-14 杭州华三通信技术有限公司 BFD conversation message transmission method and equipment
CN105245447A (en) * 2015-10-08 2016-01-13 盛科网络(苏州)有限公司 Device and method for supporting ECMP (Equal Cost Multipath) chip on ToR in data centre

Also Published As

Publication number Publication date
CN106533946A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN106533946B (en) Message forwarding method and device
US11444868B2 (en) Systems and methods for software defined networking service function chaining
US11018898B2 (en) Multicast multipathing in an overlay network
US20230318973A1 (en) Distributing service function chain data and service function instance data in a network
US20200351204A1 (en) Method, apparatus, and system for load balancing of service chain
US10158561B2 (en) Data plane learning of bi-directional service chains
US10951717B2 (en) Differentiated services within a service mesh
US8913613B2 (en) Method and system for classification and management of inter-blade network traffic in a blade server
US20160277297A1 (en) Sdn packet forwarding
CN102571587B (en) Method and equipment for forwarding messages
WO2015073190A1 (en) Shortening of service paths in service chains in a communications network
CN105379218A (en) Service flow processing method, apparatus and device
US9882766B2 (en) System and method for access control list conversion
US11133947B2 (en) Multicast routing
CN108199965B (en) Flow spec table item issuing method, network device, controller and autonomous system
CN108632125A (en) A kind of multicast list management method, device, equipment and machine readable storage medium
Hantouti et al. A novel SDN-based architecture and traffic steering method for service function chaining
US9608911B2 (en) Systems and methods for preventing source suppression of routed information in a load-balanced network
CN109714259B (en) Traffic processing method and device
US20070206599A1 (en) Priority Content Addressable Memory (PCAM)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant