CN111817958A - Message forwarding method and network equipment - Google Patents

Message forwarding method and network equipment Download PDF

Info

Publication number
CN111817958A
CN111817958A CN202010526552.1A CN202010526552A CN111817958A CN 111817958 A CN111817958 A CN 111817958A CN 202010526552 A CN202010526552 A CN 202010526552A CN 111817958 A CN111817958 A CN 111817958A
Authority
CN
China
Prior art keywords
target
network
message
board group
network board
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.)
Granted
Application number
CN202010526552.1A
Other languages
Chinese (zh)
Other versions
CN111817958B (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 is becoming more and more the dominant solution of the campus network, especially for educational networks such as universities and colleges, with the deployment of wired and wireless integration and the further popularization of IPV6 addresses, basically all end users have one IPV4 address and a plurality of IPV6 addresses (generally 2 addresses) at the same time, which has a high requirement on specifications of ARP (address resolution protocol) and ND (neighbor discovery) host routing table entries of Spine devices in the VXLAN environment, and many large campuses propose a requirement for supporting 10W end users, which requires that Spine devices at least support 100K ARP host routing 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 a MAC table entry and/or an IPV4 host route;
the second type forwarding table entry is an IPV6 host route.
Optionally, the step of sending, by the line card of the network device, the target packet to the target network board group based on the communication address characteristic 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 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.
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 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 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 entry.
Optionally, the first-type forwarding table entry is a MAC table entry and/or an IPV4 host route;
the second type forwarding table entry is an IPV6 host route.
Optionally, when the target packet is sent to the target network board group based on the communication address characteristic of the target packet, the line card of the trusted switch 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 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 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, … …, and a line card n, wherein 4 screens (screen 1, screen 2, screen 3, and screen 4) are configured on the network device, and the 4 screens are configured into 2 screen groups according to the distance description of the line card 1 and the screen 1, the screen 2, the screen 3, and the screen 4, wherein the screen 1 and the screen 2 form the screen group 1, and the screen 3 and the screen 4 form the screen group 2. The line card 1 is connected with the network of the network boards 1 and 2 through the aggregation group 1 of the HG ports of the local pointing network board group 1 (the network boards 1 and 2), and the line card 1 is connected with the network of the network boards 3 and 4 through the aggregation group 2 of the HG ports of the local pointing network board group 2 (the network boards 3 and 4).
Further, in this embodiment of the present application, a line card of a network device and a switch chip used by a network board may be the same, and then, a host routing table entry on the network board may be used to expand a forwarding table entry of the network device. 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 packet, the line card forwards the target packet based on the communication address of the target packet and the first forwarding table entry, where in this embodiment, the first packet refers to an IPV6 packet, and the second packet refers to an IPV4 packet or a two-layer 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-type forwarding table entry is a MAC table entry and/or an IPV4 host route, and the second-type 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 entries and/or IPV4 host routing table entries for forwarding IPV4 messages, while the host routing table entries on the net 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 a destination communication address carried by an IPV6 message), 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 of the application, when the line card of the network device sends the target packet to the target network board set based on the communication address characteristic of the target packet, a preferred implementation manner is that the line card of the network device determines the target network board set corresponding to the communication address characteristic of the target packet based on 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, and then the core switch may equally distribute the learned IPV6 host routes to the corresponding network board group based on the learned characteristics of the IPV6 host routes.
For example, assuming that 2 mesh groups are configured, the IPV6 host routing table can be divided into 2 according to certain characteristics, and assuming that 3 mesh groups are configured, the IPV6 host routing table can be divided into 3. In a preferred implementation, when the number of the otter board groups is 2, the IPV6 hosts are divided based on the parity row of the last bit, the IPV6 host with the odd number of the last bit is routed to the otter board group 1, and the IPV6 host with the even number of the last bit is routed to the otter board group 2. And when the number of the screen plate groups is 3, taking the last 4 bits of the last 1 byte of the IPV6 host routing, dividing by 3 to obtain remainder, issuing to the first screen plate group when the remainder is 0, issuing to the 2 nd screen plate group when the remainder is 1, and issuing to the 3 rd screen plate group when the remainder is 2.
Further, in this 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 the host message is determined to be an IPV6 host message, determine a feature of a destination IPV6 address based on the destination IPV6 address of the IPV6 host message, and determine a target network board group (that is, 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 pointing to a link HG port of the target network board group locally, and forward the IPV6 message by using a network board lookup table 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 the embodiment of the present application, when forwarding an IPV6 packet to a corresponding target network board group, it is preferable to forward the IPV6 packet to one network board in the corresponding network board group, for example, each network board in the network board group forwards IPV6 packet traffic that it 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, when one network board group is used to forward IPV6 messages, it is essential that one network board in the network board group is used to forward IPV6 messages, and preferably, each network board in 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 an odd-even row of the last bit 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 screen 1 and screen 2 are both: 2000: 21,3000: 103: … ….
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 a 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 a MAC table entry and/or an IPV4 host route;
the second type forwarding table entry is an IPV6 host route.
Optionally, when the target packet is sent to the target network board group based on the communication address characteristic of the target packet, the line card 40 of the trusted switch 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 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 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 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.
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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 may 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 (10)

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, 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, respectively, 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.
2. The method of claim 1, wherein 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.
3. The method according to claim 1 or 2, wherein the forwarding table entry of the first type is a MAC table entry and/or an IPV4 host route;
the second type forwarding table entry is an IPV6 host route.
4. 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 set based on the communication address characteristic 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.
5. The method of claim 4, 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.
6. A network device is characterized in that the network device comprises a line card and a plurality of network boards, the plurality of network boards of the network device are configured to be at least one network board group, the line card of the network device is configured with a first type of forwarding table entry, each network board group of the network device is configured with a second type of forwarding table entry corresponding to different communication address characteristics, 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;
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.
7. The network device of claim 6, wherein the line card of the network device is further 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.
8. The network device according to claim 6 or 7, wherein the forwarding table entry of the first type is a MAC table entry and/or an IPV4 host route;
the second type forwarding table entry is an IPV6 host route.
9. The network device according to claim 6, wherein, when the target packet is sent to the target network board group based on the communication address characteristic of the target packet, the line card of the trusted switch 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.
10. The network device of claim 9, 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 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.
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 true CN111817958A (en) 2020-10-23
CN111817958B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112751756A (en) * 2020-12-25 2021-05-04 杭州迪普信息技术有限公司 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通告的域间路由协议", 《计算机工程与科学》 *
陈志欣等: "EPON系统动态多组播VLAN的实现", 《电视技术》 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN111817958B (en) 2023-04-07

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
US8014409B1 (en) Virtual router identifier that spans multiple interfaces in a routing device
EP2767047B1 (en) Distributed ipv6 neighbor discovery for large datacenter switching systems
CN104954182B (en) A kind of method and apparatus for configuring Virtual Server Cluster
CN102763380A (en) Distributed routing architecture
CN101729425B (en) Method and equipment for flow sending in VRRP networking
CN107040393B (en) Route management method and equipment
US10382391B2 (en) Systems and methods for managing network address information
CN106130920A (en) A kind of message forwarding method and device
CN100531215C (en) Method for realizing multiple network device link aggregation
CN112087533A (en) Message processing method, device, equipment and storage medium
CN111817958B (en) Message forwarding method and network equipment
CN106685821A (en) Multipath selection method and multipath selection equipment
CN111464443B (en) Message forwarding method, device, equipment and storage medium based on service function chain
CN106209634B (en) Learning method and device of address mapping relation
EP2517422B1 (en) Grid router and network
US20130077530A1 (en) Scaling IPv6 on Multiple Devices Virtual Switching System with Port or Device Level Aggregation
EP1690380A1 (en) Port-based loadsharing for an access-layer switch
CN107046503B (en) Message transmission method, system and device
CN113329048B (en) Cloud load balancing method and device based on switch and storage medium
CN113890855A (en) Message forwarding method, system, equipment and medium
CN112242907B (en) Multicast group membership management
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