R5
Lo2 66.1.0.1
l03 66.1.1.1
lo4 66.1.2.1
lo5 66.1.3.1
l03 66.1.1.1
lo4 66.1.2.1
lo5 66.1.3.1
router ospf 10
auto-cost reference-bandwidth 1000
redistribute connected subnets route-map LOOP
network 6.6.6.6 0.0.0.0 area 3
route-map LOOP permit 10
match interface Loopback2 Loopback3 Loopback4 Loopback5
R5 & R6
Router ospf 10
Area 3 nssa
In NSSA LSA 7 Float
ABR convert LSA 7 into LSA 5
NSSA does not generate default route
R6# sh ip ospf database
OSPF Router with ID (66.6.6.6) (Process ID 10)
Router Link States (Area 3)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 2094 (DNA) 0x8000000B 0x009C53 1
55.5.5.5 55.5.5.5 1 (DNA) 0x8000004A 0x0058EA 3
66.6.6.6 66.6.6.6 21 0x8000004D 0x0051DC 3
Summary Net Link States (Area 3)
Link ID ADV Router Age Seq# Checksum
9.9.9.9 1.1.1.1 2094 (DNA) 0x8000000A 0x008D32
9.9.9.9 55.5.5.5 8 (DNA) 0x80000003 0x00A0E7
::::::::::::::::;;;
Type-7 AS External Link States (Area 3) LSA 7
Link ID ADV Router Age Seq# Checksum Tag
66.1.0.0 66.6.6.6 52 0x80000001 0x0044A2 0
66.1.1.0 66.6.6.6 52 0x80000001 0x0039AC 0
66.1.2.0 66.6.6.6 52 0x80000001 0x002EB6 0
66.1.3.0 66.6.6.6 52 0x80000001 0x0023C0 0
R6#
In R5
R5#sh ip ospf database
OSPF Router with ID (55.5.5.5) (Process ID 10)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 1163 0x8000003B 0x00F995 2
2.2.2.2 2.2.2.2 902 0x8000005F 0x00427A 3
39.1.4.1 39.1.4.1 1616 0x8000004E 0x005564 3
44.4.4.4 44.4.4.4 848 0x80000035 0x00A898 1
55.5.5.5 55.5.5.5 218 0x8000005A 0x00145C 3
Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
13.0.0.3 39.1.4.1 623 0x80000020 0x008923
15.0.0.1 1.1.1.1 1163 0x80000010 0x00DAF1
23.0.0.3 39.1.4.1 1616 0x80000015 0x004F5A
25.0.0.5 55.5.5.5 780 0x8000000D 0x002358
34.0.0.4 44.4.4.4 849 0x80000022 0x00361F
Summary Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
5.5.5.5 55.5.5.5 1295 0x8000000D 0x003A9B
6.6.6.6 55.5.5.5 207 0x80000001 0x00884B
:::::::::::::::::::::::::::
Summary ASB Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
172.16.0.9 2.2.2.2 666 0x80000002 0x005ED7
172.16.0.9 44.4.4.4 853 0x80000002 0x00B915
Router Link States (Area 3)
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 2093 (DNA) 0x8000000B 0x009C53 1
55.5.5.5 55.5.5.5 217 0x8000004A 0x0058EA 3
66.6.6.6 66.6.6.6 1 (DNA) 0x8000004D 0x0051DC 3
Summary Net Link States (Area 3)
Link ID ADV Router Age Seq# Checksum
9.9.9.9 1.1.1.1 2093 (DNA) 0x8000000A 0x008D32
9.9.9.9 55.5.5.5 227 0x80000003 0x00A0E7
:::::::::::::::::::::::::::;;;
Type-7 AS External Link States (Area 3) LSA 7
Link ID ADV Router Age Seq# Checksum Tag
66.1.0.0 66.6.6.6 30 (DNA) 0x80000001 0x0044A2 0
66.1.1.0 66.6.6.6 30 (DNA) 0x80000001 0x0039AC 0
66.1.2.0 66.6.6.6 30 (DNA) 0x80000001 0x002EB6 0
66.1.3.0 66.6.6.6 30 (DNA) 0x80000001 0x0023C0 0
Type-5 AS External Link States LSA 5
Link ID ADV Router Age Seq# Checksum Tag
66.1.0.0 55.5.5.5 209 0x80000001 0x0051AD 0
66.1.1.0 55.5.5.5 210 0x80000001 0x0046B7 0
66.1.2.0 55.5.5.5 210 0x80000001 0x003BC1 0
66.1.3.0 55.5.5.5 210 0x80000001 0x0030CB 0
99.9.9.9 172.16.0.9 803 0x80000002 0x001429 0
R5#
R2
Router Link States (Area 2)
Link ID ADV Router Age Seq# Checksum Link count
2.2.2.2 2.2.2.2 1892 0x80000038 0x00CA5B 3
44.4.4.4 44.4.4.4 1324 0x8000004D 0x00CDD8 2
172.16.0.9 172.16.0.9 1022 0x8000004C 0x00C586 3
Summary Net Link States (Area 2)
Link ID ADV Router Age Seq# Checksum
:::::::::::::::::::
56.0.0.0 44.4.4.4 1587 0x8000000D 0x00EBB5
102.1.0.0 2.2.2.2 1892 0x8000000D 0x00FFC0
102.1.0.0 44.4.4.4 1827 0x8000000D 0x00C8BC
Summary ASB Link States (Area 2) LSA 4
Link ID ADV Router Age Seq# Checksum
55.5.5.5 2.2.2.2 447 0x80000001 0x0030B3
55.5.5.5 44.4.4.4 447 0x80000001 0x00F8AF
Type-5 AS External Link States LSA 5
Link ID ADV Router Age Seq# Checksum Tag
66.1.0.0 55.5.5.5 432 0x80000001 0x0051AD 0
66.1.1.0 55.5.5.5 432 0x80000001 0x0046B7 0
66.1.2.0 55.5.5.5 432 0x80000001 0x003BC1 0
66.1.3.0 55.5.5.5 432 0x80000001 0x0030CB 0
99.9.9.9 172.16.0.9 1022 0x80000002 0x001429 0
R2#
R5
sh ip route
66.0.0.0/24 is subnetted, 4 subnets
O N2 66.1.0.0 [110/20] via 56.0.0.6, 00:09:29, FastEthernet0/1
O N2 66.1.1.0 [110/20] via 56.0.0.6, 00:09:29, FastEthernet0/1
O N2 66.1.2.0 [110/20] via 56.0.0.6, 00:09:29, FastEthernet0/1
O N2 66.1.3.0 [110/20] via 56.0.0.6, 00:09:29, FastEthernet0/1
99.0.0.0/32 is subnetted, 1 subnets
N2 NSSA type 2 route , same as E2
R2
66.0.0.0/24 is subnetted, 4 subnets
O E2 66.1.0.0 [110/20] via 25.0.0.5, 00:08:46, FastEthernet0/0
O E2 66.1.1.0 [110/20] via 25.0.0.5, 00:08:46, FastEthernet0/0
O E2 66.1.2.0 [110/20] via 25.0.0.5, 00:08:46, FastEthernet0/0
O E2 66.1.3.0 [110/20] via 25.0.0.5, 00:08:46, FastEthernet0/0
R9
66.0.0.0/24 is subnetted, 4 subnets
O E2 66.1.0.0 [110/20] via 172.16.0.2, 00:10:41, Tunnel0
O E2 66.1.1.0 [110/20] via 172.16.0.2, 00:10:41, Tunnel0
O E2 66.1.2.0 [110/20] via 172.16.0.2, 00:10:41, Tunnel0
O E2 66.1.3.0 [110/20] via 172.16.0.2, 00:10:41, Tunnel0
R5 & R6
Router ospf 10
Area 3 nssa no-summary
Area 3 nssa no-summary
R6# sh ip route ospf
::::::::::::::::::
Gateway of last resort is 56.0.0.5 to network 0.0.0.0
O*IA 0.0.0.0/0 [110/11] via 56.0.0.5, 00:01:41, FastEthernet0/1
5.0.0.0/32 is subnetted, 1 subnets
O 5.5.5.5 [110/11] via 56.0.0.5, 00:01:41, FastEthernet0/1
R6#
Here we can see a default route..
R6#sh ip ospf database
OSPF Router with ID (66.6.6.6) (Process ID 10)
Router Link States (Area 3) LSA 1
Link ID ADV Router Age Seq# Checksum Link count
1.1.1.1 1.1.1.1 2094 (DNA) 0x8000000B 0x009C53 1
55.5.5.5 55.5.5.5 1 (DNA) 0x8000004A 0x0058EA 3
66.6.6.6 66.6.6.6 1166 0x8000004D 0x0051DC 3
Summary Net Link States (Area 3) LSA 3
Link ID ADV Router Age Seq# Checksum
0.0.0.0 55.5.5.5 1 (DNA) 0x80000001 0x00DE11
:::::::::::::::::
:::::::::::::
Type-7 AS External Link States (Area 3) LSA 7
Link ID ADV Router Age Seq# Checksum Tag
66.1.0.0 66.6.6.6 1198 0x80000001 0x0044A2 0
66.1.1.0 66.6.6.6 1198 0x80000001 0x0039AC 0
66.1.2.0 66.6.6.6 1198 0x80000001 0x002EB6 0
66.1.3.0 66.6.6.6 1198 0x80000001 0x0023C0 0
R6#
Default route in NSSA.
R5
router ospf 10
no discard-route internal
auto-cost reference-bandwidth 1000
area 3 nssa default-information-originate
area 3 default-cost 300
R6
O*N2 0.0.0.0/0 [110/300] via 56.0.0.5, 00:00:08, FastEthernet0/1
5.0.0.0/32 is subnetted, 1 subnets
R5#sh ip ospf database nssa-external
OSPF Router with ID (55.5.5.5) (Process ID 10)
Type-7 AS External Link States (Area 3)
LS age: 782
Options: (No TOS-capability, No Type 7/5 translation, DC, Upward)
LS Type: AS External Link
Link State ID: 0.0.0.0 (External Network Number )
Advertising Router: 55.5.5.5
LS Seq Number: 80000002
Checksum: 0x69D4
Length: 36
Network Mask: /0
Metric Type: 2 (Larger than any link state path)
MTID: 0
Metric: 300
Forward Address: 0.0.0.0
External Route Tag: 0
R5
router ospf 10
no discard-route internal
auto-cost reference-bandwidth 1000
area 3 nssa default-information-originate
area 3 default-cost 300
O*N2 0.0.0.0/0 [110/300] via 56.0.0.5, 00:00:08, FastEthernet0/1
5.0.0.0/32 is subnetted, 1 subnets
R5#sh ip ospf database nssa-external
OSPF Router with ID (55.5.5.5) (Process ID 10)
Type-7 AS External Link States (Area 3)
LS age: 782
Options: (No TOS-capability, No Type 7/5 translation, DC, Upward)
LS Type: AS External Link
Link State ID: 0.0.0.0 (External Network Number )
Advertising Router: 55.5.5.5
LS Seq Number: 80000002
Checksum: 0x69D4
Length: 36
Network Mask: /0
Metric Type: 2 (Larger than any link state path)
MTID: 0
Metric: 300
Forward Address: 0.0.0.0
External Route Tag: 0
No comments:
Post a Comment