Examine a Type 1 Router LSA
Action
To examine a Type 1 router LSA, enter the following CLI operational mode command:
user@host>show ospf database router extensiveSample Output
user@R1>show ospf database router extensiveOSPF link state database,area 0.0.0.1Type ID Adv Rtr Seq Age Opt Cksum LenRouter *10.0.0.110.0.0.1 0x8000005a 1180 0x0 0x5828 60bits 0x2,link count 3id 10.0.0.1, data 255.255.255.255, Type Stub (3)TOS count 0, TOS 0 metric 0id 10.0.0.2, data 10.1.12.1, Type PointToPoint (1)TOS count 0, TOS 0 metric 1id 10.1.12.0, data 255.255.255.252, Type Stub (3)TOS count 0, TOS 0 metric 1Gen timer 00:30:19Aging timer 00:40:19Installed 00:19:40 ago, expires in 00:40:20, sent 00:19:38 agoOursRouter 10.0.0.210.0.0.2 0x8000004b 679 0x0 0xe6c0 48bits 0x3, link count 2id 10.0.0.1, data 10.1.12.2, Type PointToPoint (1)TOS count 0, TOS 0 metric 1id 10.1.12.0, data 255.255.255.252, Type Stub (3)TOS count 0, TOS 0 metric 1Aging timer 00:48:40Installed 00:11:16 ago, expires in 00:48:41, sent 3w0d 23:33:12 agoWhat It Means
The sample output shows the details of two router LSAs: the first for
R1(*10.0.0.1) and the second forR2(10.0.0.2). The asterisk (*) indicates that the LSA was generated byR1. You can also determine ownership of the LSA by the last line of the output in this case,ours.Each time the LSA is updated, the sequence (
seq) field increments, indicating that the router has the most recent version of the LSA. Values range from0x80000001to0x7FFFFFFF. If the sequence field is not incrementing, there may be problems with the connection.The
bitsfield is set to0x2in the first LSA and0x3in the second LSA.When thebitsfield is set to0x2,the originating router (R1) is an ASBR. When thebitsfield is set to0x3, the originating router (R2) is both ABR and ASBR.
R1has three links connected to area0.0.0.1shown by the link count field that is set to a value of 3. TheTypefield shows that R1 has a single point-to-point link toR2and two links advertised as stub networks.Each OSPF router generates a single Type 1 LSA to describe the status and cost (metric) of all links on the router. This LSA is flooded to each router in the OSPF area. It is defined as having an area scope, so it is not flooded across an area boundary.