R2.cfg
R3.cfg
R4.cfg
R5.cfg
R6.cfg
R7.cfg
R8.cfg
Area 2 와 Area 4는 NSSA 로 구성되어 있고 R3 -> R6 는 static route로 재분배 되어서 OSPF로 들어옵니다.
여기서 일반 IOS에서는 type-5가 우선되지만
넥서스 장비에서 LSA type-5보다 LSA type-7이 라우팅 경로에 우선적으로 들어오는 문제가 있어 몇가지 자료를 찾아보았습니다.
http://tools.ietf.org/html/rfc1587#section-3.5
When a type-5 LSA and a type-7 LSA are found to have the
same type and an equal distance, the following priorities
apply (listed from highest to lowest) for breaking the tie.
a. Any type 5 LSA.
b. A type-7 LSA with the P-bit set and the forwarding
address non-zero.
c. Any other type-7 LSA.
http://tools.ietf.org/html/rfc3101#section-2.5
(e) If the current LSA is functionally the same as an
installed LSA (i.e., same destination, cost and non-zero
forwarding address) then apply the following priorities in
deciding which LSA is preferred:
1. A Type-7 LSA with the P-bit set.
2. A Type-5 LSA.
3. The LSA with the higher router ID.
P-bit가 설정된 Type-7 LSA 가 최우선이라고 나와있는데, 저희의 경우 약간 다른 점이 있었습니다.
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094a88.shtml
· No Type 7/5 translation means bit P = 0.
· Type 7/5 translation means bit P = 1.
시스코 문서에서 No Type 7/5 Translation 은 P-bit가 셋팅되지 않았다는 소리인데, 저희 실제 넥서스 OSPF DB를 살펴보면
LS age: 745
Options: 0 (No TOS-capability, No Type 7/5 translation, No DC)
LS Type: Type-7 AS-External
Link State ID: 2.t.t.t (Network address)
Advertising Router: 2.x.x.x
LS Seq Number: 0x8000002c
Checksum: 0x1fc8
Length: 36
Network Mask: /24
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 2.x.x.x
External Route Tag: 200
위와 같이 No Type 7/5 translation 라고 적힌 것을 통해 P-bit가 0으로 된 것을 알 수 있습니다.
위의 RFC 문서에 따르면 이것보다 type-5 LSA가 우선되어야 하는데 실제 넥서스 장비에서는 위와 같이 동작하지 않았습니다.
또한 비슷한 이슈를 찾아보면
•CSCsz53108
Symptom: For OSF NSSA ABR, the wrong default route may be programmed.
Conditions: When OSPF Type 5 and Type 7 default routes are present in the Link Service database (LSDB), the NSSA ABR installs the Type 7 Default route in the RIB instead of the Type 5 default route.
Workaround: This issue is resolved.
하지만 이 역시도 default route 에 대한 부분만 언급되어 있는 것을 알 수 있었습니다.
'Tech' 카테고리의 다른 글
Nexus 7010 OSPF type-7 LSA calculation / LSA type7 우선순위 결정 (0) | 2012.10.12 |
---|---|
Link State Track Configuration Guide (2) | 2012.10.10 |
Nexus 7000 aaa console 버그? (0) | 2012.09.18 |