Quickly show a specific router LSA in the OSPF database?
Hello Guys,
How might i be able to quickly display the router LSAs advertising a specific network? For example, if i have an area with 40 routers and i want to view just the LSA's advertising the 10.2.1.0/24 network, what command can I use? As of now, i have been able to use the "include" command with the show ip ospf database router command but their must be a better way! Thanks guys.
-Adam
How might i be able to quickly display the router LSAs advertising a specific network? For example, if i have an area with 40 routers and i want to view just the LSA's advertising the 10.2.1.0/24 network, what command can I use? As of now, i have been able to use the "include" command with the show ip ospf database router command but their must be a better way! Thanks guys.
-Adam
Comments
-
networker050184 Mod Posts: 11,962 Modshow ip ospf database lsa type lsa link idAn expert is a man who has made all the mistakes which can be made.
-
adam-b Member Posts: 36 ■■□□□□□□□□networker050184 wrote: »show ip ospf database lsa type lsa link id
Thanks and unfortunetly this command is not available on my cisco 1841 router.
R3#show version
Cisco IOS Software, 1841 Software (C1841-ADVSECURITYK9-M), Version 12.4(15)T7, RELEASE SOFTWARE (fc3) -
kryolla Member Posts: 785if your router can run ospf than it should have that command. For router lsa the link state id and advertising router is the same so its kinds hard to just filter on the prefix. Do a sh ip route prefix and it will tell you who the advertising router is then do a sh ip os data router adv router-id. If that prefix is an multi-access then it is represented by the DR and should be in LSA-2 so it will be pretty easy to see who is advertising it. The link id is only good for lsa 3 & 5 then you can do that command and it will tell you all routers (ABR) advertising that link into the area. It can be kinda tricky navigating the ospf database but once you learn it traffic engineering is pretty simply.Studying for CCIE and drinking Home Brew