admin@J2300-1> show ospf database summary area 1
Area 0.0.0.1:
6 Router LSAs
2 Network LSAs
35 Summary LSAs
20 ASBRSum LSAs
Externals:
23 Extern LSAs
Interface fe-0/0/1.100:
Area 30.30.30.30:
Interface fe-0/0/1.1001:
Area 0.0.0.1:
Interface fe-0/0/1.101:
Area 101.101.101.101:
Interface fe-0/0/1.102:
Area 102.102.102.102:
Interface fe-0/0/1.12:
Area 0.0.0.0:
Interface fe-0/0/1.13:
Area 0.0.0.0:
Interface fe-0/0/1.13:
Area 0.0.0.1:
Interface lo0.0:
Area 0.0.0.0:
admin@J2300-1>
[edit]
admin@J2300-1> edit Entering configuration mode [edit] admin@J2300-1# edit protocols ospf area 1 [edit protocols ospf area 0.0.0.1] admin@J2300-1# set stub [edit protocols ospf area 0.0.0.1] admin@J2300-1# commit commit complete [edit protocols ospf area 0.0.0.1] [edit]
[edit protocols ospf area 0.0.0.1] admin@J2300-1# set stub default-metric 1000 [edit protocols ospf area 0.0.0.1] admin@J2300-1# commit commit complete [edit protocols ospf area 0.0.0.1] admin@J2300-1#
admin@J2300-1> ping count 1 10.1.0.1 PING 10.1.0.1 (10.1.0.1): 56 data bytes 64 bytes from 10.1.0.1: icmp_seq=0 ttl=64 time=1.080 ms --- 10.1.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.080/1.080/1.080/0.000 ms admin@J2300-1> ping count 1 10.1.0.2 PING 10.1.0.2 (10.1.0.2): 56 data bytes 64 bytes from 10.1.0.2: icmp_seq=0 ttl=63 time=1.185 ms --- 10.1.0.2 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.185/1.185/1.185/0.000 ms admin@J2300-1> ping count 1 10.1.0.3 PING 10.1.0.3 (10.1.0.3): 56 data bytes 64 bytes from 10.1.0.3: icmp_seq=0 ttl=62 time=2.800 ms --- 10.1.0.3 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 2.800/2.800/2.800/0.000 ms admin@J2300-1> ping count 1 10.1.0.4 PING 10.1.0.4 (10.1.0.4): 56 data bytes 64 bytes from 10.1.0.4: icmp_seq=0 ttl=63 time=1.575 ms --- 10.1.0.4 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.575/1.575/1.575/0.000 ms admin@J2300-1> ping count 1 10.2.0.5 PING 10.2.0.5 (10.2.0.5): 56 data bytes 64 bytes from 10.2.0.5: icmp_seq=0 ttl=62 time=1.114 ms --- 10.2.0.5 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.114/1.114/1.114/0.000 ms admin@J2300-1> ping count 1 10.2.0.6 PING 10.2.0.6 (10.2.0.6): 56 data bytes 64 bytes from 10.2.0.6: icmp_seq=0 ttl=62 time=2.998 ms --- 10.2.0.6 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 2.998/2.998/2.998/0.000 ms admin@J2300-1> ping count 1 10.2.0.7 PING 10.2.0.7 (10.2.0.7): 56 data bytes 64 bytes from 10.2.0.7: icmp_seq=0 ttl=61 time=3.829 ms --- 10.2.0.7 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 3.829/3.829/3.829/0.000 ms admin@J2300-1> ping count 1 10.2.0.8 PING 10.2.0.8 (10.2.0.8): 56 data bytes 64 bytes from 10.2.0.8: icmp_seq=0 ttl=63 time=1.062 ms --- 10.2.0.8 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.062/1.062/1.062/0.000 ms admin@J2300-1> ping count 1 10.3.0.9 PING 10.3.0.9 (10.3.0.9): 56 data bytes 64 bytes from 10.3.0.9: icmp_seq=0 ttl=62 time=1.272 ms --- 10.3.0.9 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.272/1.272/1.272/0.000 ms admin@J2300-1> ping count 1 10.3.0.10 PING 10.3.0.10 (10.3.0.10): 56 data bytes 64 bytes from 10.3.0.10: icmp_seq=0 ttl=61 time=4.066 ms --- 10.3.0.10 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 4.066/4.066/4.066/0.000 ms admin@J2300-1> ping count 1 10.3.0.11 PING 10.3.0.11 (10.3.0.11): 56 data bytes 64 bytes from 10.3.0.11: icmp_seq=0 ttl=61 time=1.999 ms --- 10.3.0.11 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.999/1.999/1.999/0.000 ms admin@J2300-1> ping count 1 10.3.0.12 PING 10.3.0.12 (10.3.0.12): 56 data bytes 64 bytes from 10.3.0.12: icmp_seq=0 ttl=60 time=4.800 ms --- 10.3.0.12 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 4.800/4.800/4.800/0.000 ms admin@J2300-1>
R2@LR:R2> show ospf database
OSPF database, Area 0.0.0.1
Type ID Adv Rtr Seq Age Opt Cksum Len
Router 10.0.0.1 10.0.0.1 0x80000005 1267 0x20 0x14b0 48
Router 10.0.0.3 10.0.0.3 0x80000006 1239 0x20 0xf4b1 48
Router 10.1.0.1 10.1.0.1 0x80000010 540 0x20 0xc986 72
Router *10.1.0.2 10.1.0.2 0x80000010 538 0x20 0x1908 72
Router 10.1.0.3 10.1.0.3 0x80000010 538 0x20 0x397a 84
Router 10.1.0.4 10.1.0.4 0x80000011 539 0x20 0xc9f7 84
Network 10.1.111.101 10.1.0.1 0x80000001 1336 0x20 0xdb5d 32
Network *10.1.123.102 10.1.0.2 0x80000001 1372 0x20 0x6dba 32
Summary 0.0.0.0 10.0.0.1 0x80000001 1267 0x20 0x7bcc 28
Summary 0.0.0.0 10.0.0.3 0x80000001 1239 0x20 0x6fd6 28
Summary 10.0.0.1 10.0.0.1 0x80000001 1476 0x20 0xba6e 28
Summary 10.0.0.1 10.0.0.3 0x80000001 1420 0x20 0xe041 28
Summary 10.0.0.2 10.0.0.1 0x80000001 1476 0x20 0xe240 28
Summary 10.0.0.2 10.0.0.3 0x80000001 1420 0x20 0x913 28
Summary 10.0.0.3 10.0.0.1 0x80000001 1476 0x20 0xd849 28
Summary 10.0.0.3 10.0.0.3 0x80000001 1420 0x20 0x9a8a 28
Summary 10.0.0.4 10.0.0.1 0x80000001 1476 0x20 0x11b 28
Summary 10.0.0.4 10.0.0.3 0x80000001 1420 0x20 0xc25c 28
Summary 10.0.0.5 10.0.0.1 0x80000001 1476 0x20 0xf624 28
Summary 10.0.0.5 10.0.0.3 0x80000001 1420 0x20 0xb865 28
Summary 10.0.0.6 10.0.0.1 0x80000002 316 0x20 0x1df6 28
Summary 10.0.0.6 10.0.0.3 0x80000003 306 0x20 0xdc39 28
Summary 10.0.12.0 10.0.0.1 0x80000001 1476 0x20 0x72a6 28
Summary 10.0.12.0 10.0.0.3 0x80000001 1420 0x20 0x9879 28
Summary 10.0.13.0 10.0.0.1 0x80000001 1476 0x20 0x67b0 28
Summary 10.0.13.0 10.0.0.3 0x80000001 1420 0x20 0x5bba 28
Summary 10.0.24.0 10.0.0.1 0x80000001 1476 0x20 0x20e7 28
Summary 10.0.24.0 10.0.0.3 0x80000001 1420 0x20 0x14f1 28
Summary 10.0.34.0 10.0.0.1 0x80000001 1476 0x20 0xb14c 28
Summary 10.0.34.0 10.0.0.3 0x80000001 1420 0x20 0x738d 28
Summary 10.0.35.0 10.0.0.1 0x80000001 1476 0x20 0xa656 28
Summary 10.0.35.0 10.0.0.3 0x80000001 1420 0x20 0x6897 28
Summary 10.0.46.0 10.0.0.1 0x80000001 1476 0x20 0x5f8d 28
Summary 10.0.46.0 10.0.0.3 0x80000001 1420 0x20 0x21ce 28
Summary 10.0.56.0 10.0.0.1 0x80000001 1476 0x20 0xf0f1 28
Summary 10.0.56.0 10.0.0.3 0x80000001 1420 0x20 0xb233 28
Summary 10.2.0.0 10.0.0.1 0x80000005 872 0x20 0x6f5 28
Summary 10.2.0.0 10.0.0.3 0x80000007 869 0x20 0xf502 28
Summary 10.3.0.0 10.0.0.1 0x80000008 321 0x20 0x26cc 28
Summary 10.3.0.0 10.0.0.3 0x80000007 320 0x20 0xe90d 28
Summary 10.30.0.0 10.0.0.1 0x80000001 1476 0x20 0xdede 28
Summary 10.30.0.0 10.0.0.3 0x80000001 1420 0x20 0xd2e8 28
Summary 10.101.0.0 10.0.0.1 0x80000001 1476 0x20 0x5f1 28
Summary 10.101.0.0 10.0.0.3 0x80000001 1420 0x20 0xf8fb 28
Summary 10.102.0.0 10.0.0.3 0x80000001 1420 0x20 0xec07 28
OSPF AS SCOPE link state database
Type ID Adv Rtr Seq Age Opt Cksum Len
Extern 3.3.3.0 10.1.0.3 0x8000001e 1681 0x22 0x8413 36
Extern 4.4.4.0 10.1.0.4 0x8000001e 1518 0x22 0x3852 36
Extern 5.1.1.0 10.0.0.1 0x80000008 1569 0x22 0xd5c1 36
Extern 5.1.2.0 10.0.0.2 0x80000007 1690 0x22 0xc6cf 36
Extern 5.1.3.0 10.0.0.3 0x80000008 1744 0x22 0xb3df 36
Extern 5.2.1.0 10.0.0.1 0x80000007 3243 0x22 0x6ba9 36
Extern 5.2.2.0 10.0.0.2 0x80000007 1666 0x22 0x5ab8 36
Extern 5.2.3.0 10.0.0.3 0x80000008 1722 0x22 0x47c8 36
Extern 5.2.4.0 10.0.0.4 0x80000007 1643 0x22 0x38d6 36
Extern 5.2.5.0 10.0.0.5 0x80000007 1547 0x22 0x27e5 36
Extern 7.7.7.0 10.2.0.7 0x80000018 1841 0x22 0xf38c 36
Extern 10.1.0.1 10.1.0.1 0x80000029 2810 0x22 0x2cc6 36
Extern 10.2.0.5 10.2.0.5 0x80000029 2813 0x22 0xd711 36
Extern 10.10.10.10 10.10.10.10 0x8000002a 3526 0x22 0x68c6 36
Extern 11.11.11.0 10.3.0.11 0x8000001e 3212 0x22 0xfbe9 36
Extern 12.12.12.0 10.3.0.12 0x80000018 2032 0x22 0x73f2 36
Extern 101.101.101.101 10.10.10.10 0x80000019 3065 0x22 0xdd1a 36
Extern 102.102.102.102 10.10.10.10 0x80000019 2834 0x22 0x3d35 36
R2@LR:R2>
[edit]
They haven't aged out of the routers LSDB. You can force them out by clearing them -- we'll use the brute force method!
R2@LR:R2> clear ospf database
R2@LR:R2> show ospf database
OSPF database, Area 0.0.0.1
Type ID Adv Rtr Seq Age Opt Cksum Len
Router 10.0.0.1 10.0.0.1 0x80000005 1338 0x20 0x14b0 48
Router 10.0.0.3 10.0.0.3 0x80000007 7 0x20 0x187c 48
Router 10.1.0.1 10.1.0.1 0x80000010 609 0x20 0xc986 72
Router *10.1.0.2 10.1.0.2 0x80000012 2 0x20 0xcaa6 72
Router 10.1.0.3 10.1.0.3 0x80000012 3 0x20 0x357c 84
Router 10.1.0.4 10.1.0.4 0x80000011 608 0x20 0xc9f7 84
Network 10.1.111.101 10.1.0.1 0x80000001 1405 0x20 0xdb5d 32
Network *10.1.123.102 10.1.0.2 0x80000001 3600 0x20 0x6dba 32
Summary 0.0.0.0 10.0.0.1 0x80000001 1338 0x20 0x7bcc 28
Summary 0.0.0.0 10.0.0.3 0x80000001 1310 0x20 0x6fd6 28
Summary 10.0.0.1 10.0.0.1 0x80000001 1547 0x20 0xba6e 28
Summary 10.0.0.1 10.0.0.3 0x80000001 1491 0x20 0xe041 28
Summary 10.0.0.2 10.0.0.1 0x80000001 1547 0x20 0xe240 28
Summary 10.0.0.2 10.0.0.3 0x80000001 1491 0x20 0x913 28
Summary 10.0.0.3 10.0.0.1 0x80000001 1547 0x20 0xd849 28
Summary 10.0.0.3 10.0.0.3 0x80000001 1491 0x20 0x9a8a 28
Summary 10.0.0.4 10.0.0.1 0x80000001 1547 0x20 0x11b 28
Summary 10.0.0.4 10.0.0.3 0x80000001 1491 0x20 0xc25c 28
Summary 10.0.0.5 10.0.0.1 0x80000001 1547 0x20 0xf624 28
Summary 10.0.0.5 10.0.0.3 0x80000001 1491 0x20 0xb865 28
Summary 10.0.0.6 10.0.0.1 0x80000002 387 0x20 0x1df6 28
Summary 10.0.0.6 10.0.0.3 0x80000003 377 0x20 0xdc39 28
Summary 10.0.12.0 10.0.0.1 0x80000001 1547 0x20 0x72a6 28
Summary 10.0.12.0 10.0.0.3 0x80000001 1491 0x20 0x9879 28
Summary 10.0.13.0 10.0.0.1 0x80000001 1547 0x20 0x67b0 28
Summary 10.0.13.0 10.0.0.3 0x80000001 1491 0x20 0x5bba 28
Summary 10.0.24.0 10.0.0.1 0x80000001 1547 0x20 0x20e7 28
Summary 10.0.24.0 10.0.0.3 0x80000001 1491 0x20 0x14f1 28
Summary 10.0.34.0 10.0.0.1 0x80000001 1547 0x20 0xb14c 28
Summary 10.0.34.0 10.0.0.3 0x80000001 1491 0x20 0x738d 28
Summary 10.0.35.0 10.0.0.1 0x80000001 1547 0x20 0xa656 28
Summary 10.0.35.0 10.0.0.3 0x80000001 1491 0x20 0x6897 28
Summary 10.0.46.0 10.0.0.1 0x80000001 1547 0x20 0x5f8d 28
Summary 10.0.46.0 10.0.0.3 0x80000001 1491 0x20 0x21ce 28
Summary 10.0.56.0 10.0.0.1 0x80000001 1547 0x20 0xf0f1 28
Summary 10.0.56.0 10.0.0.3 0x80000001 1491 0x20 0xb233 28
Summary 10.2.0.0 10.0.0.1 0x80000005 941 0x20 0x6f5 28
Summary 10.2.0.0 10.0.0.3 0x80000007 940 0x20 0xf502 28
Summary 10.3.0.0 10.0.0.1 0x80000008 392 0x20 0x26cc 28
Summary 10.3.0.0 10.0.0.3 0x80000007 391 0x20 0xe90d 28
Summary 10.30.0.0 10.0.0.1 0x80000001 1547 0x20 0xdede 28
Summary 10.30.0.0 10.0.0.3 0x80000001 1491 0x20 0xd2e8 28
Summary 10.101.0.0 10.0.0.1 0x80000001 1547 0x20 0x5f1 28
Summary 10.101.0.0 10.0.0.3 0x80000001 1491 0x20 0xf8fb 28
Summary 10.102.0.0 10.0.0.3 0x80000001 1491 0x20 0xec07 28
R2@LR:R2>
[edit]
admin@J2300-1> show ospf database summary area 1 Area 0.0.0.1: 6 Router LSAs 2 Network LSAs 37 Summary LSAs Externals: 21 Extern LSAs Interface fe-0/0/1.100: Area 30.30.30.30: Interface fe-0/0/1.1001: Area 0.0.0.1: Interface fe-0/0/1.101: Area 101.101.101.101: Interface fe-0/0/1.102: Area 102.102.102.102: Interface fe-0/0/1.12: Area 0.0.0.0: Interface fe-0/0/1.13: Area 0.0.0.0: Interface fe-0/0/1.13: Area 0.0.0.1: Interface lo0.0: Area 0.0.0.0: admin@J2300-1>
R2@LR:R2> show route
inet.0: 31 destinations, 31 routes (31 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[OSPF/10] 00:01:47, metric 1010
> to 10.1.123.3 via fxp1.1003
10.0.0.1/32 *[OSPF/10] 00:01:47, metric 15
> to 10.1.123.3 via fxp1.1003
10.0.0.2/32 *[OSPF/10] 00:01:47, metric 20
> to 10.1.123.3 via fxp1.1003
10.0.0.3/32 *[OSPF/10] 00:01:47, metric 10
> to 10.1.123.3 via fxp1.1003
10.0.0.4/32 *[OSPF/10] 00:01:47, metric 15
> to 10.1.123.3 via fxp1.1003
10.0.0.5/32 *[OSPF/10] 00:01:47, metric 15
> to 10.1.123.3 via fxp1.1003
10.0.0.6/32 *[OSPF/10] 00:01:47, metric 20
> to 10.1.123.3 via fxp1.1003
10.0.12.0/24 *[OSPF/10] 00:01:47, metric 20
> to 10.1.123.3 via fxp1.1003
10.0.13.0/24 *[OSPF/10] 00:01:47, metric 15
> to 10.1.123.3 via fxp1.1003
10.0.24.0/24 *[OSPF/10] 00:01:47, metric 20
> to 10.1.123.3 via fxp1.1003
10.0.34.0/24 *[OSPF/10] 00:01:47, metric 15
> to 10.1.123.3 via fxp1.1003
10.0.35.0/24 *[OSPF/10] 00:01:47, metric 15
> to 10.1.123.3 via fxp1.1003
10.0.46.0/24 *[OSPF/10] 00:01:47, metric 20
> to 10.1.123.3 via fxp1.1003
10.0.56.0/24 *[OSPF/10] 00:01:47, metric 20
> to 10.1.123.3 via fxp1.1003
10.1.0.1/32 *[OSPF/10] 00:01:47, metric 5010
> to 10.1.123.3 via fxp1.1003
10.1.0.2/32 *[Direct/0] 1d 08:19:51
> via lo0.102
10.1.0.3/32 *[OSPF/10] 00:19:50, metric 10
> to 10.1.23.103 via fxp4.123
10.1.0.4/32 *[OSPF/10] 00:01:47, metric 5020
> to 10.1.123.3 via fxp1.1003
10.1.14.0/24 *[OSPF/10] 00:01:47, metric 5020
> to 10.1.123.3 via fxp1.1003
10.1.23.0/24 *[Direct/0] 1d 00:41:38
> via fxp4.123
10.1.23.102/32 *[Local/0] 1d 08:19:51
Local via fxp4.123
10.1.34.0/24 *[OSPF/10] 00:25:21, metric 10010
> to 10.1.23.103 via fxp4.123
10.1.111.0/24 *[OSPF/10] 00:01:47, metric 5010
> to 10.1.123.3 via fxp1.1003
10.1.123.0/24 *[Direct/0] 1d 00:41:38
> via fxp1.1003
10.1.123.102/32 *[Local/0] 1d 08:19:51
Local via fxp1.1003
10.2.0.0/16 *[OSPF/10] 00:01:47, metric 12545
> to 10.1.123.3 via fxp1.1003
10.3.0.0/16 *[OSPF/10] 00:01:47, metric 12545
> to 10.1.123.3 via fxp1.1003
10.30.0.0/17 *[OSPF/10] 00:01:47, metric 2510
> to 10.1.123.3 via fxp1.1003
10.101.0.0/24 *[OSPF/10] 00:01:47, metric 2510
> to 10.1.123.3 via fxp1.1003
10.102.0.0/24 *[OSPF/10] 00:01:47, metric 2510
> to 10.1.123.3 via fxp1.1003
224.0.0.5/32 *[OSPF/10] 1d 08:19:54, metric 1
MultiRecv
R2@LR:R2>
[edit]
R2@LR:R2> show ospf database external R2@LR:R2>
admin@J2300-1> edit Entering configuration mode [edit] admin@J2300-1# set protocols ospf area 1 stub no-summaries [edit] admin@J2300-1# commit commit complete [edit] admin@J2300-1#
admin@J2300-1> show ospf database area 1 summary Area 0.0.0.1: 6 Router LSAs 2 Network LSAs 2 Summary LSAs Externals: 21 Extern LSAs Interface fe-0/0/1.100: Area 30.30.30.30: Interface fe-0/0/1.1001: Area 0.0.0.1: Interface fe-0/0/1.101: Area 101.101.101.101: Interface fe-0/0/1.102: Area 102.102.102.102: Interface fe-0/0/1.12: Area 0.0.0.0: Interface fe-0/0/1.13: Area 0.0.0.0: Interface fe-0/0/1.13: Area 0.0.0.1: Interface lo0.0: Area 0.0.0.0: admin@J2300-1>