R6#
R6#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 30.0.0.1 to network 0.0.0.0

O*IA  0.0.0.0/0 [110/2] via 30.0.0.1, 03:38:28, FastEthernet0/0
      10.0.0.0/24 is subnetted, 2 subnets
O IA     10.0.0.0 [110/3] via 30.0.0.1, 03:38:19, FastEthernet0/0
O IA     10.1.0.0 [110/2] via 30.0.0.1, 03:38:19, FastEthernet0/0
      20.0.0.0/24 is subnetted, 2 subnets
O IA     20.0.0.0 [110/3] via 30.0.0.1, 03:38:19, FastEthernet0/0
O IA     20.1.0.0 [110/4] via 30.0.0.1, 03:38:19, FastEthernet0/0
      30.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C        30.0.0.0/24 is directly connected, FastEthernet0/0
L        30.0.0.2/32 is directly connected, FastEthernet0/0
C        30.1.0.0/24 is directly connected, FastEthernet1/0
L        30.1.0.1/32 is directly connected, FastEthernet1/0
      40.0.0.0/24 is subnetted, 2 subnets
O IA     40.0.0.0 [110/3] via 30.0.0.1, 03:38:19, FastEthernet0/0
O IA     40.1.0.0 [110/4] via 30.0.0.1, 03:38:19, FastEthernet0/0
      100.0.0.0/24 is subnetted, 2 subnets
O IA     100.0.0.0 [110/4] via 30.0.0.1, 03:38:19, FastEthernet0/0
O IA     100.1.0.0 [110/5] via 30.0.0.1, 03:38:19, FastEthernet0/0
      110.0.0.0/24 is subnetted, 2 subnets
O IA     110.0.0.0 [110/4] via 30.0.0.1, 03:38:19, FastEthernet0/0
O IA     110.1.0.0 [110/5] via 30.0.0.1, 03:38:19, FastEthernet0/0
      120.0.0.0/24 is subnetted, 2 subnets
O IA     120.0.0.0 [110/4] via 30.0.0.1, 03:38:19, FastEthernet0/0
O IA     120.1.0.0 [110/5] via 30.0.0.1, 03:38:19, FastEthernet0/0
R6#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
0.0.0.3           1   FULL/BDR        00:00:37    30.0.0.1        FastEthernet0/0
R6#show ip ospf database

            OSPF Router with ID (0.0.0.6) (Process ID 1)

                Router Link States (Area 30)

Link ID         ADV Router      Age         Seq#       Checksum Link count
0.0.0.3         0.0.0.3         1104        0x80000008 0x000FD8 1
0.0.0.6         0.0.0.6         1076        0x80000008 0x004968 2

                Net Link States (Area 30)

Link ID         ADV Router      Age         Seq#       Checksum
30.0.0.2        0.0.0.6         1076        0x80000007 0x0058AE

                Summary Net Link States (Area 30)

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         0.0.0.3         1104        0x80000007 0x0093A1
10.0.0.0        0.0.0.3         1104        0x80000007 0x001B0F
10.1.0.0        0.0.0.3         1104        0x80000007 0x000525
20.0.0.0        0.0.0.3         1104        0x80000007 0x009887
20.1.0.0        0.0.0.3         1104        0x80000007 0x009687
40.0.0.0        0.0.0.3         1104        0x80000007 0x009378
40.1.0.0        0.0.0.3         1104        0x80000007 0x009178
100.0.0.0       0.0.0.3         1104        0x80000007 0x008E40
100.1.0.0       0.0.0.3         1104        0x80000007 0x008C40
110.0.0.0       0.0.0.3         1104        0x80000007 0x000CB8
110.1.0.0       0.0.0.3         1104        0x80000007 0x000AB8
120.0.0.0       0.0.0.3         1104        0x80000007 0x008931
120.1.0.0       0.0.0.3         1104        0x80000007 0x008731
R6#show ip ospf database router

            OSPF Router with ID (0.0.0.6) (Process ID 1)

                Router Link States (Area 30)

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC)
  LS Type: Router Links
  Link State ID: 0.0.0.3
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000008
  Checksum: 0xFD8
  Length: 36
  Area Border Router
  Number of Links: 1

    Link connected to: a Transit Network
     (Link ID) Designated Router address: 30.0.0.2
     (Link Data) Router Interface address: 30.0.0.1
      Number of MTID metrics: 0
       TOS 0 Metrics: 1


  LS age: 1076
  Options: (No TOS-capability, DC)
  LS Type: Router Links
  Link State ID: 0.0.0.6
  Advertising Router: 0.0.0.6
  LS Seq Number: 80000008
  Checksum: 0x4968
  Length: 48
  Number of Links: 2

    Link connected to: a Stub Network
     (Link ID) Network/subnet number: 30.1.0.0
     (Link Data) Network Mask: 255.255.255.0
      Number of MTID metrics: 0
       TOS 0 Metrics: 1

    Link connected to: a Transit Network
     (Link ID) Designated Router address: 30.0.0.2
     (Link Data) Router Interface address: 30.0.0.2
      Number of MTID metrics: 0
       TOS 0 Metrics: 1


R6#show ip ospf database network

            OSPF Router with ID (0.0.0.6) (Process ID 1)

                Net Link States (Area 30)

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1076
  Options: (No TOS-capability, DC)
  LS Type: Network Links
  Link State ID: 30.0.0.2 (address of Designated Router)
  Advertising Router: 0.0.0.6
  LS Seq Number: 80000007
  Checksum: 0x58AE
  Length: 32
  Network Mask: /24
        Attached Router: 0.0.0.6
        Attached Router: 0.0.0.3

R6#show ip ospf database summary

            OSPF Router with ID (0.0.0.6) (Process ID 1)

                Summary Net Link States (Area 30)

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 0.0.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x93A1
  Length: 28
  Network Mask: /0
        MTID: 0         Metric: 1

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 10.0.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x1B0F
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 2

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 10.1.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x525
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 1

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 20.0.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x9887
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 2

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 20.1.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x9687
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 3

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 40.0.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x9378
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 2

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 40.1.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x9178
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 3

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 100.0.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x8E40
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 3

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 100.1.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x8C40
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 4

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 110.0.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0xCB8
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 3

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 110.1.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0xAB8
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 4

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 120.0.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x8931
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 3

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 1104
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 120.1.0.0 (summary Network Number)
  Advertising Router: 0.0.0.3
  LS Seq Number: 80000007
  Checksum: 0x8731
  Length: 28
  Network Mask: /24
        MTID: 0         Metric: 4

R6#show ip ospf database asbr-summary

            OSPF Router with ID (0.0.0.6) (Process ID 1)
R6#show ip ospf database external

            OSPF Router with ID (0.0.0.6) (Process ID 1)
R6#show ip ospf database nssa-external

            OSPF Router with ID (0.0.0.6) (Process ID 1)
R6#