Step 5: Examine a Link-State Protocol Data Unit Header
Purpose
By using the key word
extensive, you can examine each header field of a link-state protocol data unit (LSP) and gather important details about the network. In this step, you examine the IS-IS database for routerR2.Action
To examine an LSP header, enter the following CLI command:
user@host>show isis database extensiveSample Output
user@R2>show isis database extensiveIS-ISlevel 1 link-state database:[...Output truncated...]Header: LSP ID: R2.00-00, Length: 139 bytesAllocated length: 1492 bytes, Router ID: 10.0.0.2Remaining lifetime: 1071 secs,Level: 1,Interface: 0Estimated free bytes: 1353, Actual free bytes: 1353Aging timer expires in: 1071 secsProtocols: IP, IPv6Packet: LSP ID: R2.00-00, Length: 139 bytes, Lifetime : 1198 secsChecksum: 0xbb8d, Sequence: 0x57,Attributes: 0xb <L1 L2 Attached>NLPID: 0x83, Fixed length: 27 bytes, Version: 1, Sysid length: 0 bytesPacket type: 18, Packet version: 1, Max area: 0[...Output truncated...]Header: LSP ID: R3.00-00, Length: 139 bytesAllocated length: 284 bytes, Router ID: 10.0.0.3Remaining lifetime: 823 secs,Level: 1,Interface: 68Estimated free bytes: 145, Actual free bytes: 145Aging timer expires in: 823 secsProtocols: IP, IPv6Packet: LSP ID: R3.00-00, Length: 139 bytes, Lifetime : 1198 secsChecksum: 0xaaa2, Sequence: 0x59,Attributes: 0x1 <L1>NLPID: 0x83, Fixed length: 27 bytes, Version: 1, Sysid length: 0 bytesPacket type: 18, Packet version: 1, Max area: 0[...Output truncated...]IS-ISlevel 2 link-state database:[...Output truncated...]Header: LSP ID: R1.00-00,Length: 194 bytesAllocated length: 284 bytes, Router ID: 10.0.0.1Remaining lifetime: 398 secs,Level: 2,Interface: 67Estimated free bytes: 145, Actual free bytes: 90Aging timer expires in: 398 secsProtocols: IP, IPv6Packet: LSP ID: R1.00-00, Length: 194 bytes,Lifetime : 1196 secsChecksum: 0x3e10, Sequence: 0x57,Attributes: 0x3 <L1 L2>NLPID: 0x83, Fixed length: 27 bytes, Version: 1, Sysid length: 0 bytesPacket type: 20, Packet version: 1, Max area: 0[...Output truncated...]Header: LSP ID: R2.00-00, Length: 236 bytesAllocated length: 1492 bytes, Router ID: 10.0.0.2Remaining lifetime: 677 secs,Level: 2,Interface: 0Estimated free bytes: 1256, Actual free bytes: 1256Aging timer expires in: 677 secsProtocols: IP, IPv6Packet: LSP ID: R2.00-00, Length: 236 bytes, Lifetime : 1198 secsChecksum: 0x9790, Sequence: 0x5e, Attributes: 0x3<L1 L2>NLPID: 0x83, Fixed length: 27 bytes, Version: 1, Sysid length: 0 bytesPacket type: 20, Packet version: 1, Max area: 0[...Output truncated...]What It Means
The sample output is from router
R2and shows extensive information about the Level 1 and Level 2 link-state databases, which are identical across all Level 2 routers. Level 1 routers only include information for the Level 1 link-state database, which is identical to the Level 1 information in the output for a Level 2 router. The sample output shows the details of four LSPs. Level 1 and Level 2 LSPs include identical types of information except for the packet type. A Level 2 LSP has a packet type of20and a Level 1 LSP has a packet type of18.The first three examples illustrate different values in the
Attributesfield:
<L1 L2>and the key wordAttachedin the first example,R2.00-00,indicate that routerR2is a Level1/Level 2 router acting as a gateway for Level 1 routers.<L1>in the second example,R3.00-00,indicates thatR3is a Level 1 router.<L1 L2>in the third example,R1.00-00,indicates thatR1is a Level 2 router (the fourth example is also for a Level 2 router).The fourth example,
R2.00-00, is included to show that a Level 1/Level 2 router appears in both the Level 1 and the Level 2 link-state databases. Note that in the Level 2 link-state database, the key wordAttachedis not included in theAttributesfield.It is useful to examine one LSP in greater detail. The third LSP,
R1.00-00, was originated byR1as indicated by theLSP IDfield.R1is the hostname of the router. The first00indicates that the LSP is for the router itself, and the final00denotes that the LSP is not fragmented. Both IPv4 and IPv6 are supported by this router, as indicated in theProtocolsfield. TheAttributesfield shows that the router is capable of both Level 1 and Level 2 routing, is not connected to Level 1 routers in other areas, and is not overloaded. The key wordsAttachedandOverloadedwould appear in theAttributesfield if this were the case. The remaining lifetime of the LSP is 1196 seconds. IS-IS lifetimes start at a configured age (1200 seconds by default) and count down to zero.