CN111817958B - Message forwarding method and network equipment - Google Patents

Message forwarding method and network equipment Download PDF

Info

Publication number
CN111817958B
CN111817958B CN202010526552.1A CN202010526552A CN111817958B CN 111817958 B CN111817958 B CN 111817958B CN 202010526552 A CN202010526552 A CN 202010526552A CN 111817958 B CN111817958 B CN 111817958B
Authority
CN
China
Prior art keywords
target
network
message
board group
line card
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
CN202010526552.1A
Other languages
Chinese (zh)
Other versions
CN111817958A (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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202010526552.1A priority Critical patent/CN111817958B/en
Publication of CN111817958A publication Critical patent/CN111817958A/en
Application granted granted Critical
Publication of CN111817958B publication Critical patent/CN111817958B/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/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/741Routing in networks with a plurality of addressing schemes, e.g. with both IPv4 and IPv6
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

The present application relates to the field of routing forwarding technologies, and in particular, to a packet forwarding method and a network device. The network equipment comprises a line card and a plurality of network boards, wherein the network boards of the network equipment are configured to be at least one network board group, the line card of the network equipment is configured with a first class of forwarding table items, and each network board group of the network equipment is configured with a second class of forwarding table items corresponding to different communication address characteristics respectively, and the method comprises the following steps: the line card of the network equipment judges the message type of the received target message, and determines the communication address characteristic of the target message when judging that the target message is a second type message; the line card of the network equipment sends the target message to a target network board group based on the communication address characteristic of the target message, and the target network board group is configured with a target second-class forwarding table entry corresponding to the communication address characteristic of the target message; and the target network board group of the network equipment forwards the target message based on the communication address of the target message and the target second-class forwarding table entry.

Description

Message forwarding method and network equipment
Technical Field
The present application relates to the field of routing forwarding technologies, and in particular, to a packet forwarding method and a network device.
Background
With the rapid development and application of a campus network, VXLAN distributed gateway deployment becomes more and more a dominant solution of the campus network, especially for educational networks such as large schools, with the deployment of wired and wireless integration and the further popularization of IPV6 addresses, basically all end users have one IPV4 address and multiple IPV6 addresses (generally 2 addresses) at the same time, which puts high requirements on specifications of ARP (address resolution protocol) and ND (neighbor discovery) host routing table entries of Spine devices in a VXLAN environment, and many large parks put forward requirements on supporting 10W end users, which requires that ARP on the Spine devices at least can support 100K and 200K ND host routing.
As a campus core switch, the host routing specification that can be supported by the highest-end and largest-size line card at present can only support less than 5W users, and as Spine equipment in a VXLAN environment, how the campus core switch breaks through the specification bottleneck of ARP/ND table entries to support application of a larger-size campus network scenario becomes a problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the application provides a message forwarding method and network equipment, which are used for solving the problem that a large number of users cannot be supported due to limited forwarding table items on a line card of the network equipment in the prior art.
The embodiment of the application provides the following specific technical scheme:
in a first aspect, the present application provides a packet forwarding method, where the method is applied to a network device, where the network device includes a line card and a plurality of network boards, the plurality of network boards of the network device are configured as at least one network board group, the line card of the network device is configured with a first type of forwarding table entry, and each network board group of the network device is configured with a second type of forwarding table entry corresponding to different communication address features, respectively, where the method includes:
the line card of the network equipment judges the message type of a received target message, and determines the communication address characteristic of the target message when judging that the target message is a second type message;
the line card of the network equipment sends the target message to a target network board group based on the communication address characteristic of the target message, wherein the target network board group is configured with a target second-class forwarding table entry corresponding to the communication address characteristic of the target message;
and forwarding the target message by the target network board group of the network equipment based on the communication address of the target message and the target second-class forwarding table entry.
Optionally, the method further comprises:
and when the line card of the network equipment judges that the target message is the first type of message, forwarding the target message based on the communication address of the target message and the first type of forwarding table entry.
Optionally, the first type forwarding table entry is an MAC table entry and/or IPV4 host routing;
and the second class of forwarding table entry is an IPV6 host route.
Optionally, the step that the line card of the network device sends the target packet to the target network board group based on the communication address feature of the target packet includes:
the line card of the network equipment determines a target network board group corresponding to the communication address characteristic of the target message based on the communication address characteristic of the target message;
and the line card of the network equipment sends the target message to the target network board group through the aggregation group of the link HG port which locally points to the target network board group.
Optionally, the step of sending, by the line card of the network device, the target packet to the target network board group through the aggregation group of the link HG port which is locally directed to the target network board group includes:
and the line card of the network equipment sends the target message to a target screen plate in the target screen plate group through a target link HG port of the aggregation group of the link HG port locally pointing to the target screen plate group, wherein the target screen plate is any screen plate in the target screen plate group.
In a second aspect, the present application provides a network device, where the network device includes a line card and a plurality of network boards, the network boards of the network device are configured as at least one network board group, the line card of the network device is configured with a first type of forwarding table entry, and each network board group of the network device is configured with a second type of forwarding table entry corresponding to different communication address features, where,
the line card of the network equipment is used for judging the message type of a received target message and determining the communication address characteristic of the target message when the target message is judged to be a second type message;
the line card of the network equipment is also used for sending the target message to a target network board group based on the communication address characteristic of the target message, wherein the target network board group is configured with a target second-class forwarding table entry corresponding to the communication address characteristic of the target message;
and the target network board group of the network equipment is used for forwarding the target message based on the communication address of the target message and the target second-class forwarding table entry.
Optionally, the line card of the network device is further configured to:
and when the target message is judged to be the first type message, forwarding the target message based on the communication address of the target message and the first type forwarding table item.
Optionally, the first type forwarding table entry is an MAC table entry and/or an IPV4 host route;
and the second class of forwarding table entry is an IPV6 host route.
Optionally, when the target packet is sent to a target network board group based on the communication address characteristic of the target packet, the line card of the network device is specifically configured to:
determining a target network board group corresponding to the communication address characteristic of the target message according to the communication address characteristic of the target message;
and sending the target message to the target network board group through an aggregation group of a link HG port locally pointing to the target network board group.
Optionally, when the target packet is sent to the target network board group through the aggregation group of the link HG port locally pointing to the target network board group, the line card of the network device is specifically configured to:
and sending the target message to a target network board in the target network board group through a target link HG port of an aggregation group of a link HG port locally pointing to the target network board group, wherein the target network board is any network board in the target network board group.
The beneficial effect of this application is as follows:
to sum up, the method for forwarding a packet provided by the present application is applied to a network device, where the network device includes a line card and a plurality of network boards, the plurality of network boards of the network device are configured as at least one network board group, the line card of the network device is configured with a first type of forwarding table entry, and each network board group of the network device is configured with a second type of forwarding table entry corresponding to different communication address characteristics, and the method includes: the line card of the network equipment judges the message type of a received target message, and determines the communication address characteristic of the target message when judging that the target message is a second type message; the line card of the network equipment sends the target message to a target network board group based on the communication address characteristic of the target message, wherein the target network board group is configured with a target second-class forwarding table item corresponding to the communication address characteristic of the target message; and forwarding the target message by a target network board group of the network equipment based on the communication address of the target message and the target second-class forwarding table entry.
By adopting the message forwarding method provided by the application, the network boards of the network equipment are grouped, and the host routing table items of the specified types are configured on the network board group of the network equipment, so that the capacity of the forwarding table items of the network equipment is expanded, and the number of the user terminals which can be accessed to the networking is increased.
Drawings
Fig. 1 is a schematic structural diagram of a network device according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a message forwarding method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a core switch according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another network device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, the term "and" in the embodiment of the present application is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
When the present application refers to the ordinal numbers "first", "second", "third" or "fourth", etc., it should be understood that this is done for differentiation only, unless it is clear from the context that the order is actually expressed.
The scheme of the present application will be described in detail by specific examples, but the present application is not limited to the following examples.
For example, referring to fig. 1, a schematic structural diagram of a network device provided in the present application is shown, in an embodiment of the present application, the network device may be a Spine device (e.g., a core Switch) in a VXLAN networking, the network device includes at least one line Card (LineCard, LC) and a plurality of network boards (Switch Fabric cards, SFCs), and the plurality of network boards of the network device are configured as at least one network board group. As shown in fig. 1, the network device includes a line card 1, a line card 2, \8230;, a line card n, on which 4 net boards (net board 1, net board 2, net board 3 and net board 4) are arranged, and the line card 1 and the net board 1, the net board 2, the net board 3 and the net board 4 are described in terms of distance, the 4 net boards are arranged into 2 net board groups, wherein the net board 1 and the net board 2 form the net board group 1, and the net board 3 and the net board 4 form the net board group 2. The line card 1 is connected with the network of the network 1 and the network 2 through a local aggregation group 1 pointing to HG ports of the network plate group 1 (the network 1 and the network 2), and the line card 1 is connected with the network 3 and the network 4 through a local aggregation group 2 pointing to HG ports of the network plate group 2 (the network 3 and the network 4).
Further, in this embodiment of the present application, a line card of a network device may be the same as a switching chip used by a network board, and then, a forwarding table entry of the network device may be extended by using a host routing table entry on the network board. Specifically, forwarding table entries on a line card of the network device may be configured as a first-class forwarding table entry, and forwarding table entries on a mesh board of the network device may be configured as a second-class forwarding table entry, where each mesh board of the network device is configured as at least one mesh board group, and then, each mesh board group may be further configured as second-class forwarding table entries corresponding to different communication address characteristics, respectively, that is, messages with different communication address characteristics, and the messages are forwarded through different mesh board groups.
Exemplarily, referring to fig. 2, a schematic flow chart of a message forwarding method provided by the present application is shown, where the method is applied to a network device, where the network device includes a line card and a plurality of network boards, the plurality of network boards of the network device are configured as at least one network board group, the line card of the network device is configured with a first type of forwarding table entry, and each network board group of the network device is configured with a second type of forwarding table entry corresponding to different communication address features, and a detailed flow of the message forwarding method is as follows:
step 200: and the line card of the network equipment judges the message type of the received target message and determines the communication address characteristic of the target message when judging that the target message is the second type message.
Further, in this embodiment of the present application, the forwarding and sending of the packet further includes the following steps: when the line card of the network device determines that the target packet is a first type packet, the line card forwards the target packet based on the communication address of the target packet and the first type forwarding table entry, where in this embodiment of the present application, the first type packet refers to an IPV4 packet or a two-layer packet, and the second type packet refers to an IPV6 packet.
In the embodiment of the present application, a network device is taken as a Spine device (core switch) in VXLAN networking. Specifically, a preferred implementation manner is that the first-class forwarding table entry is an MAC table entry and/or an IPV4 host route, and the second-class forwarding table entry is an IPV6 host route.
That is, the host routing table entries on the line cards of the core switches are configured as MAC table entries and/or IPV4 host routing table entries for forwarding IPV4 messages, while the host routing table entries on the network boards of the core switches are configured as IPV6 host routes for forwarding IPV6 messages. That is, the MAC address and the IPV4 host route may be issued on a line card of the core switch (i.e., the core switch maintains the learned MAC address table entry and the IPV4 host route on the line card), and the IPV6 host route may be issued on the network board of the core switch (i.e., the core switch maintains the learned IPV6 host route on the network board).
Certainly, when the network device is a core switch and is used as a Spine device, a large number of local users do not need to be accessed, and a large number of MAC address table entries are not needed, so that the host routing table on the network board can be used as the MAC address table entries without being expanded.
Further, each screen of the core switch is configured as at least one screen group, for example, when the core switch is configured with 6 screens, the number of the screen groups may be configured as 1 group, 2 groups or 3 groups, that is, 6 screens may be regarded as 1 screen group, or 3 screens may be regarded as 1 screen group, or 2 screens may be regarded as 1 screen group. For another example, when the core switch is configured with 4 network boards, the number of the network board groups may be configured as 1 group or 2 groups, that is, 4 network boards may be used as 1 network board group, or 2 network boards may be used as 1 network board group.
It should be noted that a message forwarding rule needs to be configured on a line card of the core switch, that is, when receiving the IPV6 message, the IPV6 message needs to be redirected to a corresponding network board group, and the network board group queries an IPV6 forwarding table entry to forward the IPV6 message.
In this embodiment of the present application, different network board groups on a core switch are used for carrying and forwarding IPV6 messages with different characteristics (e.g., characteristics of destination communication addresses carried by IPV6 messages), and a specific packet forwarding policy is described in detail below.
Step 210: and the line card of the network equipment sends the target message to a target network board group based on the communication address characteristic of the target message, wherein the target network board group is configured with a target second-class forwarding table entry corresponding to the communication address characteristic of the target message.
In this embodiment, when the line card of the network device sends the target packet to the target network board group based on the communication address characteristic of the target packet, a preferred implementation manner is that the line card of the network device determines, based on the communication address characteristic of the target packet, the target network board group corresponding to the communication address characteristic of the target packet; and the line card of the network equipment sends the target message to the target network board group through the aggregation group of the link HG port which locally points to the target network board group.
In practical applications, the network board of the core switch is configured as at least one network board group, so that the core switch can equally divide and send the learned IPV6 host routes to the corresponding network board groups based on the learned characteristics of the IPV6 host routes.
For example, assuming that 2 mesh panel groups are configured, the IPV6 host routing table may be divided into 2 according to certain characteristics, and assuming that 3 mesh panel groups are configured, the IPV6 host routing table may be divided into 3. A preferred implementation is that when the number of the mesh plate groups is 2, the mesh plate groups are divided based on the parity row of the last bit of the IPV6 host, the IPV6 host with the last bit being an odd number is routed to the mesh plate group 1, and the IPV6 host with the last bit being an even number is routed to the mesh plate group 2. When the number of the screen plate groups is 3, the last 4 bits of the last 1 byte of the IPV6 host routing are taken, the remainder is obtained by dividing 3, when the remainder is 0, the remainder is issued to the first screen plate group, when the remainder is 1, the remainder is issued to the 2 nd screen plate group, and when the remainder is 2, the remainder is issued to the 3 rd screen plate group.
Further, in the embodiment of the present application, the line card of the core switch is connected to each network board group through the aggregation port of the link HG port that points to each network board group locally, for example, assuming that the network board group 1 includes the network board 1 and the network board 2, on the line card 1 of the core switch, the link HG port 1 and the link HG port 2 aggregate to form the aggregation group 1 of the link HG port, the line card 1 is in communication connection with the network board group 1 through the aggregation group 1 of the link HG port, where the link HG port 1 is in communication connection with the network board 1, and the link HG port 2 is in communication connection with the network board 2.
To sum up, when a line card of a network device receives a host message, it first needs to determine the message type of the host message, that is, determine whether the host message is an IPV6 host message, if it is determined to be an IPV6 host message, determine a feature of the destination IPV6 address based on the destination IPV6 address of the IPV6 host message, and determine a target network board group (i.e., a network board group for forwarding the IPV6 host message) corresponding to the feature of the destination IPV6 address based on the feature of the destination IPV6 address, and then redirect the IPV6 message to the target network board group by using an aggregation group of a link HG port locally pointing to the target network board group, and forward the IPV6 message by looking up a table by using the network board in the target network board group.
In practical application, the line card of the network device is in communication connection with each network board through the local link HG port, that is, a plurality of link HG ports for connecting each network board in the network board group 1 are aggregated to form an aggregation group. Then, in this embodiment of the present application, when forwarding the IPV6 packet to the corresponding target mesh panel group, preferably, the IPV6 packet is forwarded to one mesh panel in the corresponding mesh panel group, for example, each mesh panel in the mesh panel group forwards IPV6 packet traffic that is responsible for forwarding in a load balancing manner. When any one screen plate in the screen plate group has a fault, the rest normal screen plates in the screen plate group can be adopted for load sharing. Specifically, the load sharing method is not described herein again.
Step 220: and the target network board group of the network equipment forwards the target message based on the communication address of the target message and the target second-class forwarding table entry.
Specifically, in this embodiment, when the target network board group of the network device forwards the target packet based on the communication address of the target packet and the target second-type forwarding table entry, a preferable implementation manner is that the line card of the network device sends the target packet to a target network board in the target network board group through a target link HG port of an aggregation group which locally points to a link HG port of the target network board group, where the target network board is any one network board in the target network board group.
That is to say, one network board group is used to forward IPV6 messages, which is actually to forward IPV6 messages by using one network board in the one network board group, and preferably, each network board in the one network board group can forward IPV6 message traffic that needs to be forwarded by the one network board group in a load balancing manner.
The following describes the structure of the network device provided by the present application in detail with reference to specific application scenarios. The network device is a core switch (Spine device) in a VXLAN networking, for example, refer to fig. 3, and is a schematic diagram of the core switch provided in the embodiment of the present application, the core switch includes a line card 1, a network board 2, a network board 3 and a network board 4, where the network board 1 and the network board 2 form a network board group 1, the network board 3 and the network board 4 form a network board group 2, the line card 1 is in communication connection with each network board of the network board group 1 through a aggregation group 1 of local HG ports, and the line card 1 is in communication connection with each network board of the network board group 2 through the aggregation group 2 of local HG ports. Forwarding table entries of the line card 1 are configured to be IPV4 host routes for forwarding IPV4 messages, and an IFP rule configured in the line card is that the network board group is 2 groups, and the network board group is divided according to the last odd-even line of the IPV6 host route, an odd host route is issued to a designated network board in the network board group 1 through the aggregation group 1 of the HG port, an even host route is issued to the designated network board in the network board group 2, forwarding table entries of the network board are configured to be IPV6 host routes for forwarding IPV6 messages, and the network board group 1 and the network board group 2 respectively carry IPV6 host traffic with different forwarding address characteristics. In order to realize the flow load sharing between the screens in a screen group, the contents of the IPV6 entries maintained on different screens in the same screen group are completely the same, for example, the IPV6 entries maintained in the screen 1 and the screen 2 are both: 2000, 21,3000, 103, 8230, 8230and 8230.
Based on the above embodiments, referring to fig. 4, a schematic structural diagram of another network device provided in the present application is shown, where the network device includes a line card 40 and a plurality of network boards 41, the plurality of network boards 41 of the network device are configured as at least one network board group 42, the line card 40 of the network device is configured with a first type of forwarding table entry, each network board group 42 of the network device is configured with a second type of forwarding table entry corresponding to different communication address features, where,
the line card 40 of the network device is configured to determine a message type of a received target message, and determine a communication address characteristic of the target message when the target message is determined to be a second type of message;
the line card 40 of the network device is further configured to send the target packet to a target network board group based on the communication address characteristic of the target packet, where the target network board group is configured with a target second-class forwarding table entry corresponding to the communication address characteristic of the target packet;
and the target network board group 42 of the network device is configured to forward the target packet based on the communication address of the target packet and the target second-class forwarding table entry.
Optionally, the line card 40 of the network device is further configured to:
and when the target message is judged to be the first type message, forwarding the target message based on the communication address of the target message and the first type forwarding table entry.
Optionally, the first type forwarding table entry is an MAC table entry and/or IPV4 host routing;
and the second class of forwarding table entry is an IPV6 host route.
Optionally, when the target packet is sent to a target network board group based on the communication address characteristic of the target packet, the line card 40 of the network device is specifically configured to:
determining a target network board group corresponding to the communication address characteristic of the target message according to the communication address characteristic of the target message;
and sending the target message to the target network board group through an aggregation group of a link HG port locally pointing to the target network board group.
Optionally, when the target packet is sent to the target network board group through the aggregation group of the link HG port locally pointing to the target network board group, the line card 40 of the network device is specifically configured to:
and sending the target message to a target network board in the target network board group through a target link HG port of an aggregation group of a link HG port locally pointing to the target network board group, wherein the target network board is any network board in the target network board group.
To sum up, the method for forwarding a packet provided by the present application is applied to a network device, where the network device includes a line card and a plurality of network boards, the plurality of network boards of the network device are configured as at least one network board group, the line card of the network device is configured with a first type of forwarding table entry, and each network board group of the network device is configured with a second type of forwarding table entry corresponding to different communication address features, and the method includes: the line card of the network equipment judges the message type of a received target message, and determines the communication address characteristic of the target message when the target message is judged to be a second type message; the line card of the network equipment sends the target message to a target network board group based on the communication address characteristic of the target message, wherein the target network board group is configured with a target second-class forwarding table entry corresponding to the communication address characteristic of the target message; and forwarding the target message by the target network board group of the network equipment based on the communication address of the target message and the target second-class forwarding table entry.
By adopting the message forwarding method provided by the application, the network boards of the network equipment are grouped, and the host routing table entries of the specified types are configured on the network board group of the network equipment, so that the capacity of the forwarding table entries of the network equipment is expanded, and the number of the user terminals which can be accessed to the networking is increased.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications can be made in the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (8)

1. A message forwarding method is applied to a network device, wherein the network device includes a line card and a plurality of network boards, the plurality of network boards of the network device are configured as at least one network board group, the line card of the network device is configured with a first type of forwarding table entry, the first type of forwarding table entry is an MAC table entry and/or an IPV4 host route, each network board group of the network device is configured with a second type of forwarding table entry corresponding to different communication address characteristics, and the second type of forwarding table entry is an IPV6 host route, and the method includes:
the line card of the network equipment judges the message type of a received target message, and determines the communication address characteristic of the target message when judging that the target message is a second type message, wherein the second type message refers to an IPV6 message;
the line card of the network equipment sends the target message to a target network board group based on the communication address characteristic of the target message, wherein the target network board group is configured with a target second-class forwarding table entry corresponding to the communication address characteristic of the target message;
and forwarding the target message by a target network board group of the network equipment based on the communication address of the target message and the target second-class forwarding table entry.
2. The method of claim 1, wherein the method further comprises:
when the line card of the network equipment judges that the target message is a first type message, the line card forwards the target message based on the communication address of the target message and the first type forwarding table entry, wherein the first type message refers to an IPV4 message or a two-layer message.
3. The method of claim 1, wherein the step of the line card of the network device sending the target packet to a target network board group based on the communication address characteristics of the target packet comprises:
the line card of the network equipment determines a target network board group corresponding to the communication address characteristic of the target message based on the communication address characteristic of the target message;
and the line card of the network equipment sends the target message to the target network board group through the aggregation group of the link HG port which locally points to the target network board group.
4. The method of claim 3, wherein the step of the line card of the network device sending the target packet to the target set of net-boards through an aggregation group of link HG ports locally directed to the target set of net-boards comprises:
and the line card of the network equipment sends the target message to a target network board in the target network board group through a target link HG port of an aggregation group of link HG ports locally pointing to the target network board group, wherein the target network board is any network board in the target network board group.
5. A network device, the network device comprising a line card and a plurality of network boards, the network boards of the network device being configured as at least one network board group, the line card of the network device being configured with a first type of forwarding table entry, the first type of forwarding table entry being a MAC table entry and/or an IPV4 host routing, each network board group of the network device being configured with a second type of forwarding table entry corresponding to different communication address characteristics, respectively, the second type of forwarding table entry being an IPV6 host routing, wherein,
the line card of the network equipment is used for judging the message type of a received target message and determining the communication address characteristic of the target message when the target message is judged to be a second type message, wherein the second type message refers to an IPV6 message;
the line card of the network equipment is also used for sending the target message to a target network board group based on the communication address characteristic of the target message, wherein the target network board group is configured with a target second-class forwarding table entry corresponding to the communication address characteristic of the target message;
and the target network board group of the network equipment is used for forwarding the target message based on the communication address of the target message and the target second-class forwarding table entry.
6. The network device of claim 5, wherein the line card of the network device is further to:
and when the target message is judged to be a first-class message, forwarding the target message based on the communication address of the target message and the first-class forwarding table entry, wherein the first-class message refers to an IPV4 message or a two-layer message.
7. The network device according to claim 5, wherein when sending the target packet to a target network board group based on a communication address characteristic of the target packet, the line card of the network device is specifically configured to:
the communication address characteristics of the target message determine a target network board group corresponding to the communication address characteristics of the target message;
and sending the target message to the target network board group through an aggregation group of a link HG port locally pointing to the target network board group.
8. The network device of claim 7, wherein, when the target packet is sent to the target mesh group through an aggregation group of link HG ports that are locally directed to the target mesh group, the line card of the network device is specifically configured to:
and sending the target message to a target mesh board in the target mesh board group through a target link HG port of the aggregation group locally pointing to the link HG port of the target mesh board group, wherein the target mesh board is any mesh board in the target mesh board group.
CN202010526552.1A 2020-06-10 2020-06-10 Message forwarding method and network equipment Active CN111817958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010526552.1A CN111817958B (en) 2020-06-10 2020-06-10 Message forwarding method and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010526552.1A CN111817958B (en) 2020-06-10 2020-06-10 Message forwarding method and network equipment

Publications (2)

Publication Number Publication Date
CN111817958A CN111817958A (en) 2020-10-23
CN111817958B true CN111817958B (en) 2023-04-07

Family

ID=72844893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010526552.1A Active CN111817958B (en) 2020-06-10 2020-06-10 Message forwarding method and network equipment

Country Status (1)

Country Link
CN (1) CN111817958B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112751756B (en) * 2020-12-25 2023-02-28 杭州迪普信息技术有限公司 Data forwarding method, device, equipment and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217463A (en) * 2007-12-27 2008-07-09 华为技术有限公司 Method and device for controlling message forwarding
CN101296186A (en) * 2008-06-13 2008-10-29 杭州华三通信技术有限公司 Routing switching device, method and switching cable fastener plate
CN104954333A (en) * 2014-03-28 2015-09-30 华为技术有限公司 Method and system for message transmission
CN105991444A (en) * 2015-08-06 2016-10-05 杭州迪普科技有限公司 Business processing method and business processing apparatus
CN106302264A (en) * 2015-06-08 2017-01-04 杭州华三通信技术有限公司 Unicast message interoperability methods between Dune switched line clamp and flexibly cable card board and device
CN107040393A (en) * 2015-08-21 2017-08-11 新华三技术有限公司 A kind of route management method and equipment
CN107547243A (en) * 2017-05-24 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN107800581A (en) * 2016-09-01 2018-03-13 中兴通讯股份有限公司 A kind of loop detection method of double layer network and double layer network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217463A (en) * 2007-12-27 2008-07-09 华为技术有限公司 Method and device for controlling message forwarding
CN101296186A (en) * 2008-06-13 2008-10-29 杭州华三通信技术有限公司 Routing switching device, method and switching cable fastener plate
CN104954333A (en) * 2014-03-28 2015-09-30 华为技术有限公司 Method and system for message transmission
CN106302264A (en) * 2015-06-08 2017-01-04 杭州华三通信技术有限公司 Unicast message interoperability methods between Dune switched line clamp and flexibly cable card board and device
CN105991444A (en) * 2015-08-06 2016-10-05 杭州迪普科技有限公司 Business processing method and business processing apparatus
CN107040393A (en) * 2015-08-21 2017-08-11 新华三技术有限公司 A kind of route management method and equipment
CN107800581A (en) * 2016-09-01 2018-03-13 中兴通讯股份有限公司 A kind of loop detection method of double layer network and double layer network
CN107547243A (en) * 2017-05-24 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BA-BGP:一种基于备份AS通告的域间路由协议;胡乔林等;《计算机工程与科学》;20110115(第01期);全文 *
EPON系统动态多组播VLAN的实现;陈志欣等;《电视技术》;20110502(第09期);全文 *
一种基于分布式网络处理器系统的路由软件平台;吉萌等;《计算机科学》;20051125(第11期);全文 *
基于标签的多协议承载机制研究;毛健彪等;《小型微型计算机系统》;20130915(第09期);全文 *

Also Published As

Publication number Publication date
CN111817958A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN102771094B (en) Distributed routing framework
CN107819663B (en) Method and device for realizing virtual network function service chain
CN102792644B (en) For the system and method for routing packets
CN104954182B (en) A kind of method and apparatus for configuring Virtual Server Cluster
CN107040393B (en) Route management method and equipment
CN102763380A (en) Distributed routing architecture
CN106559324A (en) A kind of method E-Packeted based on equal cost multipath and the network equipment
CN101729425B (en) Method and equipment for flow sending in VRRP networking
EP2767047A1 (en) Distributed ipv6 neighbor discovery for large datacenter switching systems
US10382391B2 (en) Systems and methods for managing network address information
CN112367254A (en) Cross-device link aggregation method and device and electronic device
CN107710700A (en) The system and method for handling the packet in computer network
CN107634905A (en) Data forwarding method and device in pile system
CN106130920A (en) A kind of message forwarding method and device
CN111817958B (en) Message forwarding method and network equipment
CN104836738A (en) Router hardware item resource management method and device, and network equipment
CN111371608A (en) Method, device and medium for deploying SFC service chain
CN111464443B (en) Message forwarding method, device, equipment and storage medium based on service function chain
CN102752199B (en) Method and system for constructing data forwarding plane of virtual router
CN106685821A (en) Multipath selection method and multipath selection equipment
CN106209634B (en) Learning method and device of address mapping relation
CN1871822B (en) Port-based loadsharing for an access-layer switch
US20130077530A1 (en) Scaling IPv6 on Multiple Devices Virtual Switching System with Port or Device Level Aggregation
CN117319343A (en) Policy routing implementation method, device and storage medium
CN103370910A (en) Methods, systems, and computer readable media for next hop scaling with link aggregation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant