Good night,
I’m trying to use the LSA Body field data in a script, but all the commands I found on the official website or here on the forum didn’t reproduce the expected result because
when I run the commands I get nothing.
I’ll leave an example here: “:put [/routing ospf lsa get [find type=“network”] body];”
Any help, I appreciate it.
Compliments,
Daniel Rodrigues
you use ospf or ospf-v3 ?
Good afternoon,
I am using OSPF and i wanted to use the IPv4 addresses that are in the Body field in the LSA. That’s why I want to use a script.
paste this on terminal and publish the result after having CENSORED (not deleted) sensitive data on the forum
:put [/routing ospf lsa print as-value]
I can publish the data because it’s private and test addresses.
I get this:
“.id=*81b8ae8;age=169;area=backbone;id=172.16.0.1;originator=172.16.0.1;sequence-number=2147483651;type=router;.id=*81b8a48;age=168;area=backbone;id=172.16.0.3;originator=172.16.0.3;sequence-number=2147483652;type=router;.id=*81a3648;age=169;area=backbone;id=10.0.0.1;originator=172.16.0.1;sequence-number=2147483649;type=network”
However, the Body data does not appear.
I maked you to use that command for see what you can request,
no body, no party
Thank you for your help rextended
Sorry if I can not help further, but if that field is not “exported” on that’s way, can not be readed directly
Thanks anyway, I’ll have to find some solution.