Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message processing method and label switching router in MPLS network

A technology of label switching and message processing, applied in the field of network communication

Active Publication Date: 2013-10-23
NEW H3C TECH CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] This application provides a message processing method and a label switching router in an MPLS network to solve the forwarding loop problem existing in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message processing method and label switching router in MPLS network
  • Message processing method and label switching router in MPLS network
  • Message processing method and label switching router in MPLS network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] The packet processing method in the MPLS network according to Embodiment 1 of the present application can be executed by any LSR. Such as figure 2 As shown, the method includes the following steps:

[0044] Step S202, obtain the corresponding relationship between the MAC (Media Access Control, Media Access Control) address of the neighbor LSR directly connected to the device, the LSR ID (identification) of the neighbor LSR, and the interface connected to the neighbor LSR on the device and save to the neighbor device mapping table;

[0045] In the actual implementation process, you can first associate the interface connected to the neighbor LSR on the device, the MAC address of the neighbor LSR, and the LSR ID of the neighbor LSR at the control plane, and then configure the association on the forwarding plane to guide the report. Text forwarded.

[0046] Specifically, at the control level:

[0047] When the MPLS network adopts the LDP (Label Distribution Protocol, l...

Embodiment 2

[0080] by figure 1 The LSR C in the shown MPLS network is taken as an example to describe the method in the first embodiment above in detail.

[0081] exist figure 1 Among them, the LSR ID of LSR A is 1.1.1.1, and the MAC address corresponding to the interface connected to LSR C is 1-1-1; the LSR ID of LSR B is 2.2.2.2, and the MAC address corresponding to the interface connected to LSR C is 2- 2-2; the LSR ID of LSR C is 3.3.3.3, the interface connected to LSR A is Intf1, and the corresponding MAC address is 3-3-3, the interface connected to LSR B is intf2, and the corresponding MAC address is 3-3- 4.

[0082] The neighbor device mapping table formed by LSR C according to the above step S202 is shown in Table 3:

[0083] table 3

[0084] MAC address

interface

LSR ID

1-1-1

Intf1

1.1.1.1

2-2-2

Intf2

2.2.2.2

[0085] After LDP FRR is enabled on LSR A, LSR B, and LSR C, according to the existing technology, LSR A to LSR B...

Embodiment 3

[0102] In Embodiment 1, the MPLS packets that only need to be exchanged for labels are directly discarded after a forwarding loop is detected. However, for MPLS packets that need to pop labels or press labels, it is impossible to simply determine that the last-hop LSR that sends the MPLS packet to this LSR is the same as the next-hop LSR that the MPLS packet is to be forwarded to, that is, Think of it as a forwarding loop. Because in some cases, for example, the situation of LSR A→LSR B→LSR A is normal.

[0103] Such as figure 1 As shown in the figure, in the case of TE FRR, the primary LSP from LSR A to LSR B is LSR A→LSR C→LSR B, and the TE FRR function is enabled on LSR A and LSR C. The backup LSP for protecting LSR C→LSR B is LSR C→LSR A→LSR B.

[0104] The incoming label mapping table on LSR C is shown in Table 6:

[0105] Table 6

[0106]

[0107] In Table 6, T indicates that tunneling is required and there is pressure label operation. m means active, b means FR...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a message processing method and an LSR in an MPLS network. The message processing method comprises the following steps that the MAC address of a neighbor LSR directly connected with the LSR and the corresponding relation between the LSR ID of the neighbor LSR and the interface, connected with the neighbor LSR, of the LSR are obtained and stored in a mapping table of the neighbor LSR through the LSR; after an MPLS message is received, according to the source MAC address and the import interface of the MPLS massage, the source LSR ID corresponding to the MPLS message is found in the mapping table of the neighbor LSR; whether the found source LSR ID is identical to the LSR ID of a next-hop LSR which the MPLS message is forwarded to is judged; if the found source LSR ID is identical to the LSR ID of the next-hop LSR, the MPLS massage is discarded when the MPLS massage is the massage only needing label switching operation. The message processing method and the label switching router can detect forwarding loops and stop the forwarding loops.

Description

technical field [0001] The present application relates to the technical field of network communication, in particular to a message processing method and a label switching router in an MPLS network. Background technique [0002] MPLS (Multiprotocol Label Switching, Multiprotocol Label Switching) is a system for fast data packet switching and routing, which provides the capabilities of destination, routing, forwarding and switching for network data traffic. More specifically, it has mechanisms for managing various forms of communication flow. MPLS is independent of the second and third layer protocols, and it provides a way to map IP addresses etc. into simple fixed-length labels for different packet forwarding and packet switching technologies. [0003] When the link in the MPLS (Multiprotocol Label Switching, multi-protocol label switching) network is unavailable, for example, a link failure or LSR (Label Switching Router, label switching router) failure, it needs to be tra...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/723H04L29/12H04L12/437H04L12/771H04L45/50H04L45/60
Inventor 赵昌峰
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products