配置 ttl 限制
noteId: WEBa0eccae860952e5293fcfacca8ec39a0 · 原始路径:/ALL/网络 - C模块/1-路由协议合集、路由控制、策略路由/OSPF/配置 ttl 限制.note
全局配置:router ospf 1 ttl-security all-interfaces hops 254 //只接受TTL为254的邻居(也就是直连邻居)## 单个接口关闭ttl限制:int g0/1 ip ospf ttl-security disable # 单个接口配置:int g0/2 ip ospf ttl-security hops 1