当前位置:网站首页>OSPF shunt test

OSPF shunt test

2022-06-23 05:12:00 Empty and white

 Insert picture description here
One 、 To configure IP
Two 、 take R1~4 To build a OSPF1,R3 R4 R5 build OSPF2,R3 R4 R7 To build a OSPF3
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]a 0
[r1-ospf-1-area-0.0.0.0]network 14.1.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 14.1.2.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 10.1.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 10.1.2.1 0.0.0.0

[r3]ospf 2
[r3-ospf-2]a 0
[r3-ospf-2-area-0.0.0.0]network 24.1.1.1 0.0.0.0
[r3]ospf 3 router-id 3.3.3.3
[r3-ospf-3]a 0
[r3-ospf-3-area-0.0.0.0]net 24.1.2.1 0.0.0.0

[r6]ospf 3 router-id 6.6.6.6
[r6-ospf-3]a 0
[r6-ospf-3-area-0.0.0.0]net 10.1.6.1 0.0.0.0
[r6-ospf-3-area-0.0.0.0]net 10.2.6.1 0.0.0.0
[r6-ospf-3-area-0.0.0.0]net 24.1.2.2 0.0.0.0
[r6-ospf-3-area-0.0.0.0]net 24.1.4.2 0.0.0.0
3、 ... and 、 After redistribution ,R3 Up increase R4cost,R4 contrary
[r3-ospf-1]import-route ospf 2
[r3-ospf-1]import-route ospf 3
[r3]ospf 2
[r3-ospf-2]import-route ospf 1
[r3-ospf-2]import-route ospf 3
[r3]ospf 3
[r3-ospf-3]import-route ospf 1
[r3-ospf-3]import-route ospf 2
R4 Empathy

Test connectivity
 Insert picture description here

[r3]ip ip-prefix 1 index 10 permit 10.2.0.0 16 greater-equal 21 less-equal 26
[r3]route-policy rp permit node 10
Info: New Sequence of this List.
[r3-route-policy]if-match ip-prefix 1
[r3-route-policy]apply cost 30
R4 Empathy

原网站

版权声明
本文为[Empty and white]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230201205535.html