路由器
所有
本案例中涉及OSPF在特定情况下的LSA选择问题,此问题关联了FA地址及NSSA的一些特性。通过对故障逐一分析,也汇总了相关知识。以下是一个真实案例, 为保护客户资料, 路由器输出信息已被修改。
R1, R2 和 R3是NSSA区域,R1和R2是骨干区域。在R3上重分发网络10.10.119.0/27到NSSA中。客户发现R2正常从R3习得此NSSA路由,但是R1是从R2学来的E1路由。
R1#show ospf database external 10.10.119.0 OSPF Router with ID (10.10.191.131) (Process ID 18181) Type-5 AS External Link States Routing Bit Set on this LSA LS age: 652 Options: (No TOS-capability, DC) LS Type: AS External Link Link State ID: 10.10.119.0 (External Network Number) Advertising Router: 10.10.191.132 LS Seq Number: 80000399 Checksum: 0x3768 Length: 36 Network Mask: /27 Metric Type: 1 (Comparable directly to link state metric) TOS: 0 Metric: 1 Forward Address: 10.10.72.89 External Route Tag: 1 R1#sh ospf database nssa-external 10.10.119.0 OSPF Router with ID (10.10.191.131) (Process ID 18181) Type-7 AS External Link States (Area 7) LS age: 312 Options: (No TOS-capability, Type 7/5 translation, DC) LS Type: AS External Link Link State ID: 10.10.119.0 (External Network Number) Advertising Router: 10.10.72.89 LS Seq Number: 8000fe93 Checksum: 0x240 Length: 36 Network Mask: /27 Metric Type: 1 (Comparable directly to link state metric) TOS: 0 Metric: 1 Forward Address: 10.10.72.89 External Route Tag: 1
R2#show route 10.10.119.0 de Tag 1, type NSSA extern 1 10.10.183.142, from 10.10.72.89, via TenGigE0/0/0/0 10.10.183.98, from 10.10.72.89, via TenGigE0/1/2/0 R1#show route10.10.119.0 de Tag 1, type extern 1 10.10.183.74, from 10.10.191.132, via TenGigE0/2/0/0 10.10.183.138, from 10.10.191.132, via TenGigE0/3/2/0 R1#show ospf inter ten0/2/0/0 | i Area Internet Address 10.10.183.73/30, Area 7 R1# R1#show ospf inter ten0/3/2/0 | i Area Internet Address 10.10.183.137/30, Area 7
无