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

A kind of OSPF routing control method and device

A control method and routing technology, applied in the field of data communication, can solve the problems of inability to accurately realize external routing isolation or intercommunication, affecting the flexibility of network equipment deployment, and low external routing control accuracy, so as to reduce the transmission range and reduce the number of LSAs. , the effect of improving maintenance efficiency

Active Publication Date: 2021-08-17
MAIPU COMM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The embodiment of the present invention provides an OSPF route filtering method and device, which are used to solve the problem that the existing external route filtering strategy cannot accurately realize the isolation or intercommunication of external routes, which affects the flexibility of network device deployment, and the control of external routes The accuracy is not high, which may cause a large number of useless routes on the network device and occupy the system resources of the network device.

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A kind of OSPF routing control method and device
  • A kind of OSPF routing control method and device
  • A kind of OSPF routing control method and device

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0054]Adopt a kind of OSPF route control method that the embodiment of the present invention provides, concrete implementation is as follows: configure the route control policy based on Area 1 on R2, the purpose of this route control policy is to prevent all external routes of R4 from going to the OSPF where Area 1 is located. All OSPF neighbors in the area are notified. The preset rules of this routing control policy include ASBR Router ID as 4.4.4.4 and routing control as forbidden.

[0055] For example, the Link State ID carried in the Type 4 LSA is 4.4.4.4.

[0056] R2 sends the Type 4 LSA to Area 1, and compares it with the preset rules in the configured routing control policy. Since the Link State ID carried by the Type 4 LSA is 4.4.4.4 and the preset rules include the ASBR Router ID as 4.4.4.4 If they are the same, if it is judged that the table entry corresponding to the 4 types of LSAs in the OSPF database contains Area 1 and the routing control is prohibited, the 4 t...

example 2

[0066] Here, the above user requirements are further refined. For example, the external routes of R3 and R4 can only access the network of the external route whose IP prefix and mask are 100.1.1.0 / 24. Assume that the external route is generated by R1. The specific implementation is as follows:

[0067] It should be noted that since R3 can only access the network where the external route of R1 (the IP prefix and mask of the external route is 100.1.1.0 / 24) and R4 can only access the routing control of the network where the external route of R1 is located The implementation is similar. Here, R3 can only access the network of the external route of R1 as an example to describe in detail.

[0068] Specifically, configure a route control policy based on Area 1 on R2. This route control policy only allows the external routes of R1 (the external route IP prefix and mask are 100.1.1.0 / 24) to advertise to the OSPF neighbors of Area1. The route control policy The preset rules of the poli...

example 3

[0076] Here, the above user requirements are further refined. For example, the external routes of R3 and R4 can communicate with other external routes of R1, but cannot access the IP prefix of the external routes of R1 and the external routes with the mask of 120.1.1.0 / 24. The network is implemented as follows:

[0077] It should be noted that since R3 cannot access the external route of R1 (the IP prefix and mask of the external route are 120.1.1.0 / 24), the network where R4 is unable to access the external route of R1 is similar to the routing control implementation of the network. , take the network where R3 cannot access the external route of R1 as an example to describe in detail.

[0078] Specifically, configure a route control policy based on Area 1 on R2. This route control policy only prevents the external route of R1 (the external route IP prefix and mask are 120.1.1.0 / 24) from advertising to the OSPF neighbors of Area1. The route control policy The preset rules of t...

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

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an OSPF routing control method and device, relates to the field of data communication, and realizes precise control of external routing. The method includes: configuring a routing control strategy for an OSPF area, wherein the routing control strategy includes an OSPF area, preset rules, and routing control; acquiring a link state advertisement LSA to be sent; combining the LSA to be sent with the Compared with the preset rules in the routing control strategy, if there is a preset rule matching the LSA to be sent in the routing control strategy, it is judged that in the entry corresponding to the LSA to be sent in the OSPF database, Whether to include the OSPF area and routing control corresponding to the matching preset rule in the routing control policy, and if so, perform sending control on the LSA to be sent according to the corresponding OSPF area and routing control.

Description

technical field [0001] The invention belongs to the field of data communication, in particular to an OSPF routing control method and device. Background technique [0002] In the field of network communication, in order to realize the interconnection and intercommunication of IP networks of enterprises, network devices usually run routing protocols. Among them, the Open Shortest Path First (OSPF for short) routing The characteristics of stable learning and fast convergence have been widely used. [0003] In actual network deployment, it is usually necessary to define different network access rights for different services, or different network access rights for different network point devices. In order to meet this kind of network deployment requirements, it is necessary to formulate a routing control strategy to achieve isolation and intercommunication between different networks. Here, the OSPF routing protocol is taken as an example. Usually, the entire network deployment d...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/715H04L12/721H04L12/751H04L45/02
CPCH04L45/04H04L45/12H04L45/08
Inventor 沈波
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products