Getting details about LSAs
Hello, Is there a way to obtain more information about LSAs? I've been debugging an issue with a hardware router. I know I can do this: bird> show ospf lsadb lsid 10.16.80.0 Global Type LS ID Router Sequence Age Checksum 0005 10.16.80.0 192.168.253.6 800012e8 1193 e030 0005 10.16.80.0 193.136.152.3 8000042a 1464 0a6f But I'd like to see things such as the Forwarding Address in AS-external-LSAs, the Options field, and so on. Would this be possible to do? Perhaps adding an "all" option to the show ospf lsadb command. I think it would prove valuable for troubleshooting those weird cases. Regards, -- Israel G. Lugo Núcleo de Redes e Comunicações Direção de Serviços de Informática Instituto Superior Técnico
I take it this feature is not planned or feasible, then? -- Israel G. Lugo Núcleo de Redes e Comunicações Direção de Serviços de Informática Instituto Superior Técnico On 10-05-2016 18:55, Israel G. Lugo wrote:
Hello,
Is there a way to obtain more information about LSAs? I've been debugging an issue with a hardware router. I know I can do this:
bird> show ospf lsadb lsid 10.16.80.0
Global
Type LS ID Router Sequence Age Checksum 0005 10.16.80.0 192.168.253.6 800012e8 1193 e030 0005 10.16.80.0 193.136.152.3 8000042a 1464 0a6f
But I'd like to see things such as the Forwarding Address in AS-external-LSAs, the Options field, and so on.
Would this be possible to do? Perhaps adding an "all" option to the show ospf lsadb command. I think it would prove valuable for troubleshooting those weird cases.
Regards,
On Thu, Jul 28, 2016 at 11:50:17AM +0100, Israel G. Lugo wrote:
On 10-05-2016 18:55, Israel G. Lugo wrote:
Would this be possible to do? Perhaps adding an "all" option to the show ospf lsadb command. I think it would prove valuable for troubleshooting those weird cases.
I take it this feature is not planned or feasible, then?
Hi Well, it is not currently supported, but it it is something worth implementing in the future. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On 29-07-2016 10:29, Ondrej Zajicek wrote:
Well, it is not currently supported, but it it is something worth implementing in the future.
Cool, I've gone ahead and given it a go at implementing this. I'd still like to clean it up a bit, and maybe add some more details to the output, but in the spirit of releasing early and often, I am submitting the patch for review. This is made against Bird 1.6.0 release. It compiles and runs on a test router I added to my OSPF backbone. Right now, output is as follows: bird> show ospf lsadb lsid 192.168.50.0 detail Global Type LS ID Router Sequence Age Checksum 0005 192.168.50.0 192.168.253.6 80002425 892 8a9b external 192.168.50.0/24 metric2 1 via 193.136.134.139 Comments, suggestions and constructive criticism would be appreciated. Regards, -- Israel G. Lugo Núcleo de Redes e Comunicações Direção de Serviços de Informática Instituto Superior Técnico
participants (2)
-
Israel G. Lugo -
Ondrej Zajicek