当前位置:网站首页>OSPF design principles, commands take H3C as an example
OSPF design principles, commands take H3C as an example
2022-06-26 07:34:00 【wljslmz】
Hello everyone , Today I'd like to introduce to you OSPF Design principles , The commands involved in the article , in H3C For example , Command formats are Huawei and H3C similar , So basically, Huawei equipment is also applicable .

Router ID Design principles
- Directly use the management address of the device (loopback) As Router ID.
- Suggest Router ID Unified planning for a continuous network segment , And configured manually Router ID:
[H3C] ospf 10 router-id 1.1.1.1
Design principle of area division
- OSPF The division of regions is closely related to the network level , The core layer and the convergence layer are usually planned as backbone areas ( Area 0), The equipment of the convergence layer is planned as ABR, The convergence layer and the access layer are planned as non backbone areas , Non backbone areas shall be planned as NSSA Area .
- The number of equipment in each area should preferably not exceed 30 platform , This number is not absolute , Mainly related to equipment performance , Link stability is closely related to .
- The planning of non backbone areas can be compared with the actual administration in the network 、 The geographical division is consistent .
Routing aggregation design principles
- stay ABR It is usually necessary to aggregate the routes of non backbone areas and publish them to the backbone areas ; Empathy , The routes in the backbone area usually need to be aggregated and then published to the non backbone area . stay ABR When configuring routing aggregation on , It is recommended to manually configure the aggregation routing overhead :
[H3C-ospf-1-area-0.0.0.0] abr-summary 10.1.0.0 255.255.0.0 cost 100
- stay ASBR All locally introduced routes can be aggregated and then published . stay ASBR Configure routing aggregation , It is recommended to manually configure the aggregation routing overhead :
[H3C-ospf-1] asbr-summary 10.1.0.0 255.255.0.0 cost 1000
- The aggregated address range is the link address 、 Business address , But usually not loopback Address for aggregation .
OSPF Of Of COST Design principles
- It is recommended to configure the bandwidth reference value as OSPF The maximum physical interface bandwidth in the network 10 times . Since then , The smallest in the network COST The value is 10 了 .
For example, there are three interfaces in the network :10G、1G、100M, If the bandwidth reference value is configured as 100000, that 10G Oral COST by 10,1G Oral COST by 100,100M Interface COST by 1000,OSPF The agreement can be based on differentiated COST Value for routing .
- If the maximum physical interface bandwidth in the network is 10G, Then the configuration bandwidth reference value is 100000
[H3C-ospf-1] bandwidth-reference 100000
- It can also be configured manually according to the traffic model vlan Interface overhead
OSPF Interface network type design
Configure an interface with only one neighbor OSPF The network type is P2P, Ethernet default OSPF The interface type is broadcast , But in most cases OPSF Local area networks all use access Ports and interconnections vlan To run OSPF, Equivalent to one P2P Network of , So at this time, it is suggested to connect the Internet vlan The interface type of is modified to P2P:
[H3C-Vlan-interface113] ospf network-type p2p
To configure OSPF MD5 verification
From the perspective of security , To avoid the leakage of routing information or to OSPF The router makes malicious attacks , Recommended configuration OSPF Message verification function :
[H3C-ospf-1-area-0.0.0.0] authentication-mode md5
[H3C-Vlan-interface113] ospf authentication-mode md5 1 cipher h3c.com
Configure to disable interface transceiver OSPF message
OSPF The equipment is often used network Command to introduce business vlan, At this time, in addition to releasing 1 class LSA outside , stay network The interface of also sends OSPF Message to establish a neighbor , At this time, it is recommended to configure to prohibit these interfaces that do not need to establish neighbors OSPF message :
[H3C-ospf-1] silent-interface vlan-interface 113
Optimize SPF Calculate the parameters ( Optional )
[H3C-ospf-1] spf-schedule-interval 5 100 1000
Be careful : This parameter needs to be owned by the whole network OSPF Only when the equipment is uniformly configured can the effect be reflected .
To configure OSPF Interface skills
Add interface , Use “network Interface IP Address 0.0.0.0” To add an interface to an area , Use unmask 0.0.0.0 This method can avoid calculating the unmask process according to the interface mask .
[H3C-ospf-1-area-0.0.0.0] network 113.0.0.1 0.0.0.0
OSPF The design principle of route introduction
- OSPF Direct connection can be introduced 、 Static and other routing protocols .
- For direct routing , Use network Commands are issued as IntrAzone routes , Avoid using importdirect operation .
- For static and other routing protocols , It can be planned uniformly when it is introduced COST And routing type .
- If you introduce BGP route , Consider the size of the routing table , You can also use the default routing to avoid introducing .
- Between different routing protocols or OSPF Pay attention to route filtering when two-way importing between different processes , Avoid routing loops .
边栏推荐
- 一项听起来大胆,并且非常牛逼的操作——复刻一个 Netflix
- 蓝桥杯嵌入式学习总结(新版)
- [recommend an entity class conversion tool mapstruct, which is powerful and easy to use]
- SQL
- Cloud native integration data warehouse heavy release
- 职场“大冤种”,不仅身累,心也被掏空……
- Ppbpi-h-cr, ppbpimn Cr, ppbpi Fe Cr alkynyl crosslinked porphyrin based polyimide material Qiyue porphyrin reagent
- Liangshui Xianmu shows his personal awareness as a unity3d worker
- QT basics tutorial: qstring
- Detailed materials of applying for residence permit in non local Beijing
猜你喜欢

Attention mechanism yyds, AI editor finally bid farewell to P and destroyed the whole picture

Crosslinked porphyrin based polyimide ppbpi-2, ppbpi-1-cr and ppbpi-2-cr; Porous porphyrin based hyperbranched polyimide (ppbpi-1, ppbpi-2) supplied by Qiyue

卡尔曼滤波器_Recursive Processing

Young man, do you know the original appearance of kotlin association process?

Redis series - five common data types day1-3

B站增量数据湖探索与实践

基于sanic的服务使用celery完成动态修改定时任务

Cache usage

Quickly find five channels for high-quality objects, quickly collect and avoid detours

ZRaQnHYDAe
随机推荐
Zraqnhydae
Redis系列——5种常见数据类型day1-3
一文搞懂Glide,不懂来打我
Tsinghua Yaoban chendanqi won Sloan award! He is a classmate with last year's winner Ma Tengyu. His doctoral thesis is one of the hottest in the past decade
Class class of box selection four to and polygon box selection based on leaflet encapsulation
数据中心灾难恢复的重要参考指标:RTO和RPO
Scratch program learning
Golang source package collection
Error: the specified LINQ expression contains a reference to a query associated with a different context
[North Asia data recovery] a server data recovery method in which the partitions in the RAID5 array are formatted due to the misoperation of the NTFS file system
Iron / zinc / copper / platinum metal complexes such as 5,10,15,20-tetra (4-hydroxyphenyl) porphyrin (THPP) / (thppfe) / (thppzn) / (thppcu) / (thpppt) - Qiyue R & D
安装homebrew报错汇总
Which of the top ten securities companies has the lowest commission fee and is the most safe and reliable?
CMDA 3634 image processing
Apache inlong graduated as a top-level project with a million billion level data stream processing capability!
Parameter index out of range (0 < 1) (1> number of parameters, which is 0
JMeter stress test web agent local interface test [teaching]
Blue Bridge Cup embedded learning summary (new version)
Yyds dry inventory kubernetes easy service discovery and load balancing (11)
Excel中Unicode如何转换为汉字