当前位置:网站首页>Hcip bidirectional republication and routing strategy
Hcip bidirectional republication and routing strategy
2022-07-27 02:23:00 【less than _ ermi】
Experimental content :

R1 Except for self loopback , Plus several loops
172.16.1.0/24 deny172.16.2.0/24 type 1
172.16.3.0/24 cost 6
172.16.4.0/24 type 1 cost 9
Change the above parameters
Experimental process :
RIP And oSPF Republishing technology and configuration
[r2]rip
[r2-rip-1]import route ospf 1
[r2]ospf 1
[r2-ospf-1]import route rip Inquire about r3 Routing table 
By looking at the routing table, you can see
The default republishing import route is5 class LSA,type 2;The default seed metric is 1;
Type shows only seed metrics , Do not display internal overlay metrics ;When routing , Compare types first ,
type 1 Better than type 2;If all are of type 2, First compare the seed metrics ,Xiaoyou;
If the seed measures the same , CompareTotal measurement;
Problems caused by multi-point two-way republishing -- Routing feedback
Default RIP and OSPF If the protocol is multi-point and bi-directional republished , Because of their different priorities ; So the first one ASBR After the re release action of , Will affect other ASBR Routing table of the device ; Using a route may be returned to the source protocol ; This behavior is called
Routing feedback -- As a result, the route is not selected
resolvent : Huawei manufacturerstake OSPF The internally generated routing priority is designed as 10, External republishing enters 5/7 Class route is set to 150
Routing strategy -- In the process of forwarding traffic at the control level , Intercept flow , Then modify the traffic and forward it , Or not forward ; Finally, it will affect the generation of router routing table , Interference in routing
The prefix list -- Dedicated to capturing the network number at the control level
[r1]ip ip-prefix hcip permit 3.3.3.0 25
[r1]ip ip-prefix hcip permit 4.4.4.0 23
The default sequence number is 10; Convenient insertion
[r1]ip ip-prefix hcip index 15 deny 4.4.4.0 24
[r1]ip ip-prefix hcip permit 1.1.1.0 24 less-equal 32 The mask length is 24 To 32
[r1]ip ip-prefix hcip permit 5.5.5.0 24 greater-equal 30 The mask length is 30 To 32
[r1]ip ip-prefix hcip permit 6.6.6.0 24 greater-equal 29 le 31 The mask length is 29 To 31
Matching rules : Match one by one from top to bottom , If the previous item matches, follow the previous item , Don't view the next ; The end implicitly rejects all
[r1]ip ip-prefix hcip permit 0.0.0.0 0 le 32 Allow all
Routing strategy
[r2]route-policy huawei permit node 30
[r2-route-policy]if-match ip-prefix a // Match prefix list
[r2-route-policy]q
[r2]route-policy huawei permit node 40
[r2-route-policy]if-match ip-prefix b
[r2-route-policy]apply cost-type type-1
[r2-route-policy]q
[r2]route-policy huawei permit node 50
[r2-route-policy]if-match ip-prefix c
[r2-route-policy]apply cost 6
[r2-route-policy]q
[r2]route-policy huawei permit node 60
[r2-route-policy]if-match ip-prefix d
[r2-route-policy]apply cost-type type-1
[r2-route-policy]apply cost 9
[r2-route-policy]q
[r2]route-policy huawei permit node 50 // Empty table , Allow all ;
[r2-route-policy]qCall... When republishing
[r2]ospf 1
[r2-ospf-1]import-route rip 1 route-policy HuaweiEnd of experiment
边栏推荐
- RS-485 bus communication application
- Lora光照传感器节点数据采集
- Esp8266wi fi access cloud platform
- CAN总线通信应用
- SQL优化的N种方法
- OSPF basic experimental configuration
- Codeforces Round #796 (Div. 2), problem: (1688C) Manipulating History
- Lora illumination sensor node data acquisition
- 光光光仔的CSDN之旅
- C language - first program, print, variables and constants
猜你喜欢

First knowledge of C language (2)

(题意+详细思路+加注释代码) Codeforces Round #805 (Div. 3)F. Equate Multisets

ESP8266Wi-Fi接入云平台

HCIA动态路由OSPF实验

睡不着时闭眼躺着,到底有没有用?

Test and open basic daily question brushing (continuous updating...)

Lesson 5 - key control LED

C language -- while statement, dowhile statement, for loop and loop structure, break statement and continue statement

【C语言】阶乘实现

NAT network address conversion experiment
随机推荐
First knowledge of C language (2)
在有序数组找具体某个数字
Can bus communication application
MySQL course 1. simple command line -- simple record welcome to supplement and correct errors
C language - first program, print, variables and constants
ESP8266Wi-Fi接入云平台
C语言——while语句、dowhile语句、for循环和循环结构、break语句和continue语句
HCIA静态路由综合实验
JVM面试题(面试必备)
全连MGRE与星型拓扑MGRE
Codeforces Round #807 (Div. 2), problem: (C) Mark and His Unfinished Essay
C language - array, string handler, strlen, strcpy and strncpy, strcat and strncat, StrCmp and strncmp
Golang - sync包的使用 (WaitGroup, Once, Mutex, RWMutex, Cond, Pool, Map)
Experiment exercise of two-layer packaging technology (HDLC, ppp--pap\chap, GRE)
SQL优化的N种方法
First knowledge of Web Design
OSPF basic configuration application (comprehensive experiment: interference election default routing area summary authentication -- interface authentication)
动态路由ofps协议配置
多线程中 synchronized 锁升级的原理是什么?
HCIA静态路由基础模拟实验