- Silver, 250 points or more
I know that a LSA Type 1 is a Router LSA, and includes the information about itself, it's links, and the status of those links, to all other routers in the same area. My question is, the "links" on the LSA Type 1 for a Router, does that include only OSPF enabled interfaces or all interfaces with IP addresses?
I swear the day you sound stupid, is the day I jump off a high rise.
I do not recall anyone ever saying such a nice thing about me... Thank you from the bottom of my heart but please - I can sound stupid more easy than not. Do not rely on me that much
Now I believe the 'passive-interface gi0/0' command should not allow hellos to be sent and received off of that interface, but it should technically still be an OSPF-enabled interface.
In Cisco's OSPFv2, an OSPF-enabled interface is an interface covered by a network statement. It does not matter whether that interface is declared passive - in any case, it must fall under a configured network statement. The passive-interface disallows creating OSPF adjacencies over that interface but still allows that interface's network to be advertised. So if the interface belongs under some of the network statements, it will be included in the router's LSA1.
Your particular configuration snippet does not meet this requirement - there is no network statement covering the IP address 10.0.0.1 of the Gi0/0 interface. In this particular case, this interface would not be added to LSA1. If, however, you added, say, network 10.0.0.1 0.0.0.0 area 0 command then the 10.0.0.0/24 network would possibly be advertised in the LSA1.
I say possibly here because how the network would exactly be advertised depends on the topology. If the Gi0/0 is passive like in your example, it will always be advertised in LSA1 as a stub network. If the Gi0/0 was active but there was no other router on the segment, the network would be also advertised in LSA1 as a stub network. If, however, there was at least one more router on the segment, the network on the Gi0/0 interface would be advertised in the LSA2 representing that transit multiaccess network, and LSA1 would only indicate a link to the transit network by referencing the LSA2 of the DR.
Please feel welcome to ask further! The issues with LSAs often get cumbersome.