Viewing OSPF external link-state information
Syntax:
show ip ospf external-link-state
When you enter this command, an output similar to the following is displayed:
Output for the show ip ospf external-link-state command
switch# show ip ospf external-link-state OSPF External LSAs Link State ID Router ID Age Sequence # Checksum --------------- --------------- ---- ----------- ---------- 10.3.7.0 10.0.8.37 232 0x80000005 0x0000d99f 10.3.8.0 10.0.8.37 232 0x80000005 0x0000cea9 10.3.9.0 10.0.8.37 232 0x80000005 0x0000c3b3 10.3.10.0 10.0.8.37 232 0x80000005 0x0000b8bd 10.3.33.0 10.0.8.36 1098 0x800009cd 0x0000b9dd
The table below shows the information the OSPF external link state displays:
Field |
Content |
---|---|
Link State ID |
LSA ID for this LSA. Normally, the destination of the external route, but may have some "host" bits set. |
Router ID |
Router ID of the router that originated this external LSA. |
Age |
Current age (in seconds) of this LSA. |
Sequence # |
Sequence number of the current instance of this LSA. |
Chksum(Hex) |
LSA checksum value. |
Syntax:
show ip ospf external-link-state [status][subset-options]
router-id ip-addr
Subset option to filter displayed external-link-state data to show LSAs with the specified router ID only. Can also be filtered by using the
link-state-id
orsequence-number
options.sequence-number integer
Subset option to filter displayed external-link-state data to show LSAs with the specified sequence number. Can also be filtered by using the
link-state-id
orrouter-id
options.link-state-id ip-addr
Subset option to filter displayed external-link-state data to show LSAs with the specified ID only. Can also be filtered by using the
sequence-number
orrouter-id
options.
Syntax:
show ip ospf external-link-state [status]advertise
Displays the hexadecimal data in the specified LSA packet, the actual contents of the LSAs. Can also be filtered by using the
link-state-id
,
router-id
, or
sequence-number
options.
Output for show ip ospf external-link-state advertise
switch# show ip ospf external-link-state advertise OSPF External LSAs Advertisements ------------------------------------------------------------------------ 000302050a0307000a00082580000005d99f0024ffffff008000000a0000000000000000 000302050a0308000a00082580000005cea90024ffffff008000000a0000000000000000 000302050a0309000a00082580000005c3b30024ffffff008000000a0000000000000000 000302050a030a000a00082580000005b8bd0024ffffff008000000a0000000000000000 000002050a0321000a000824800009cdb9dd0024ffffff00800000010000000000000000