回顾:

OSPF报文类型和邻居

5种报文类型: Hello DBD LSR LSU LSACK

OSPF网络类型:P2P Broadcast NBMA P2MP P2MP-NON

DR选举规则:

LSA:

1 路由器LSA---每个路由器都产生(show ip ospf database router)

2 网络LSA--DR产生(show ip ospf database network)

3 网络汇总LSA--ABR(show ip ospf database summary)

4 ASBR汇总LSA-ABR(show ip ospf database asbr-summary)

5 AS外部LSA--ASBR(show ip ospf database external)

7 NSSA外部LSA-ASBR(show ip ospf database nssa-external)

OSPF路由类型:

====================================================

Prefix -suppression 前缀抑制

我们在R1上学到R2和R3之间的直连网段23网段,这种我们可以把路由过滤掉。

我们在R2和R3配置前缀抑制,

R2(config)#router os 110

R2(config-router)#prefix-suppression

或者接口下面抑制

(R2(config)#interface s 1/2

R2(config-if)#ip ospf prefix-suppression )

R3(config)#router ospf 110

R3(config-router)#prefix-suppression

然后我们在R1 就会查看不到R2和R3之间的23网段路由:

===================================================

OSPF GTSM(generic TTL security mechanism) 通用TTL安全保护机制

轻重量级的OSPF安全机制:

配置GTSM:

R3(config)#router ospf 110

R3(config-router)#ttl-security all-interfaces hops XX ---所有接口开启配置GTSM

欢迎关注和转发,更多精彩内容下期继续分享!

查看原文 >>
相关文章