Nothing Special   »   [go: up one dir, main page]

CN110958181B - Method and device for distributing SRv 6-crossing slicing network by ISIS protocol - Google Patents

Method and device for distributing SRv 6-crossing slicing network by ISIS protocol Download PDF

Info

Publication number
CN110958181B
CN110958181B CN201911246856.6A CN201911246856A CN110958181B CN 110958181 B CN110958181 B CN 110958181B CN 201911246856 A CN201911246856 A CN 201911246856A CN 110958181 B CN110958181 B CN 110958181B
Authority
CN
China
Prior art keywords
tlv
endpoint function
sub
isis protocol
endpoint
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
CN201911246856.6A
Other languages
Chinese (zh)
Other versions
CN110958181A (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.)
UTStarcom Telecom Co Ltd
Original Assignee
UTStarcom Telecom 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 UTStarcom Telecom Co Ltd filed Critical UTStarcom Telecom Co Ltd
Priority to CN201911246856.6A priority Critical patent/CN110958181B/en
Publication of CN110958181A publication Critical patent/CN110958181A/en
Application granted granted Critical
Publication of CN110958181B publication Critical patent/CN110958181B/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/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a method and a device for releasing a cross SRv6 slice network by an ISIS protocol, which relate to the technical field of communication and comprise the steps of receiving a message to be forwarded and determining an endpoint function in the message; wherein the endpoint function is to determine a network type of the slice; determining Sub-TLVs of the endpoint functions based on the endpoint functions and the ISIS protocol preset to be expanded; SID information for endpoint functionality is published using ISIS protocol based on Sub-TLV. The invention defines the mode of distributing end.N, end.NX and end.NT through the ISIS protocol by utilizing the ISIS protocol of the preset extension on the basis of not modifying the original protocol as much as possible, thereby further realizing the distribution of the cross-slice network.

Description

Method and device for distributing SRv 6-crossing slicing network by ISIS protocol
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for issuing a cross SRv6 slicing network by an ISIS protocol.
Background
The present invention is an extension of the patent application publication No. CN 109688057A. After introducing Network as a part of the function of the SID (Segment Identifier) of SRv6, ISIS needs to publish the part of the function. In addition, three new END types are proposed in patent application publication No. CN 110266594A: end.n, end.nx and end.nt, ISIS also needs to issue SIDs for these three newly defined END types after introduction of end.n, end.nx and end.nt. However, the SID information of corresponding end.n, end.nx and end.nt is not published in the current protocol, so that the related Network element cannot acquire the SID with the Network function, and the existing ISIS cannot implement the publishing of the Network.
Disclosure of Invention
The invention aims to provide a method and a device for releasing a SRv 6-crossing slice Network by an ISIS protocol, which can ensure that END.N, END.NX and END.NT are released by the ISIS protocol, and realize the release of a Network.
The invention provides a method for distributing a cross SRv6 slicing network by an ISIS protocol, which comprises the following steps: receiving a message to be forwarded, and determining an endpoint function in the message; wherein the endpoint function is to determine a network type of the slice; determining a Sub-TLV of the endpoint function based on the endpoint function and a preset extended ISIS protocol; and issuing SID information of the endpoint function by using an ISIS protocol based on the Sub-TLV.
Further, the extension process of the preset extended ISIS protocol includes: obtaining an ISIS protocol, wherein the ISIS protocol comprises an END level TLV of END; corresponding the endpoint function to the ENDs one by one based on a preset corresponding rule; determining a Top level TLV of the END corresponding to the endpoint function based on the ISIS protocol; modifying the last field Sub-TLV of the Top level TLV based on a preset encoding rule to obtain a modified Top level TLV and a modified Sub-TLV; wherein the modified Sub-TLV is used for carrying SID information of the endpoint function; and taking the modified Top level TLV as the Top level TLV of the endpoint function, and correspondingly storing the modified Sub-TLV as the Sub-TLV of the endpoint function and the endpoint function into the ISIS protocol to obtain the expanded ISIS protocol.
Further, the endpoint functionality comprises a first endpoint functionality; determining a Sub-TLV of the endpoint function based on the endpoint function and a preset extended ISIS protocol comprises: determining a Sub-TLV for the first endpoint function based on the first endpoint function and a preset extended ISIS protocol.
Further, the endpoint functionality comprises a second endpoint functionality; determining a Sub-TLV of the endpoint function based on the endpoint function and a preset extended ISIS protocol comprises: determining a Sub-TLV for the second endpoint function based on the second endpoint function and a preset extended ISIS protocol.
Further, the endpoint functionality includes a third endpoint functionality; determining a Sub-TLV of the endpoint function based on the endpoint function and a preset extended ISIS protocol comprises: and determining Sub-TLVs of the third endpoint functions based on the third endpoint functions and a preset extended ISIS protocol.
The invention provides a device for distributing a slicing network crossing SRv6 by an ISIS protocol, which comprises: the receiving module is used for receiving the message to be forwarded and determining the endpoint function in the message; wherein the endpoint function is to determine a network type of the slice; an extension determining module, configured to determine a Sub-TLV of the endpoint function based on the endpoint function and an ISIS protocol of a preset extension; and the issuing module is used for issuing the SID information of the endpoint function by utilizing an ISIS protocol based on the Sub-TLV.
Further, the extension determining module includes: an obtaining unit, configured to obtain an ISIS protocol, where the ISIS protocol includes a Top level TLV of END; a corresponding unit, configured to correspond the endpoint function to the END one to one based on a preset corresponding rule; a determining unit, configured to determine, based on the ISIS protocol, a Top level TLV of the END corresponding to the endpoint function; the modifying unit is used for modifying the last field Sub-TLV of the Top level TLV based on a preset encoding rule to obtain a modified Top level TLV and a modified Sub-TLV; wherein the modified Sub-TLV is used for carrying SID information of the endpoint function; and the storage unit is used for taking the modified Top level TLV as the Top level TLV of the endpoint function, and correspondingly storing the modified Sub-TLV as the Sub-TLV of the endpoint function and the endpoint function into the ISIS protocol to obtain the expanded ISIS protocol.
Further, the endpoint functionality comprises a first endpoint functionality; the extension determination module includes: a first extension determining unit, configured to determine a Sub-TLV of the first endpoint function based on the first endpoint function and a preset extended ISIS protocol.
The invention also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program which can run on the processor, and the processor executes the computer program to realize the method for distributing the ISIS protocol across SRv6 slice networks.
The present invention also provides a computer readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of ISIS protocol publishing across a sliced network of SRv 6.
The invention provides a method and a device for releasing a cross SRv6 slicing network by an ISIS protocol, which comprises the following steps: receiving a message to be forwarded, and determining an endpoint function in the message; wherein the endpoint function is to determine a network type of the slice; determining Sub-TLVs of the endpoint functions based on the endpoint functions and the ISIS protocol preset to be expanded; and based on Sub-TLV, releasing the SID information of the endpoint function by using an ISIS protocol release method. The preset extended ISIS protocol of the invention utilizes the current draft-ietf-lsr-ISIS-srv6-extensions-02 defined END, END.X and END.T SID issuing modes, and determines the issuing modes of END.N, END.NX and END.NT through the ISIS protocol on the basis of not modifying the original protocol as much as possible, thereby further realizing the issuing of the cross-slice network.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a format diagram of defined fields;
fig. 2 is an analysis diagram of SRv6 SID packet carrying Network information;
FIG. 3 is a diagram of the definition of the fields of SRv6Locator TLV;
FIG. 4 is a format diagram of SRv6END SID sub-TLV;
fig. 5 is a diagram of END, end.x, and end.t and field correspondences;
FIG. 6 IS a diagram illustrating the definition of fields in an Extended IS accessibility TLV;
FIG. 7 is a block diagram of the type of port link;
fig. 8 is a format diagram of SRv6 end.x SID sub-TLV;
fig. 9 is a format diagram of SRv6 LAN end.x SID sub-TLV;
FIG. 10 is a SRv6Endpoint function encoding overview map;
FIG. 11 is a representation of SRv6Endpoint function encoding definition values;
FIG. 12 is a flowchart of a method for an ISIS protocol to publish a sliced network across SRv6 according to an embodiment of the present invention;
FIG. 13 is a flow chart of an extension process of the preset extended ISIS protocol;
FIG. 14 is a block diagram of an apparatus for an ISIS protocol to publish a sliced network across SRv 6;
fig. 15 is a schematic structural diagram of an extension process of the predetermined extended ISIS protocol.
Icon:
11-a receiving module; 12-an extension determination module; 13-a publishing module; 21-an acquisition unit; 22-corresponding unit; 23-a determination unit; 24-a modification unit; 25-memory cell.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
SR (Segment Routing) can make a manager of a network schedule traffic in the network more easily, conveniently, and quickly in order to satisfy traffic engineering of network devices. The technology can be applied to the forwarding planes of MPLS (Multi-Protocol Label Switching) and IPv6(Internet Protocol Version 6, sixth edition of Internet Protocol). The technology (SRv 6 for short) applied to the IPv6 forwarding plane redefines the IPv6 address of 128 bits widely used at present to be SRv6 SID, and SRv6 SID can plan three fields (see Draft-filters-spring-sv 6-Network-programming for details): locator, Function and archive. And the Locator represents the network element of the SID, and the reachability information can be issued by using the field of the Locator and the corresponding mask length in a mask mode when the route is issued.
The Function field defines the Function represented by the SRv6 SID. The fields that have been defined so far are shown in fig. 1, where End and end.x are elements that implement segment routing basic traffic engineering functions, and represent network elements and neighbors between network elements, respectively. End.b6 and end.bm are functions defined for traversal between multiple network domains. end.DT6 is used for supporting SRv6 IPv 6L 3VPN related services, and end.DT4 is used for supporting SRv6 IPv 4L 3VPN related services. Dxp 2 is used to support SRv6 VPWS related services. end.DT2U and end.DT2M are used to support SRv6EVPN related services. S is a defined function for completing communication with some application servers.
The attribute field is a parameter that the SRv6 SID needs to carry to provide a specific service, which is a different Function service.
In order to reduce redundant information in the SRH header in the patent application with publication number CN109688057A, SRv6 SID is used to carry Network information, so SRv6 SID carrying Network information includes: network, Locator, Function, and archive. Only valid SID information is placed in the SRH. Therefore, the overhead of the SRH header can be greatly reduced, and the SRv6 network efficiency is improved. The method for encapsulating SRv6 SID packet carrying Network information is shown in FIG. 2. If the message needs to be forwarded within the network, only the Loc (abbreviation of locator) or Fun (abbreviation of Function) or Arg (abbreviation of Argument) part needs to be updated. The content representing the network identification portion is only present in the destination IP address. After a physical network is divided into logical sub-networks by dividing slices, most of the messages can only be transmitted in the slice. The information representing the network identification is removed from the SRH header, so that the message overhead can be greatly saved. Enhancing network efficiency.
In the patent application with publication number CN109688057A, because Network exists only in IPv6, the services of different networks cannot be interworked. Although the message may mostly be transmitted within a slice, the possibility of transmission across network slices at certain gateway nodes is not excluded. Therefore, a message transmission function across networks and related parameter definitions are proposed in patent application publication No. CN110266594A to make up for the deficiency of this function. This patent application proposes three new END types: the END.N, END.NX and END.NT are respectively corresponding to END, END.X and END.T in draft-ietf-spring-srv6-Network-programming-00, so as to solve the problem of cross-Network slice transmission.
The file draft-ietf-lsr-ISIS-srv6-extensions-02 defines a method for issuing the SID of SRv6 in the ISIS (Intermediate System-to-Intermediate System) routing protocol. The process of issuing the END, the end.x and the end.t SID is defined, and the specific operation is as follows:
distribution of END and end.t
Referring to FIG. 3, the file draft-ietf-lsr-isis-srv6-extensions-02 defines a Type of Top level TLV (Type Length Value): SRv6Locator TLV. SRv6Locator TLV is used for ISIS protocol release END and end.T, wherein the definition of each field is detailed in the file draft-ietf-lsr-ISIS-srv 6-extensions-02. Wherein the last field Sub-TLVs (variable) adopts SRv6END SID Sub-TLVs to carry SID information of END and END.T types, and the specific format of SRv6END SID Sub-TLVs refers to FIG. 4. The Type, Length, Flag and other information refer to a file draft-ietf-lsr-isis-srv6-extensions-02, wherein the definition of SRv6Endpoint function follows the content defined in draft-ietf-spring-srv 6-Network-programming-00: referring to FIG. 5, it can be seen from FIG. 5 that END and END.T employ 0x0001-0x0004 and 0x0009-0x 000C. The Sub-tlv-length and Sub-TLVs (variable) fields are not used in the protocol.
Publication of end.x
The file draft-ietf-lsr-isis-srv6-extensions-02 also defines the following 5 types of Top level TLVs: extended IS accessibility TLV, IS Neighbor Attribute TLV, MT-ISN TLV, MT IS Neighbor Attribute TLV, inter-AS accessibility information TLV. Any of the above types may be used to publish end.x. Referring to fig. 6, fig. 6 IS a diagram illustrating the definition of each field of the Extended IS accessibility TLV.
The end.x itself is used to identify the neighbor information of the port, and is classified into a point-to-point link and a broadcast link according to the port link type, referring to fig. 7, and respectively corresponds to two SID types, end.x and LAN end.x. Both types carry the above five TLVs defined in ISIS as Top level TLVs.
Extended IS accessibility TLV IS used for ISIS protocol release end.x, where the definition of each field IS detailed in the document draft-ietf-lsr-ISIS-srv 6-extensions-02. Wherein the last field Sub-TLVs (variable) carries SID information of end.x type using SRv6 end.x SID Sub-TLV and SRv6 LAN end.x SID Sub-TLV. The SRv6 end.x SID sub-TLV and SRv6 LAN end.x SID sub-TLV formats defined in draft-ietf-lsr-isis-srv6-extensions-02 refer to fig. 8 and 9, and specific field explanations may refer to the standards. Among them, SRv6Endpoint function can refer to the contents defined in draft-ietf-spring-srv 6-Network-programming-00. Referring to fig. 5, it can be seen from the SRv6Endpoint function encoding provided in fig. 5 that end.x takes the form 0x0005-0x 0008. The Sub-tlv-length and Sub-TLVs (variable) fields are not used in the protocol.
Three new END types are proposed in patent application publication No. CN 110266594A: end.n, end.nx and end.nt, ISIS also needs to issue SIDs for these three newly defined END types after introduction of end.n, end.nx and end.nt. However, the SID information of corresponding end.n, end.nx and end.nt is not published in the current protocol, so that the related Network element cannot acquire the SID with the Network function, and the existing ISIS cannot implement the publishing of the Network. Based on the method, the invention carries out new type extension on the function field in the SID sub TLV issued by the ISIS.
For the convenience of understanding the present embodiment, a detailed description will be given first of all of a method for distributing a slice network across SRv6 by the ISIS protocol disclosed in the present embodiment.
The first embodiment is as follows:
referring to fig. 12, an embodiment of the present invention provides a method for the ISIS protocol to publish a sliced network across SRv6, which may include the following steps:
step S101, receiving a message to be forwarded, and determining an endpoint function in the message; wherein the endpoint function is to determine a network type of the slice;
in an embodiment of the present invention, the endpoint functions include a first endpoint function end.n, a second endpoint function end.nx, and a third endpoint function end.nt.
Step S102, determining Sub-TLV of the endpoint function based on the endpoint function and the ISIS protocol of the preset extension;
in the embodiment of the present invention, the ISIS protocol of the preset extension includes: SID of end.n, end.nt and end.nx. The method comprises the following specific steps:
1. issuing end.n and end.nt SIDs
Referring to fig. 3, the Top level TLV employs SRv6Locator TLV, wherein the last field Sub-TLVs (variable) multiplexes the currently defined SRv6END SID Sub-TLV (as in fig. 4) to carry SID information of end.n and end.nt types, except that SRv6END Function uses the newly defined encoding of end.n and end.nt, the other fields are identical to the original ones. The overall plan for the SRv6Endpoint Function in the current draft-ietf-spring-srv6-Network-programming-00 is shown in fig. 10, and the values that have been defined currently are shown in fig. 11. The SID of end.n, end.nt and end.nx may take values from 0x1001 as shown in table 1, or may take other values, and is not particularly limited herein. The Network information is N bits before the specific SID (128 bits), and the specific value of N is not specifically limited in the present invention.
Table 1 values of end.n, end.nt and end.nx codes
Value Hex Endpoint function Reference
1 0x1001 End.N(no PSP,no USP) [This.ID]
2 0x1002 End.N with PSP [This.ID]
3 0x1003 End.N with USP [This.ID]
4 0x1004 End.N with PSP&USP [This.ID]
5 0x1005 End.NX(no PSP,no USP) [This.ID]
6 0x1006 End.NX with PSP [This.ID]
7 0x1007 End.NX with USP [This.ID]
8 0x1008 End.NX with PSP&USP [This.ID]
9 0x1009 End.NT(no PSP,no USP) [This.ID]
10 0x100A End.NT with PSP [This.ID]
11 0x100B End.NT with USP [This.ID]
12 0x100C End.NT with PSP&USP [This.ID]
2. NX issuing end
The Top level TLV for issuing end.NX in the embodiment of the invention includes but is not limited to: extended IS accessibility TLV, IS Neighbor Attribute TLV, MT-ISN TLV, MT IS Neighbor Attribute TLV, inter-AS accessibility information TLV.
Referring to fig. 6, the Top level TLV employs Extended IS accessibility TLV, wherein the last field Sub-TLVs (variable) multiplexes the currently defined SRv6 end.x SID Sub-TLV (as in fig. 8) or SRv6 LAN end.x SID Sub-TLV (as in fig. 9) to carry SID information of end.nx type, except that SRv6end Function uses the newly defined end.nx, other fields are the same as the original contents, and may employ values starting from 0x1000, as shown in table 1, or other values, which are not limited herein. The Network information is already N bits first in a particular SID (128 bits). The specific value of N is not particularly limited.
And step S103, based on the Sub-TLV, distributing the SID information of the endpoint function by using the ISIS protocol.
The embodiment of the invention provides a method for releasing a cross SRv6 slicing network by an ISIS protocol, which comprises the following steps: receiving a message to be forwarded, and determining an endpoint function in the message; wherein the endpoint function is to determine a network type of the slice; determining Sub-TLVs of the endpoint functions based on the endpoint functions and the ISIS protocol preset to be expanded; and based on Sub-TLV, releasing the SID information of the endpoint function by using an ISIS protocol release method. The preset extended ISIS protocol of the embodiment of the invention utilizes the current draft-ietf-lsr-ISIS-srv6-extensions-02 defined END, END.X and END.T SID issuing modes, determines the issuing modes of END.N, END.NX and END.NT through the ISIS protocol on the basis of not modifying the original protocol as much as possible, and further can realize the issuing of the cross-slice network.
Further, referring to fig. 13, the extension process of the preset extended ISIS protocol includes:
step S201, obtaining an ISIS protocol, wherein the ISIS protocol comprises an END level TLV of END;
step S202, corresponding the END functions to ENDs one by one based on preset corresponding rules;
step S203, determining the Top level TLV of the END corresponding to the endpoint function based on the ISIS protocol;
step S204, modifying the last field Sub-TLV of the Top level TLV based on a preset encoding rule to obtain a modified Top level TLV and a modified Sub-TLV; wherein, the modified Sub-TLV is used for carrying SID information of the endpoint function;
and S205, taking the modified Top level TLV as the Top level TLV of the endpoint function, and correspondingly storing the modified Sub-TLV as the Sub-TLV of the endpoint function and the endpoint function into the ISIS protocol to obtain the expanded ISIS protocol.
In the embodiment of the invention, the expanded ISIS protocol can provide a mode that the end.N, the end.NX and the end.NT are issued by the ISIS protocol on the basis of not modifying the original protocol as much as possible.
Further, the endpoint functionality comprises a first endpoint functionality; step S102 includes: and determining Sub-TLVs of the first endpoint functions based on the first endpoint functions and the preset extended ISIS protocol.
Further, the endpoint functionality comprises a second endpoint functionality; step S102 includes: and determining Sub-TLVs of the second endpoint functions based on the second endpoint functions and the preset extended ISIS protocol.
Further, the endpoint functionality includes a third endpoint functionality; step S102 includes: and determining Sub-TLVs of the third endpoint functions based on the third endpoint functions and the preset extended ISIS protocol.
In patent application publication No. CN110266594A, two ways are mentioned, one is to define end.n, end.nt and end.x, and the other is to define only end.n. In the first mode of the patent application with END type publication number CN110266594A issued by ISIS mentioned above, if the second mode of issuing only end.n is adopted, only the ISIS protocol issuing mode of end.n needs to be defined.
The embodiment of the invention utilizes the defined release mode of SID for END, END.X and END.T of current draft-ietf-lsr-ISIS-srv6-extensions-02, and defines a new release mode of END.N, END.NX and END.NT through ISIS protocol on the basis of not modifying the original protocol as much as possible. The method is used for solving the issue of end.N, end.NX and end.NT information by extending the ISIS protocol.
Example two:
referring to fig. 14, an embodiment of the present invention provides an apparatus for distributing ISIS protocol across SRv6 sliced network, for implementing the method for distributing ISIS protocol across SRv6 sliced network, where the apparatus may include the following modules:
a receiving module 11, configured to receive a message to be forwarded, and determine an endpoint function in the message; wherein the endpoint function is to determine a network type of the slice;
an extension determining module 12, configured to determine a Sub-TLV of an endpoint function based on the endpoint function and an ISIS protocol preset for extension;
and the issuing module 13 is configured to issue SID information of the endpoint function by using the ISIS protocol based on the Sub-TLV.
The embodiment of the invention provides a device for distributing SRv 6-crossing slicing networks by an ISIS protocol, which comprises the following steps: receiving a message to be forwarded, and determining an endpoint function in the message; wherein the endpoint function is to determine a network type of the slice; determining Sub-TLVs of the endpoint functions based on the endpoint functions and the ISIS protocol preset to be expanded; and based on Sub-TLV, releasing the SID information of the endpoint function by using an ISIS protocol release method. The preset extended ISIS protocol of the embodiment of the invention utilizes the current draft-ietf-lsr-ISIS-srv6-extensions-02 defined END, END.X and END.T SID issuing modes, determines the issuing modes of END.N, END.NX and END.NT through the ISIS protocol on the basis of not modifying the original protocol as much as possible, and further can realize the issuing of the cross-slice network.
Further, referring to fig. 15, the extension determining module 12 includes:
an obtaining unit 21, configured to obtain an ISIS protocol, where the ISIS protocol includes a Top level TLV of END;
a corresponding unit 22, configured to correspond the endpoint function to the END one to one based on a preset corresponding rule;
a determining unit 23, configured to determine a Top level TLV of the END corresponding to the endpoint function based on the ISIS protocol;
a modifying unit 24, configured to modify a last field Sub-TLV of the Top level TLV based on a preset encoding rule, so as to obtain a modified Top level TLV and a modified Sub-TLV; wherein, the modified Sub-TLV is used for carrying SID information of the endpoint function;
and the storage unit 25 is configured to use the modified Top level TLV as a Top level TLV of the endpoint function, and correspondingly store the modified Sub-TLV as a Sub-TLV of the endpoint function and the endpoint function in the ISIS protocol to obtain an extended ISIS protocol.
Further, the endpoint functionality comprises a first endpoint functionality; the extension determination module 12 includes: a first extension determination unit; and the first extension determining unit is used for determining Sub-TLVs of the first endpoint functions based on the first endpoint functions and the preset extended ISIS protocol.
Further, the endpoint functionality comprises a second endpoint functionality; the extension determination module includes: a second extension determining unit; and the second extension determining unit is used for determining Sub-TLVs of the second endpoint functions based on the second endpoint functions and the preset extended ISIS protocol.
Further, the endpoint functionality includes a third endpoint functionality; the extension determination module includes: a second extension determining unit; and the third extension determining unit is used for determining Sub-TLVs of the third endpoint functions based on the third endpoint functions and the preset extended ISIS protocol.
The terms "first," "second," and "third" in embodiments of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for ISIS protocol distribution across SRv6 sliced networks, comprising:
receiving a message to be forwarded, and determining an endpoint function in the message; wherein the endpoint function is to determine a network type of the slice;
determining a Sub-TLV of the endpoint function based on the endpoint function and a preset extended ISIS protocol;
based on the Sub-TLV, utilizing an ISIS protocol to publish SID information of the endpoint function;
the extension process of the preset extended ISIS protocol comprises the following steps:
obtaining an ISIS protocol, wherein the ISIS protocol comprises an END level TLV of END;
corresponding the endpoint function to the ENDs one by one based on a preset corresponding rule;
determining a Top level TLV of the END corresponding to the endpoint function based on the ISIS protocol;
modifying the last field Sub-TLV of the Top level TLV based on a preset encoding rule to obtain a modified Top level TLV and a modified Sub-TLV; wherein the modified Sub-TLV is used for carrying SID information of the endpoint function;
and taking the modified Top level TLV as the Top level TLV of the endpoint function, and correspondingly storing the modified Sub-TLV as the Sub-TLV of the endpoint function and the endpoint function into the ISIS protocol to obtain the expanded ISIS protocol.
2. The method of ISIS protocol publishing slice networks across SRv6, according to claim 1, wherein the endpoint function comprises a first endpoint function end.n;
determining a Sub-TLV of the endpoint function based on the endpoint function and a preset extended ISIS protocol comprises:
determining a Sub-TLV of the first endpoint function END.N based on the first endpoint function END.N and a preset extended ISIS protocol.
3. The method of ISIS protocol publishing slice networks across SRv6, according to claim 1, wherein the endpoint function comprises a second endpoint function end.nx;
determining a Sub-TLV of the endpoint function based on the endpoint function and a preset extended ISIS protocol comprises:
determining a Sub-TLV for the second endpoint function END.NX based on the second endpoint function END.NX and a preset extended ISIS protocol.
4. The method of ISIS protocol publishing slice networks across SRv6, according to claim 1, wherein the end-point functions include a third end-point function end.nt;
determining a Sub-TLV of the endpoint function based on the endpoint function and a preset extended ISIS protocol comprises:
determining a Sub-TLV of the third endpoint function END.NT based on the third endpoint function END.NT and a preset extended ISIS protocol.
5. An apparatus for ISIS protocol distribution across a sliced network of SRv6, comprising:
the receiving module is used for receiving the message to be forwarded and determining the endpoint function in the message; wherein the endpoint function is to determine a network type of the slice;
an extension determining module, configured to determine a Sub-TLV of the endpoint function based on the endpoint function and an ISIS protocol of a preset extension;
the issuing module is used for issuing the SID information of the endpoint function by utilizing an ISIS protocol based on the Sub-TLV;
the extension determination module includes:
an obtaining unit, configured to obtain an ISIS protocol, where the ISIS protocol includes a Top level TLV of END;
a corresponding unit, configured to correspond the endpoint function to the END one to one based on a preset corresponding rule;
a determining unit, configured to determine, based on the ISIS protocol, a Top level TLV of the END corresponding to the endpoint function;
the modifying unit is used for modifying the last field Sub-TLV of the Top level TLV based on a preset encoding rule to obtain a modified Top level TLV and a modified Sub-TLV; wherein the modified Sub-TLV is used for carrying SID information of the endpoint function;
and the storage unit is used for taking the modified Top level TLV as the Top level TLV of the endpoint function, and correspondingly storing the modified Sub-TLV as the Sub-TLV of the endpoint function and the endpoint function into the ISIS protocol to obtain the expanded ISIS protocol.
6. The apparatus of claim 5 wherein the ISIS protocol issues slice networks across SRv6, wherein the endpoint function comprises a first endpoint function end.n; the extension determination module includes:
a first extension determining unit, configured to determine a Sub-TLV of the first endpoint function end.n based on the first endpoint function end.n and a preset extended ISIS protocol.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 4 when executing the computer program.
8. A computer-readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of any of claims 1 to 4.
CN201911246856.6A 2019-12-06 2019-12-06 Method and device for distributing SRv 6-crossing slicing network by ISIS protocol Active CN110958181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911246856.6A CN110958181B (en) 2019-12-06 2019-12-06 Method and device for distributing SRv 6-crossing slicing network by ISIS protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911246856.6A CN110958181B (en) 2019-12-06 2019-12-06 Method and device for distributing SRv 6-crossing slicing network by ISIS protocol

Publications (2)

Publication Number Publication Date
CN110958181A CN110958181A (en) 2020-04-03
CN110958181B true CN110958181B (en) 2021-08-17

Family

ID=69980344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911246856.6A Active CN110958181B (en) 2019-12-06 2019-12-06 Method and device for distributing SRv 6-crossing slicing network by ISIS protocol

Country Status (1)

Country Link
CN (1) CN110958181B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113872843B (en) * 2020-06-30 2022-12-06 华为技术有限公司 Route generation method, route processing method and device
CN114006860B (en) * 2020-07-14 2023-12-22 中国电信股份有限公司 User access method, system and device
CN112311592B (en) * 2020-09-29 2022-02-22 新华三信息安全技术有限公司 SRv6SID self-adaptive networking method and device
CN114915584A (en) * 2021-02-10 2022-08-16 华为技术有限公司 Message forwarding method, device and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078792A (en) * 2012-12-24 2013-05-01 杭州华三通信技术有限公司 ISIS (Intermediate System to Intermediate System) LSP (Link State Protocol Data Unit) publishing method and equipment
CN103685006A (en) * 2012-08-30 2014-03-26 杭州华三通信技术有限公司 Packet forwarding method for edge device and edge device
CN103701696A (en) * 2013-12-31 2014-04-02 杭州华三通信技术有限公司 Method and device for supporting FA (Forwarding Address) in IS-IS (Intermediate System-to-Intermediate System) protocol
CN103780470A (en) * 2014-01-03 2014-05-07 杭州华三通信技术有限公司 IS-IS information synchronization method and device
WO2014183650A1 (en) * 2013-05-17 2014-11-20 Hangzhou H3C Technologies Co., Ltd. Forwarding packets
CN107347034A (en) * 2016-05-05 2017-11-14 中兴通讯股份有限公司 Processing method and processing device, the system of link information
CN109218046A (en) * 2017-06-30 2019-01-15 中国移动通信有限公司研究院 The management method and system and storage medium of network slice
CN109861913A (en) * 2018-12-25 2019-06-07 北京华为数字技术有限公司 A kind of prefix mark notifying method and device across Interior Gateway Protocol
CN109873760A (en) * 2017-12-01 2019-06-11 华为技术有限公司 Handle the method and apparatus of routing and the method and apparatus of data transmission
CN110266594A (en) * 2019-06-28 2019-09-20 Ut斯达康通讯有限公司 The Segment routing retransmission method and device of across a network slice
US10469360B1 (en) * 2015-09-30 2019-11-05 Juniper Networks, Inc. Reverse metric advertisement for border gateway protocol route reflection inhierarchical networks
CN110535766A (en) * 2018-05-25 2019-12-03 华为技术有限公司 A kind of method and apparatus generating routing

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685006A (en) * 2012-08-30 2014-03-26 杭州华三通信技术有限公司 Packet forwarding method for edge device and edge device
CN103078792A (en) * 2012-12-24 2013-05-01 杭州华三通信技术有限公司 ISIS (Intermediate System to Intermediate System) LSP (Link State Protocol Data Unit) publishing method and equipment
WO2014183650A1 (en) * 2013-05-17 2014-11-20 Hangzhou H3C Technologies Co., Ltd. Forwarding packets
CN103701696A (en) * 2013-12-31 2014-04-02 杭州华三通信技术有限公司 Method and device for supporting FA (Forwarding Address) in IS-IS (Intermediate System-to-Intermediate System) protocol
CN103780470A (en) * 2014-01-03 2014-05-07 杭州华三通信技术有限公司 IS-IS information synchronization method and device
US10469360B1 (en) * 2015-09-30 2019-11-05 Juniper Networks, Inc. Reverse metric advertisement for border gateway protocol route reflection inhierarchical networks
CN107347034A (en) * 2016-05-05 2017-11-14 中兴通讯股份有限公司 Processing method and processing device, the system of link information
CN109218046A (en) * 2017-06-30 2019-01-15 中国移动通信有限公司研究院 The management method and system and storage medium of network slice
CN109873760A (en) * 2017-12-01 2019-06-11 华为技术有限公司 Handle the method and apparatus of routing and the method and apparatus of data transmission
CN110535766A (en) * 2018-05-25 2019-12-03 华为技术有限公司 A kind of method and apparatus generating routing
CN109861913A (en) * 2018-12-25 2019-06-07 北京华为数字技术有限公司 A kind of prefix mark notifying method and device across Interior Gateway Protocol
CN110266594A (en) * 2019-06-28 2019-09-20 Ut斯达康通讯有限公司 The Segment routing retransmission method and device of across a network slice

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
draft-bashandy-isis-srv6-extensions-05;《Networking Working Group》;《Internet-Draft》;20190306;全文 *
draft-ietf-lsr-isis-srv6-extensions-05;Peter Psena et al.;《Internet-Draft》;20190306;全文 *
新一代Segment Routing 流量工程体系;钟庆;苏远超;将治春;《Cisco》;20190830;全文 *

Also Published As

Publication number Publication date
CN110958181A (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN110958181B (en) Method and device for distributing SRv 6-crossing slicing network by ISIS protocol
CN112104551B (en) Border gateway protocol for communication between software defined network controllers
CN115004656B (en) Message sending method, device and system
CN103259726B (en) Method, device and system for storing and sending MAC address table entries
EP3472981B1 (en) Connections and accesses for hierarchical path computation element (pce)
US9088499B2 (en) Routing generation for implementation of fiber channel over ethernet
US20170149685A1 (en) Address information publishing method and apparatus
CN112751763A (en) Message forwarding method, device, storage medium and system
CN112511430A (en) Information interaction method, information interaction device, tunnel establishment method, tunnel establishment device, communication node and storage medium
CN103888359A (en) Route calculation method and network device
CN110891022A (en) SRv 6-based virtual subnet identifier publishing method and device
CN105637806A (en) Method and apparatus for determining network topology, and centralized network state information storage device
CN102546409B (en) Method and RB (route bridge) for processing message based on TRILL (Transparent Interconnection of Lots of Links) network
CN103229463B (en) A kind of method, the network equipment and Virtual Cluster determining management domain
CN117118886A (en) Message forwarding method, head-end equipment, controller, equipment and storage medium
CN104639557B (en) A kind of method, system and equipment for establishing PCEP sessions
JP2010525648A (en) System and method for identifying non-multiple spanning tree protocol control planes
CN113328931B (en) Route issuing method and device
CN111464440A (en) Communication method and device
CN102055662A (en) Method and device for determining preset routing
CN104247346A (en) Pseudowire extended group messaging in a packet switched network
CN111464441A (en) Communication method and device
CN103650453B (en) The method communicated in path computation element communication protocol and network equipment
WO2022257854A1 (en) Message publishing method and apparatus, and forwarding path processing method and apparatus
CN106254241B (en) A kind of trans-regional CSPF the whole network calculating implementation method based on IGP

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