ā02-20-2024 05:12 AM
I have a 9300 switch with an Essentials license. It has a limitation of 1000 OSPF routes.
Will there be a log to indicate that this limitation has been hit? I could not find any information on this.
When I do show ip route summary to check the total number of OSPF routes the switch has learnt, which column is the one that is being checked for the 1000 route limit?
Networks or Subnets ?
Example from Cisco reference:
Router# show ip route summary Route Source Networks Subnets Overhead Memory (bytes) connected 0 3 126 360 static 1 2 126 360 igrp 109 747 12 31878 91080 internal 3 360 Total 751 17 32130 92160 Router#
ā02-20-2024 05:25 AM
show ip ospf
The show ip route summary give hint about route success inject from ospf into rib.
But I think license is talking about all ospf prefix success inject and failed inject into rib.
Show ip ospf
Can give hint the number of prefix in all ospf' notice that the prefix in ospf is send ad lsa so number of prefix is equal to lsa number.
Lsa = prefix true for all lsa except lsa1 which I think one lsa can carry multi prefix' to be sure I will make check in lab and share result here
MHM
ā02-21-2024 06:18 AM
show ip route summary
the routes of ospf appear as OSPF not as IGRP
the LSA1 can contain more than one prefix
the number of prefix for each LSA1 appear in show ip ospf database (count)
show ip ospf display the number of LSA
but it better to use
show ip ospf database and count all prefix
thanks
MHM
ā02-21-2024 01:59 AM
check show sdm prefer - give you the limitation (what IOS XE code running on the devices)
you mentioned switch and output show router (is this correct device ?) what we looking
can you post show version (output)
if you enabled OSPF you should see as below :
I have not noticed the output you posted above :
igrp 109
ā02-24-2024 01:19 AM
Thanks all!
Please ignore the command output in my question, I took it from a Cisco Reference page as an example.
The total number of prefixes is 2948 when I do show ip ospf dtatabase.
show ip ospf shows AS LSA as 2948 as well.
From show ip route summary, if I add both Networks + Subnets, I get 2949.
So it seems that I have exceeded the 1000 OSPF routes based on Essentials license. However, how would I know which OSPF route is removed from the routing table due to license limitation?
ā02-24-2024 01:24 AM
you will the logs (i dont recall that log) and some routes not going to install in the database - the routing fails.
if this is edge device and only 1 exit point - then summary will be best to give default route.
ā02-24-2024 01:46 AM
I do not see any logs related to exceeding OSPF routes limit.. It could be only shown at the start when OSPF was enabled. I am not sure.
Oh thanks, what do you mean by summary?
I configured a default static route 0.0.0.0 0.0.0.0 192.168.3.1, but I am afraid that 192.168.3.1 may be out of the routing table.. so far it works well. 192.168.3.1 is the IP of the gateway switch.
There is only 1 exit point for this switch.
ā02-24-2024 03:45 AM
if the switch not have any other downlink suggest to `be no summary - so you can minimise the route entry that fit your needs :
https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/6208-nssa.html
its all depends on how your OSPF designed
ā02-24-2024 11:25 PM
Cat 9300 License enablement - is the features you can use (yes that hardware have capabilities more with advantage License model)
ā02-25-2024 05:48 AM - edited ā02-25-2024 05:48 AM
Hello @rakuten02 ,
move the switch to a totally stub area . The configuration has to be performed on the switch and on the upstream neighbor that will become ABR (0,X)
where X is the totaly stub area
on upstream device
router ospf 10
area 11 stub no summary
network 192.168.3.0 0.0.0.255 area 11
on the edge switch
router ospf 10
area 11 stub
network 0.0.0.0 255.255.255.255 area 11
Hope to help
Giuseppe
ā02-24-2024 01:50 AM - edited ā02-24-2024 02:10 AM
What is the lsa type that have highest numbers?
I check twice there is no limit number in data sheet of c9300 can you share the doc. you have
MHM
ā02-24-2024 08:23 AM
it is due to the essentials license limitation, not the hardware.
ā02-25-2024 01:54 AM
I see.
So Q are
1- how to know which prefix inject into rib? You can use show ip ospf database and check router bit for each prefix' the prefix without router bit is not inject into rib
2-can I reduce prefix? There are many way to reduce prefix in ospf db'
One of them
If the lsa is lsa5 or lsa7 then use summary
If the lsa is lsa1 the use prefix-suppresion
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide