Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Analyze OSPF Link-State Advertisement Packets in Detail

    Action

    To analyze OSPF link-state advertisement packets in detail, follow these steps:

    1. In configuration mode, go to the following hierarchy level:
      [edit]user@host# edit protocols ospf traceoptions
    2. Configure OSPF link-state packages:
      [edit protocols ospf traceoptions]user@host# set flag lsa-update detail
    3. Verify the configuration:
      user@host# show

      For example:

      [edit protocols ospf traceoptions]
      user@host# show
      file ospf size 5m world-readable;
      flag hello detail;
      flag lsa-update detail;
    4. Commit the configuration:
      user@host# commit
    5. View the contents of the file containing the detailed messages:
      user@host# run show log filename

      For example:

      user@host# run show log ospf
      Dec 2 16:23:47 OSPF sent LSUpdate (4) -> 224.0.0.5 (so-1/1/0.0) ec 2 16:23:47 Version 2, length 196, ID 10.0.0.6, area 0.0.0.0
      Dec 2 16:23:47 checksum 0xcc46, authtype 0
      Dec 2 16:23:47 adv count 6 Dec 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.0 Dec 2 16:23:47 checksum 0xcc46, authtype 0
      Dec 2 16:23:47 adv count 6

    Published: 2012-12-10