Step 2: Analyze OSPF Link-State Advertisement Packets in Detail
Action
To analyze OSPF link-state advertisement packets in detail, follow these steps:
- In configuration mode, go to the following hierarchy level:
[edit]user@host#edit protocols ospf traceoptions- Configure OSPF link-state packages:
[edit protocols ospf traceoptions]user@host#set flag lsa-update detail- Verify the configuration:
user@host#show[edit protocols ospf traceoptions]user@host#showfile ospf size 5m world-readable;flag hello detail;flag lsa-update detail;
- Commit the configuration:
user@host#commit- View the contents of the file containing the detailed messages:
user@host#run show logfilenameuser@host#run show log ospfDec 2 16:23:47 OSPF sent LSUpdate (4) -> 224.0.0.5 (so-1/1/0.0)Dec 2 16:23:47 Version 2, length 196, ID 10.0.0.6, area 0.0.0.0Dec 2 16:23:47 checksum 0xcc46, authtype 0Dec 2 16:23:47 adv count 6Dec 2 16:23:47 OSPF sent LSUpdate (4) -> 224.0.0.5 (so-1/1/1.0)Dec 2 16:23:47 Version 2, length 196, ID 10.0.0.6, area 0.0.0.0Dec 2 16:23:47 checksum 0xcc46, authtype 0Dec 2 16:23:47 adv count 6