rip 1
version 2
network 1.0.0.0
network 172.16.0.0
network 12.0.0.0
network 14.0.0.0rip 1
version 2
network 12.0.0.0
network 2.0.0.0
q
ospf 1
area 0network 23.1.1.1 0.0.0.0
ospf 1
area 0
network 23.1.1.2 0.0.0.0network 3.3.3.3 0.0.0.0
network 34.1.1.2 0.0.0.0ospf 1
area 0
network 4.4.4.4 0.0.0.0
network 34.1.1.1 0.0.0.0q
r4
q
rip 1
version 2
network 14.0.0.0ip ip-prefix 1 permit 172.16.1.0 24
ip ip-prefix 2 permit 172.16.2.0 24
ip ip-prefix 3 permit 172.16.3.0 24
ip ip-prefix 4 permit 172.16.4.0 24route-policy huawei deny node 10
if-match ip-prefix 1
q
route-policy huawei permit node 20
if-match ip-prefix 2
apply cost-type type-1
q
route-policy huawei permit node 30
if-match ip-prefix 3
apply cost 6
q
route-policy huawei permit node 40
if-match ip-prefix 4
apply cost-type type-1
apply cost 9ospf 1
import-route rip 1 route-policy huawei
q
rip 1;import-route ospf 1
r4
interface LoopBack 0
ip add 4.4.4.4 32
interface LoopBack 0
ospf network-type broadcast
重发布ospf
最新推荐文章于 2024-08-28 21:39:09 发布