CN106254099A - A kind of information synchronization method based on network element device and device - Google Patents
A kind of information synchronization method based on network element device and device Download PDFInfo
- Publication number
- CN106254099A CN106254099A CN201610601911.9A CN201610601911A CN106254099A CN 106254099 A CN106254099 A CN 106254099A CN 201610601911 A CN201610601911 A CN 201610601911A CN 106254099 A CN106254099 A CN 106254099A
- Authority
- CN
- China
- Prior art keywords
- synchronized
- network element
- information
- forwarding
- topology
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Embodiments provide information synchronization method and the device of a kind of network element device.The method is applied in first network element device of Intermediate System-to-Intermediate System IS IS, including: obtaining information to be synchronized, described information to be synchronized includes topology identifier and forwarding strategy;According to described topology identifier and forwarding strategy, update locally stored forwarding information;Generating message to be synchronized, described message to be synchronized carries described information to be synchronized;Described message to be synchronized is sent to the second network element device, so that described second network element device updates the forwarding information in the second network element device according to described message to be synchronized.Pass through the embodiment of the present invention, network element device in same topology area can automatically update forwarding information according to the information to be synchronized entrained by message to be synchronized, achieve many topology autosynchronous functions of forwarding strategy, thus reduce the configuration workload of forwarding strategy, and improve the efficiency disposing subtopology.
Description
Technical field
The present invention relates to technical field of the computer network, particularly relate to a kind of information synchronization method based on network element device
Synchronizing information device with a kind of network element device.
Background technology
In order to provide the support that the agreement (Internet Protocol, IP) of interconnection between network is route, the Internet work
Journey task groups (Internet Engineering Task Force, IETF) by RFC 1195 to intermediate system in
Between system (Intermediate System-to-Intermediate System, IS-IS) agreement carry out expanding and revising, make
Intermediate System to Intermediate System can be applied at transmission control protocol/Internet Protocol (Transmission Control simultaneously
Protocol/Internet Protocol, TCP/IP) and open system interconnection (Open System
Interconnection, OSI) in environment, form Integrated IS-IS (Integrated IS-IS or Dual IS-IS).Its
In, IS-IS belongs to Interior Gateway Protocol (Interior Gateway Protocol, IGP), inside autonomous system.IS-
IS is a kind of link-state protocol, uses SPF (Shortest Path First, SPF) algorithm to carry out route meter
Calculate.
Concrete, a physical topology is divided into by many topologies (Multi-Topology Routing, MTR) technology
Multiple logical topologys, i.e. fictionalize the network of multiple logical topology on same physical network, with carry respectively such as voice,
The different types of flow such as video.These logical topologys are probably intersection or overlap.Different logical topologys is run each
Router-level topology, to realize the intercommunication of network.Generally, as required Global Topological can be divided, be divided into many height to open up
Flutterring so that different types of flow can walk different topologys, as voice flow can walk subtopology A, video flowing can be walked son and open up
Flutterring B, the corresponding different business of the most different logical topologys, it is achieved that the logical separation of business and the physical separation of part, with reality
The fast quick-recovery of business when existing link or node failure.Such as, Fig. 1 shows the schematic diagram of the many topologys in networking, wherein, depends on
For router (Router) A, Router D and Router C of secondary connection constitutes subtopology A, i.e. for subtopology A
Speech, Router B does not exist;Router (Router) A, Router B, Router D and the Router C composition being sequentially connected with
Subtopology B, but for subtopology B, it considers that Router A and Router D is not joined directly together, Router B and
Router C is not the most joined directly together.Each single subtopology calculates the route of oneself according to Routing Protocol, belongs to
The flow of this topology then forwards according to the routing table of this topology.Such as, when differential service in the IP head have a flow
When code point (Differentiated Services Code Point, DSCP) value is 40, if desired this flow is at subtopology B
In forward, then need all to enable IS-IS many topologys merit on Router A, Router B, Router C, Router D
Can, and between them, set up the neighborhood of the subtopology B of IS-IS;Meanwhile, in order to allow correspondence flow can be in this topology
Forward, in addition it is also necessary to forwarding strategy identical on all configuring on every router, the content that i.e. forwarding strategy comprises is for matching
DSCP value is the flow of 40, it is necessary to search forwarding-table item in subtopology B, so that this flow can be searched in subtopology B
Corresponding forwarding-table item, to carry out flow forwarding in subtopology B.When Router A, Router B, Router C,
The forwarding strategy having a router in Router D is inconsistent, such as the forwarding strategy on Router B and other three routers
Inconsistent, unmatch the flow that DSCP value is 40, during i.e. searching forwarding-table item in subtopology A, this flow from
After Router A comes in, search forwarding-table item in the first subtopology B on Router A, the forwarding in subtopology A can be searched
List item so that flow arrives Router B;According to forwarding strategy on Router B, the forwarding-table item in subtopology A can be searched,
Not having the forwarding-table item of correspondence in subtopology A, flow is dropped.Equally, if being configured without forwarding strategy on Router B, then
After this flow reaches on Router B, the forwarding-table item in basic topology will be searched, the table not having correspondence in basic topology
, flow is also dropped, and which results in flow and does not forwards according to set topology, thus cause flow to abandon or
Forward-path is inconsistent with intended.Therefore, in order to ensure that flow can forward according to correct forward-path, need
Forwarding strategy all identical in manual configuration on every router.
When the network of the many topologys of IS-IS is bigger, needs to carry out for every router the manual configuration of forwarding strategy, exist
The problem that configuration workload is big.
Summary of the invention
In view of the above problems, it is proposed that the embodiment of the present invention is to provide a kind of information synchronization method based on network element device
A kind of synchronizing information device based on network element device, it is achieved forwarding strategy automatic synchronization, to solve configuration workload
Big problem.
In order to solve the problems referred to above, the embodiment of the invention discloses a kind of information synchronization method based on network element device, should
In first network element device of Intermediate System-to-Intermediate System IS-IS, including:
Obtaining information to be synchronized, described information to be synchronized includes topology identifier and forwarding strategy;
According to described topology identifier and forwarding strategy, update locally stored forwarding information;
Generating message to be synchronized, described message to be synchronized carries described information to be synchronized;
Described message to be synchronized is sent to the second network element device, so that described second network element device is according to described to be synchronized
Message updates the forwarding information in the second network element device.
Accordingly, the embodiment of the invention also discloses a kind of synchronizing information device based on network element device, be applied to centre
System in first network element device of intermediate system IS-IS, including:
Data obtaining module, is used for obtaining information to be synchronized, and described information to be synchronized includes topology identifier and forwarding strategy;
Information updating module, for according to described topology identifier and forwarding strategy, updates locally stored forwarding information;
Message generation module, is used for generating message to be synchronized, and described message to be synchronized carries described information to be synchronized;
Message sending module, for described message to be synchronized is sent to the second network element device, so that described second network element
Equipment updates the forwarding information in the second network element device according to described message to be synchronized.
The embodiment of the present invention includes advantages below:
In the embodiment of the present invention, first network element device of Intermediate System-to-Intermediate System IS-IS can be treated same by acquisition
Step information, updates locally stored forwarding information, and can generate message to be synchronized, will carry the report to be synchronized of synchronizing information
Literary composition is sent to the second network element device, so that the second equipment can update forwarding information according to this message to be synchronized, wherein, same
Step information includes topology identifier and forwarding strategy, and each network element device in the most same topology area can according to synchronizing information certainly
Dynamic synchronization forwarding strategy, it is achieved that many topology autosynchronous functions of forwarding strategy, thus reduce the configuration work of forwarding strategy
Amount, and improve the efficiency disposing subtopology.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the many topologys in IS-IS networking;
Fig. 2 is the flow chart of steps of a kind of based on network element device the information synchronization method embodiment of the present invention;
Fig. 3 is the flow chart of steps of another kind information synchronization method based on the network element device embodiment of the present invention;
Fig. 4 is the mutual schematic diagram of two network element device automatic synchronization forwarding strategies in one concrete example of the present invention;
Fig. 5 is the form schematic diagram of newly-increased field CLV in the concrete example of the present invention;
Fig. 6 be the concrete example of the present invention CLV in the form schematic diagram of VALUE;
Fig. 7 is the structured flowchart of the synchronizing information device embodiment of a kind of network element device of the present invention;
Fig. 8 is the information structured flowchart with device embodiment of the another kind of network element device of the present invention.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, real with concrete below in conjunction with the accompanying drawings
The present invention is further detailed explanation to execute mode.
In order to support large-scale route network, IS-IS uses the hierarchy of two-stage in routed domain, and i.e. one big
Routed domain is typically split into multiple region (Areas).Wherein, Level-1 router and Level-2 router are safeguarded each respectively
LSD (Link State Data Base, LSDB).In network, the state of all connecting links constitutes
LSDB, i.e. an at least LSDB in each IS.IS uses SPF algorithm, utilize LSDB to generate the route of oneself, with
Make the flow belonging to this topology forward according to the routing table of this topology, i.e. belong to each router of same connecting link according to
Identical forwarding strategy carries out flow forwarding.Such as, IS-IS MRT refers to can to run in same IS-IS Autonomous Domain many
Individual independent IP topology, as IPv4 topological sum IPv6 is topological rather than treats them as an integrated single topology.This is favourable
In router-level topology, IPv4 and IPv6 network is individually considered according to actual networking situation in IS-IS.
One of core idea of the embodiment of the present invention is, the first network element device obtains information to be synchronized, treats according to described
Mark of flutterring in synchronizing information updates locally stored forwarding information with forwarding strategy, then will carry the to be synchronized of information to be synchronized
Message is sent to the second network element device, so that the second network element device can be according to the message to be synchronized received to forwarding letter
Breath is updated.Wherein, information to be synchronized includes topology identifier and forwarding strategy, the i.e. embodiment of the present invention so that same open up
Flutter region each network element device can according to the local forwarding information of information updating to be synchronized automatic synchronization forwarding strategy, thus
Reduce the configuration workload of forwarding strategy, and improve the efficiency disposing subtopology.
With reference to Fig. 2, it is shown that the steps flow chart of a kind of based on network element device the information synchronization method embodiment of the present invention
Figure, specifically may include steps of:
Step 202, obtains information to be synchronized.
In the embodiment of the present invention, information to be synchronized can include topology identifier and forwarding strategy.Wherein, this forwarding strategy can
To include forwarding strategy content, specifically it is determined for the forwarding strategy of topology area, to realize the forwarding of flow.This forwarding
Policy content can determine for the content of the forwarding strategy input of this topology area according to user.
User can input forwarding strategy content for a certain topology area on network element device, so that this network element device depends on
According to the forwarding strategy of the forwarding strategy content configuration topology area of input, the forwarding strategy that user can be inputted such as network element device
The topology identifier of content and this topology area is as information to be synchronized, and stores and in local data base.Concrete, at IS-IS
Network in, the network element device such as such as router (Router) inputs forwarding strategy for a certain topology area getting user
During content, can be using letter to be synchronized corresponding as this topology area to this forwarding strategy content and the topology identifier of topology area
Breath, to use this information to be synchronized to be updated the forwarding strategy of topology area, i.e. updates locally stored forwarding information.
Certainly, network element device other modes can also obtain information to be synchronized, as sent from other network element devices
Packet in obtain the forwarding strategy content that configured by topology area of user, and the topology of this topology area can be marked
Know and this is not specifically limited as information to be synchronized, the embodiment of the present invention by acquired forwarding strategy content.
Step 204, according to described topology identifier and forwarding strategy, updates locally stored forwarding information.
In the embodiment of the present invention, network element device can be at forwarding information corresponding to locally stored each topology area, to press
Reseal is carried out, it is achieved the forwarding of flow according to this forwarding information packet to receiving.Wherein, locally stored forwarding letter
Breath specifically can include the topology identifier of each topology area and corresponding forwarding strategy, is determined for the forwarding road of packet
Footpath.
Specifically, the network element device of the embodiment of the present invention, can be as the first network element after getting information to be synchronized
Equipment, and the target topology area needing to update forwarding strategy can be determined according to the topology identifier in this information to be synchronized,
And then the forwarding strategy in information to be synchronized can be used to replace corresponding the turning of the target topology area preserved in forwarding information
Send out strategy, it is achieved that the forwarding strategy that more fresh target topology area is corresponding, i.e. use the forwarding strategy in information to be synchronized to this
The forwarding information of ground storage is updated.
Such as, between Router A and Router B, set up the relation of IS-IS many topologys neighbours, permissible on Router A
Many topology forwarding strategy automatic synchronizing functions are enabled, so that Router A is as the first net by the way of transmitting order to lower levels
Element device, can generate corresponding to be synchronized of this topology area according to user for the forwarding strategy content that topology area is inputted
Information, and then the forwarding strategy of this this topology area of information updating to be synchronized can be used.Wherein, this Router A can will join
The forwarding strategy content put is as forwarding strategy corresponding to this topology area, and can obtain corresponding topology identifier.Wherein,
Topology identifier is determined for the topology area needing to update forwarding strategy.Router A can be by this topology identifier and forwarding
Strategy is as information to be synchronized, and it is corresponding to update this topology identifier according to the forwarding strategy included by information to be synchronized
The forwarding strategy of topology area, and the sync id that this topology area is corresponding can be generated after having updated, as opened up more
Flutter forwarding strategy automatic synchronizing function mark position 1, updated identifying the forwarding strategy of this topology area.
Step 206, generates message to be synchronized.
The message to be synchronized of the embodiment of the present invention can carry synchronizing information.Concrete, the first network element device can be by
Information encapsulation to be synchronized is in the message transmitted in topology area, as being encapsulated into by forwarding strategy by self-defined mode
In link state data bag, generate corresponding message to be synchronized.This message to be synchronized can flood to the first network element device phase
Connect the second network element device, as Link State Protocol Data Unit (Link State Protocol Data Unit,
LSPDU).Wherein, the second network element device specifically can include the neighbor device being connected with the first network element device, such as above-mentioned example
In the Router B that is connected with Router A.It should be noted that in IS-IS network, each IS can generate
LSPDU.This LSPDU can be referred to as LSP, contains all link-state informations of this IS, and passes in whole IS-IS network
Defeated, it is used for and other IS router interactive link status informations.
As a concrete example of the present invention, the first network element device can extract from this LSDB by searching LSDB
LSDB content.This LSDB content can include the system identification of all of IS-IS router in this IS-IS network
(System Id) and title, and many topology ID of correspondence and the content etc. of many topology forwarding strategies.Therefore, in IS-IS network
The first network element device can obtain the forwarding strategy that topology area is corresponding from LSDB, generate corresponding information to be synchronized.Should
Information to be synchronized can be added in self-defining mode in the custom field of link data bag, specifically may include that topology
The parameter informations such as the topology identifier in region, forwarding strategy and information type.Topology identifier may be used for identifying topology area, as many
Topology ID;Information type may be used for identifying information to be synchronized, such as forwarding strategy identification code (Code).
Step 208, is sent to the second network element device by described message to be synchronized, so that described second network element device is according to institute
State message to be synchronized and update the forwarding information in the second network element device.
After first network element device of the present embodiment generates message to be synchronized, this message to be synchronized can be flooded to topology district
Other network element device in territory, so that each network element device in this topology area can be synchronized according in this message to be synchronized
Information automatically updates the forwarding strategy of this topology area.Concrete, the second network element device is after receiving message to be synchronized, permissible
Information to be synchronized is extracted from this message to be synchronized, as extracted forwarding strategy and topology identifier, and then can be by turning of being extracted
Send out strategy and topology identifier is saved in local data base, it is achieved that automatically configure the forwarding strategy that this topology area is corresponding.
As a concrete example of the present invention, Router A can will comprise the to be synchronized of forwarding strategy and topology identifier
Information encapsulation is in LSP, it is possible to by LSP by information from flooding to be synchronized to neighbor device Router B.Router B connects
After receiving this LSP, this LSP can be resolved, extract topology ID and forwarding strategy, and issue this and be configured to this locality.If
Router B also enables many topology forwarding strategy automatic synchronizing functions, then can this forwarding strategy and topology identifier be added to
LSP, and this LSP is controlled flood to other neighbor device, each network element device topology area in corresponding to realize this topology ID is certainly
Dynamic synchronization forwarding strategy.
By the embodiment of the present invention, first network element device of Intermediate System-to-Intermediate System IS-IS can be treated by acquisition
Synchronizing information, updates locally stored forwarding information, and can generate message to be synchronized, will carry the to be synchronized of synchronizing information
Message is sent to the second network element device, so that the second equipment can update forwarding information according to this message to be synchronized, that is,
Each network element device in same topology area can be according to synchronizing information automatic synchronization forwarding strategy, it is achieved that many topologys forward plan
The most autosynchronous function, thus reduce the configuration workload of forwarding strategy, and improve the efficiency disposing subtopology.
With reference to Fig. 3, it is shown that the step stream of another kind information synchronization method based on the network element device embodiment of the present invention
Cheng Tu, specifically may include steps of:
Step 302, obtains information to be synchronized.
Wherein, synchronizing information specifically can include topology identifier and forwarding strategy.First network element of the embodiment of the present invention sets
For according to the topology identifier in synchronizing information and forwarding strategy, locally stored forwarding information can being updated, to ensure
The flow of topology area can forward according to correct forward-path.
Concrete, first network element device of the present embodiment can be defeated for the forwarding strategy of a certain topology area according to user
The content entered determines the forwarding strategy that this topology area is corresponding, and uses this forwarding strategy to update the forwarding plan of this topology area
Slightly.Such as, the content that user can be inputted by the first network element device is as the forwarding strategy of this topology area, and sets up this and open up
Flutter the incidence relation between topological ID and the forwarding strategy in region, and preserve in the local database, complete this topology area
The renewal of forwarding strategy, as used forwarding strategy to configure the forwarding strategy of this topology area, or uses this forwarding strategy to update
The forwarding strategy of this topology area, this is not specifically limited by the embodiment of the present invention.
In a preferred embodiment of the invention, according to the topology identifier in synchronizing information and forwarding strategy, to this locality
The forwarding information of storage is updated, and specifically may include that and searches and institute in described forwarding information according to described topology identifier
State the target forwarding strategy that topology identifier is corresponding;Described forwarding strategy is used to replace described target forwarding strategy.
Concrete, locally stored forwarding information generally can be preserved in the local database by the first network element device.Cause
This, the first network element device can use topology identifier to make a look up local data base, to determine locally stored forwarding information
Whether comprise the target forwarding strategy corresponding with this topology identifier.If the mesh that in local data base, non-memory topology mark is corresponding
Mark forwarding strategy, then may determine that the first network element device does not configures the forwarding strategy of topology area corresponding to this topology identifier, i.e.
Locally stored forwarding information does not comprises target forwarding strategy, and then the forwarding strategy of this generation can be used to configure this topology district
The forwarding strategy in territory;If local data base has stored the forwarding strategy of this topology area, then can use the forwarding plan of generation
The forwarding strategy slightly stored in replacement data storehouse, is updated with the forwarding strategy to this topology area, as determined this locality
When the forwarding information of storage comprises target forwarding strategy, and when forwarding strategy is inconsistent with the target forwarding strategy stored,
Forwarding strategy can be used to replace target forwarding strategy, it is achieved automatically update the forwarding strategy of topology area.
Step 304, generates message to be synchronized.
Wherein, message to be synchronized carries information to be synchronized.
In the embodiment of the present invention, the first network element device, when the renewal completing forwarding strategy, can generate the synchronization of correspondence
Mark, to trigger the function of automatic synchronization forwarding strategy.Such as, user can configure a certain topology area correspondence on Router A
Forwarding strategy, and can by the way of to Router A transmitting order to lower levels, enable Router A many topology forwarding strategies
Automatic synchronizing function is such as by many topology forwarding strategy automatic synchronizing function mark positions 1, so that Router A can foundation
The forwarding strategy of topology area is updated by topology identifier and forwarding strategy in information to be synchronized.
First network element device, after renewal completes, can generate the sync id that topology identifier is corresponding, the most same to trigger
The function of step forwarding strategy.After the function triggering automatic synchronization forwarding strategy, the first network element device can pass through topology identifier
Recognize the message that topology area is corresponding, and then the message that topology area is corresponding can be obtained, add information to be synchronized to report
Wen Zhong, as topology identifier and forwarding strategy being encapsulated in message by self-defining mode, is generated and carries this synchronizing information
Message to be synchronized.
Step 306, the second network element device in using described topology identifier to determine described topology area.
Specifically, network element device can use topology identifier to determine the topology area of correspondence, as identified by topology ID
Corresponding connecting link, such that it is able to the neighbor device this connecting link connected is as the second equipment.Therefore, the present invention is real
Execute the second network element device in the first network element device of example can use topology identifier to determine this topology area.
Step 308, is sent to described second network element device by described message to be synchronized, to trigger described second network element device
Update the forwarding information in described second network element device.
In a preferred embodiment of the invention, network element device updates forwarding information, specifically may include that when receiving
During described message to be synchronized, from described message to be synchronized, extract forwarding strategy and topology identifier;Set up the forwarding plan extracted
Corresponding relation slightly and between described topology identifier, and preserve.
Such as, this link state data bag, when receiving link data bag, can be resolved by the second network element device, from
And information to be synchronized can be extracted from this link data bag, as extracted forwarding strategy and topology identifier, and then can be according to institute
The topology identifier data extracted determine the topology area of correspondence, and forwarding strategy and topology identifier can be saved in local data
In storehouse, with to determined by the forwarding strategy of topology area be updated.
It should be noted that the second network element device in the embodiment of the present invention is after extracting information to be synchronized, it is also possible to
As the first network element device, after having updated, generate the sync id of correspondence, with based on this sync id by this forwarding strategy
Add in the link state data bag of this topology area, such that it is able to this forwarding strategy is flooded by link state data bag
To other network element device of this topology area.
Visible, the present embodiment passes through to increase forwarding strategy in link state data bag, so that each in IS-IS network
Network element device can be according to the forwarding strategy automatic synchronization forwarding strategy of packet, as in subtopology network, it is only necessary to one
Router issues forwarding strategy, the all-router in this topological network all can automatic synchronization, rapidly and efficiently carry out subtopology
Deployment, and the flow that instructs that can be correct forwards in this topology, i.e. in the configuration workload reducing forwarding strategy
While, improve the efficiency disposing subtopology.
Step 310, generates corresponding Maintenance Table according to sync id with forwarding information.
Wherein, the described Maintenance Table system identification that in can comprising topology area, each network element device is corresponding, forwarding strategy
With topology identifier etc..
Concrete, in IS-IS network, the local data base of network element device includes LSD.Link State
Data base can preserve the link-state information that network element device is mutual with other network element device, such as owning in this IS-IS network
The system identification (System Id) of IS-IS router and title, and many topology ID of correspondence and many topology forwarding strategies
Content.Wherein, IS-IS router can safeguard these contents in a tabular form.Therefore, network element device network element device can be based on
Sync id, the forwarding information using LSD to be preserved generates the Maintenance Table that topology area is corresponding, as obtained LSP
In topological ID and forwarding strategy, generate corresponding Maintenance Table.
Such as, after all-router all synchronizes, every IS-IS router in this IS-IS network can be by looking into
Look for LSDB internal data structure, be somebody's turn to do to extract on the IS-IS equipment of many topology forwarding strategy automatic synchronizing function mark positions 1
The System Id of all of IS-IS router in IS-IS network and title, and many topology ID of correspondence and many topologys turn
Send out strategy, such that it is able to by corresponding for the IS-IS router in network many topology ID and many topology forwarding strategy one_to_one corresponding,
Show in topology tree diagram mode.When network causes the business in this topology with the presence of different many topology forwarding strategies
When flow is obstructed, by checking this topology tree diagram, i.e. table content, such that it is able to quickly locate these many topologys to forward plan
The System Id of slightly corresponding IS-IS router and title, be i.e. easy to search the forwarding of which platform router in this connecting link
Strategy is inconsistent, and is easy to many topology forwarding strategies of this IS-IS router are safeguarded and revised.
See Fig. 4, it is shown that in one concrete example of the present invention, two network element device automatic synchronization forwarding strategies is mutual
Schematic diagram, specifically includes following steps:
Step 402, sets up IS-IS many topologys neighborhood between Router A and Router B.
In this example, for realizing many topology forwarding strategy automatic synchronizing functions, IS-IS increases field CLV newly.Should
CLV is that Code/Length/Value form is write a Chinese character in simplified form, and form is as shown in Figure 5.C is the abbreviation of Code, can be used to indicate that basis
The identification code that Intermediate System to Intermediate System is arranged, as being set to 241 to identify this CLV field for many topology forwarding strategies by the value of Code;L
For the abbreviation of Length, the scope of VALUE field can be represented, if CLV takies 2 bytes, the then scope of data of Length
Be 2 to 255.As shown in Figure 6, it is shown that the form schematic diagram of VALUE in CLV.Wherein, R position represents reserved bit, as can be by
In VALUE, front 4 positions 0 are to be set to reserved bit;MT ID is 12, can be used to indicate that many topology ID, and these many topology ID are permissible
Consistent with the topological ID setting up many topology neighbours;MT POLICY can include enabling many topology forwarding strategy automatic synchronizing functions
Network element device on the forwarding strategy content that issues, its scope of data can be 0 to 253.
Wherein, the topological ID that the link of Router A and Router B connection is corresponding is 10.
Step 404, Router A enables many topology forwarding strategy automatic synchronizing functions, fills CLV.
In IS-IS system, user can be by issuing synch command to Router A so that it enters synchronous regime.
Under synchronous regime, Router A can fill CLV according to default mode, if encapsulation identification code Code is the CLV of 241, and should
The topological ID that MT id field in CLV is filled in upper corresponding topological ID, i.e. MT id field is 10, MT in VALUE field
POLICY content is empty.
Step 406, LSP is flooded to neighbor device RouterB by Router A.
This CLV, after having filled CLV, using this CLV as after information to be synchronized, and can be encapsulated by Router A
In LSP, thus by this LSP by information from flooding to be synchronized to neighbor device RouterB, sync id can be used simultaneously
Identify the forwarding strategy of this connecting link for automatically configuring.
Step 408, after RouterB receives this LSP, can resolve the CLV entrained by LSP, to extract this
Topology ID and corresponding forwarding strategy content also issue this and are configured to this locality.
Concrete, RouterB after receiving LSP, can according to the Code entrained by CLV being 241 recognize CLV,
And then by resolving this CLV, extract in CLV entrained topological ID and corresponding forwarding strategy content, and issue and be configured to
In local data base, the forwarding strategy of this topology area can be designated simultaneously and automatically configure, as being 10 right by this topology ID
The forwarding strategy content identification answered is automatically configure.Certainly, can also to judge that this RouterB the most also enables many for the present embodiment
Topology forwarding strategy automatic synchronizing function, such that it is able to enable many topology forwarding strategy automatic synchronizing functions at Router B
In the case of, the forwarding strategy of this topology area can be flooded to other neighbor device of Router B by Router B.
Such as, configuration distributing many topologys forwarding strategy mtr-policy1 in Router A, IS-IS is by this forwarding strategy
Content update is filled in the CLV that Code is 241.Router A generates LSP based on this CLV, such that it is able to will be opened up by LSP more
Flutterring forwarding strategy mtr-policy1 and be flooded to neighbours Router B, the LSP that will comprise CLV floods to Router B, simultaneously can
It is automatically configure to identify this forwarding strategy in this locality.After Router B receives this LSP, this CLV can be solved
Analysis, extracts forwarding strategy content corresponding to this topology ID and issues this and be configured to this locality, while can identify this forwarding strategy
For automatically configure.If Router B device is Level-1-2 equipment, then need the LSP of LSP and Level-2 of Level-1
In all carry this CLV and flood away.Wherein, Router B can enable many based on the sync id data entrained by CLV
Topology forwarding strategy automatic synchronizing function, thus forwarding strategy content corresponding for topology ID is flooded to other neighbor device
Step 410, Router A and Router A obtain the topological ID in LSP respectively from local data base and forward plan
Slightly, Maintenance Table is generated.
In the present embodiment, possesses the equipment of automatic synchronization many topologys forwarding strategy ability, such as Router A and Router
A, can the many topology forwarding strategy automatic synchronizing function flags in LSDB internal data structure based on this equipment can from
Dynamic set, oneself generates in the LSP issued and comprises forwarding strategy related content, can obtain in LSP from local LSDB simultaneously
Topological ID and forwarding strategy, with by corresponding for the IS-IS router in network many topology ID and many topology forwarding strategies one by one
In correspondence, generate corresponding Maintenance Table, thus safeguard forwarding strategy content corresponding on topological structure and topological structure node.This
Sample, if cause the service traffics in this topology obstructed with the presence of different many topology forwarding strategies in this network, then can lead to
Cross the Maintenance Table of arbitrary the IS-IS router checking this connecting link, to check each router that this connecting link is connected
Forwarding strategy, such that it is able to fast and easy orient accurately cause because the forwarding strategy of which platform router is inconsistent turn
The problem sending out obstructed.
In sum, during this enforcement achieves IS-IS network the forwarding strategy of the network element device such as such as router automatically with
Step function so that the forwarding strategy coupling of the all-router connected by same connecting link in topological network, thus solve
The flow that the forwarding strategy of the router that same connecting link connects is inconsistent and causes forwards obstructed problem.Additionally, this reality
Execute the relation between forwarding strategy corresponding on the topological structure safeguarded in the Maintenance Table of example and topological structure node, Ke Yizhi
See what the corresponding forwarding strategy that ground demonstrates in topological structure on certain router is, thus facilitate connecting link each
The forwarding strategy of router is safeguarded and revises.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of action group
Closing, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because depending on
According to the embodiment of the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Knowing, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention implements
Necessary to example.
With reference to Fig. 7, it is shown that the structured flowchart of the synchronizing information device embodiment of a kind of network element device of the present invention, specifically
Can include such as lower module:
Data obtaining module 702, is used for obtaining information to be synchronized, and described information to be synchronized includes topology identifier and forwards plan
Slightly;
Information updating module 704, for according to described topology identifier and forwarding strategy, updating locally stored forwarding letter
Breath;
Message generation module 706, is used for generating message to be synchronized, and described message to be synchronized carries described information to be synchronized;
Message sending module 708, for described message to be synchronized is sent to the second network element device, so that described second net
Element device updates the forwarding information in the second network element device according to described message to be synchronized.It should be noted that the present invention implements
Synchronizing information device in example specifically can apply in the network element device of Intermediate System-to-Intermediate System IS-IS, as being applied to
In the first network element device in said method embodiment.
By the embodiment of the present invention, the network element device in IS-IS can pass through message sending module 708, can will treat
Sync message bag floods to other network element device in topology area so that other each network element device in this topology area
Locally stored forwarding information is updated according to information to be synchronized entrained in this message to be synchronized, the most same topology
Each network element device in region can be according to synchronizing information automatic synchronization forwarding strategy, it is achieved that many topology forwarding strategies are automatically same
The function of step, thus reduce the configuration workload of forwarding strategy, and improve the efficiency disposing subtopology.
With reference to Fig. 8, it is shown that the structured flowchart of the synchronizing information device embodiment of the another kind of network element device of the present invention.
Optionally, the message generation module 706 of the embodiment of the present invention, may include that acquisition submodule 7061 and generate son
Module 7063.Wherein, obtain submodule 7061, for obtaining the message that topology area is corresponding;Generating submodule 7063, being used for will
Described information to be synchronized is added in described message, generates described message to be synchronized.
In a preferred embodiment of the invention, described message sending module 708, including including following submodule:
Equipment determines submodule 7081, and for using described topology identifier to determine, the second network element in described topology area sets
Standby;
Send submodule 7083, be sent to described second network element device, to trigger for the most described message to be synchronized
State the second network element device and update the forwarding information in described second network element device.
Optionally, the second network element device in the present embodiment, specifically can treat same from this when receiving message to be synchronized
Step message extracts information to be synchronized, automatically updates locally stored forwarding information according to this information to be synchronized, as received
When carrying the link state data bag of forwarding strategy and topology identifier, extract forwarding strategy from described link state data bag and open up
Flutter mark;And, set up the corresponding relation between forwarding strategy and the described topology identifier extracted, and preserve.
In a preferred embodiment of the invention, information updating module 704, can include following submodule:
Search submodule 7041, for searching in described forwarding information and described topology identifier according to described topology identifier
Corresponding target forwarding strategy;
Replace submodule 7043, be used for using described forwarding strategy to replace described target forwarding strategy.
In a preferred embodiment of the invention, should synchronizing information device based on network element device, it is also possible to include as
Lower module:
Sync id generation module 710, after updating at described forwarding information, generates corresponding same of described topology identifier
Step mark.Concrete, the network element device in the embodiment of the present invention can be raw by sync id after having automatically updated forwarding strategy
Become module 710 to generate the sync id that topology identifier is corresponding, add synchronizing information to topology calling message generation module 706
In the message that region is corresponding, generate message to be synchronized, and can be by message sending module 708 by message generation module 706
The message to be synchronized generated is sent to the second network element device in this topology area, it is achieved thereby that by information to be synchronized
Forwarding strategy is synchronized to other network element device in this topology area.
Maintenance Table generation module 712, may be used for generating corresponding Maintenance Table according to sync id with forwarding information.Its
In, this Maintenance Table specifically can comprise each network element device in described topology area corresponding system identification, forwarding strategy and open up
Flutterring mark etc., this is not made concrete restriction by the present embodiment.
For device embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant
Part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, what each embodiment stressed is with
The difference of other embodiments, between each embodiment, identical similar part sees mutually.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, device or calculate
Machine program product.Therefore, the embodiment of the present invention can use complete hardware embodiment, complete software implementation or combine software and
The form of the embodiment of hardware aspect.And, the embodiment of the present invention can use one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) of program code
The form of the computer program implemented.
The embodiment of the present invention is with reference to method, terminal unit (system) and computer program according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can be by computer program instructions flowchart and/or block diagram
In each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.These can be provided
Computer program instructions sets to general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to produce a machine so that held by the processor of computer or other programmable data processing terminal equipment
The instruction of row produces for realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame
The device of the function specified.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing terminal equipment
In the computer-readable memory worked in a specific way so that the instruction being stored in this computer-readable memory produces bag
Including the manufacture of command device, this command device realizes in one flow process of flow chart or multiple flow process and/or one side of block diagram
The function specified in frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment so that
On computer or other programmable terminal equipment, execution sequence of operations step is to produce computer implemented process, thus
The instruction performed on computer or other programmable terminal equipment provides for realizing in one flow process of flow chart or multiple flow process
And/or the step of the function specified in one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the embodiment of the present invention, but those skilled in the art once knowing base
This creativeness concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to
The all changes including preferred embodiment and falling into range of embodiment of the invention and amendment.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like be used merely to by
One entity or operation separate with another entity or operating space, and not necessarily require or imply these entities or operation
Between exist any this reality relation or order.And, term " includes ", " comprising " or its any other variant meaning
Containing comprising of nonexcludability, so that include that the process of a series of key element, method, article or terminal unit not only wrap
Include those key elements, but also include other key elements being not expressly set out, or also include for this process, method, article
Or the key element that terminal unit is intrinsic.In the case of there is no more restriction, by wanting that statement " including ... " limits
Element, it is not excluded that there is also other identical element in including the process of described key element, method, article or terminal unit.
Above to a kind of information synchronization method based on network element device provided by the present invention and a kind of based on network element device
Synchronizing information device, be described in detail, principle and the embodiment of the present invention are entered by specific case used herein
Having gone elaboration, the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for this
The those skilled in the art in field, according to the thought of the present invention, the most all will change,
In sum, this specification content should not be construed as limitation of the present invention.
Claims (12)
1. an information synchronization method based on network element device, it is characterised in that described method is applied to intermediate system to middle
In first network element device of system IS-IS, described method includes:
Obtaining information to be synchronized, described information to be synchronized includes topology identifier and forwarding strategy;
According to described topology identifier and forwarding strategy, update locally stored forwarding information;
Generating message to be synchronized, described message to be synchronized carries described information to be synchronized;
Described message to be synchronized is sent to the second network element device, so that described second network element device is according to described message to be synchronized
Update the forwarding information in the second network element device.
Method the most according to claim 1, it is characterised in that described generation message to be synchronized, including:
Obtain the message that topology area is corresponding;
Described information to be synchronized is added in described message, generates described message to be synchronized.
Method the most according to claim 1, it is characterised in that described described message to be synchronized is sent to the second network element sets
Standby, including:
The second network element device in using described topology identifier to determine described topology area;
Described message to be synchronized is sent to described second network element device, to trigger described second network element device renewal described second
Forwarding information in network element device.
Method the most according to claim 1, it is characterised in that described according to described topology identifier and forwarding strategy, updates
Locally stored forwarding information, including:
In described forwarding information, the target forwarding strategy corresponding with described topology identifier is searched according to described topology identifier;
Described forwarding strategy is used to replace described target forwarding strategy.
Method the most according to claim 1, it is characterised in that before generating message forwarding strategy to be synchronized, also include:
After described forwarding information updates, generate the sync id that described topology identifier is corresponding.
Method the most according to claim 5, it is characterised in that also include:
Generating corresponding Maintenance Table according to sync id with forwarding information, wherein, described Maintenance Table comprises in described topology area
Forwarding strategy that each network element device is corresponding and topology identifier.
7. a synchronizing information device based on network element device, it is characterised in that described device is applied to intermediate system to middle
In first network element device of system IS-IS, described device includes:
Data obtaining module, is used for obtaining information to be synchronized, and described information to be synchronized includes topology identifier and forwarding strategy;
Information updating module, for according to described topology identifier and forwarding strategy, updates locally stored forwarding information;
Message generation module, is used for generating message to be synchronized, and described message to be synchronized carries described information to be synchronized;
Message sending module, for described message to be synchronized is sent to the second network element device, so that described second network element device
The forwarding information in the second network element device is updated according to described message to be synchronized.
Device the most according to claim 7, it is characterised in that described message generation module, including:
Obtain submodule, for obtaining the message that topology area is corresponding;
Generate submodule, for described information to be synchronized being added in described message, generate described message to be synchronized.
Device the most according to claim 7, it is characterised in that described message sending module, including:
Equipment determines submodule, the second network element device in using described topology identifier to determine described topology area;
Send submodule, for described message to be synchronized being sent to described second network element device, to trigger described second network element
Forwarding information in second network element device described in renewal of the equipment.
Device the most according to claim 9, it is characterised in that described information updating module, including:
Search submodule, for searching corresponding with described topology identifier in described forwarding information according to described topology identifier
Target forwarding strategy;
Replace submodule, be used for using described forwarding strategy to replace described target forwarding strategy.
11. devices according to claim 7, it is characterised in that also include:
Sync id generation module, after updating at described forwarding information, generates the sync id that described topology identifier is corresponding.
12. devices according to claim 8 or claim 9, it is characterised in that also include:
Maintenance Table generation module, for generating corresponding Maintenance Table, wherein, described Maintenance Table according to sync id with forwarding information
Forwarding strategy that in comprising described topology area, each network element device is corresponding and topology identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610601911.9A CN106254099B (en) | 2016-07-26 | 2016-07-26 | Information synchronization method and device based on network element equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610601911.9A CN106254099B (en) | 2016-07-26 | 2016-07-26 | Information synchronization method and device based on network element equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106254099A true CN106254099A (en) | 2016-12-21 |
CN106254099B CN106254099B (en) | 2020-03-31 |
Family
ID=57604070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610601911.9A Active CN106254099B (en) | 2016-07-26 | 2016-07-26 | Information synchronization method and device based on network element equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254099B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110518957A (en) * | 2019-07-30 | 2019-11-29 | 北京大学 | Bypass network guidance method in a kind of open wireless channel |
CN113347221A (en) * | 2020-03-02 | 2021-09-03 | 海能达通信股份有限公司 | Data synchronization method, communication station, cluster system and storage device |
CN114978872A (en) * | 2022-04-21 | 2022-08-30 | 山东浪潮科学研究院有限公司 | Synchronization method and device of SCTP (stream control Transmission protocol) stack |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102387042A (en) * | 2011-11-22 | 2012-03-21 | 华为技术有限公司 | Automatic configuration method and system as well as network node |
CN103501260A (en) * | 2013-09-12 | 2014-01-08 | 北京创毅讯联科技股份有限公司 | Network configuration method and access device of enterprise network |
CN105245382A (en) * | 2015-10-23 | 2016-01-13 | 小米科技有限责任公司 | Router configuration information modifying method and device |
CN105392140A (en) * | 2015-11-19 | 2016-03-09 | 上海斐讯数据通信技术有限公司 | Key configuration automatic synchronization method among wireless routers |
-
2016
- 2016-07-26 CN CN201610601911.9A patent/CN106254099B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102387042A (en) * | 2011-11-22 | 2012-03-21 | 华为技术有限公司 | Automatic configuration method and system as well as network node |
CN103501260A (en) * | 2013-09-12 | 2014-01-08 | 北京创毅讯联科技股份有限公司 | Network configuration method and access device of enterprise network |
CN105245382A (en) * | 2015-10-23 | 2016-01-13 | 小米科技有限责任公司 | Router configuration information modifying method and device |
CN105392140A (en) * | 2015-11-19 | 2016-03-09 | 上海斐讯数据通信技术有限公司 | Key configuration automatic synchronization method among wireless routers |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110518957A (en) * | 2019-07-30 | 2019-11-29 | 北京大学 | Bypass network guidance method in a kind of open wireless channel |
CN110518957B (en) * | 2019-07-30 | 2020-11-06 | 北京大学 | Bypass network guiding method in open wireless channel |
CN113347221A (en) * | 2020-03-02 | 2021-09-03 | 海能达通信股份有限公司 | Data synchronization method, communication station, cluster system and storage device |
CN113347221B (en) * | 2020-03-02 | 2023-05-12 | 海能达通信股份有限公司 | Data synchronization method, communication station, cluster system and storage device |
CN114978872A (en) * | 2022-04-21 | 2022-08-30 | 山东浪潮科学研究院有限公司 | Synchronization method and device of SCTP (stream control Transmission protocol) stack |
CN114978872B (en) * | 2022-04-21 | 2023-06-06 | 山东浪潮科学研究院有限公司 | SCTP protocol stack synchronization method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106254099B (en) | 2020-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106105135B (en) | Name extensible content routing and mobility method and device in data network | |
CN106330714B (en) | Method and device for realizing service function chain | |
CN103493441B (en) | Use route Track Pick-up without loop route topological | |
CN102368727B (en) | Crossed IP network TRILL network communication method, system thereof and devices | |
CN106105115A (en) | The service chaining originated by service node in network environment | |
CN107078957A (en) | The link of network service function in communication network | |
CN106170952A (en) | For disposing the method and system of maximum redundancy tree in a data network | |
CN104468351B (en) | Management method, CCN retransmission units and network controller based on SDN auxiliary CCN routes | |
CN104283789B (en) | Route convergent method and system | |
CN103166876A (en) | Transmission method for data among OpenFlow network domains and device | |
CN104618244A (en) | SDN network and traditional IP network intercommunicating method and system | |
CN101986622B (en) | A kind of automatic identifying method of PCE status attribute and system | |
EP2122925B1 (en) | Method and bridge for calculating a spanning tree based on link state advertisements (LSA) | |
Le et al. | Shedding light on the glue logic of the internet routing architecture | |
CN101517998A (en) | Method for announcing border connecting information of autonomous system and boundary nodes | |
CN104243270A (en) | Tunnel setup method and tunnel setup device | |
CN107517157A (en) | A kind of determining method of path, device and system | |
CN108259341A (en) | A kind of prefix label distribution method and SDN controllers | |
CN112511431B (en) | Routing flow fusion method for virtual network simulation | |
US20120124238A1 (en) | Prioritization of routing information updates | |
CN106656905A (en) | Firewall cluster realization method and apparatus | |
CN106254099A (en) | A kind of information synchronization method based on network element device and device | |
WO2019162210A8 (en) | Method and system for interfacing communication networks | |
CN105745882A (en) | Realization method for flat networks routing based on network | |
CN105637806B (en) | Network topology determines method and apparatus, centralized network status information storage equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou science and Technology Development Zone, Zhejiang high tech park, No. six and road, No. 310 Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |