06-07-2022 10:01 PM
Hi Experts,
I am attempting to setup the following on an Firepower managed by FDM. All the OSPF settings have been replicated except "redistribute static subnets". I've tried and observed that after enabling only "redistribute static subnets" and saving the settings. I see that "redistribute static metric 1 metric-type 2" is added automatically.
Attached screenshots for reference:
==================
router ospf 100
router-id x.x.x.x
network x.x.x.x 255.255.255.0 area 1
network x.x.x.x 255.255.255.0 area 1
network x.x.x.x 255.255.255.0 area 1
area 1
log-adj-changes
redistribute static subnets
default-information originate metric 1
==================
06-07-2022 10:35 PM
I can see the below discussion are great for clearing your query.
"if i use static route command in ospf with metric-type 1 then the cost will remain the same" -- actual the cost would vary with type 1 as the route traverses more links. With type 2 the metric would remain the same.
To redistribute IBGP routes into another process you need to configure the command 'bgp redistribute-internal' under the BGP process. However, it's not really recommended to use this option due to some problems that might arise out of this.
https://community.cisco.com/t5/routing/redistribution-static-into-ospf/td-p/749973
Thanks,
Jitendra
06-08-2022 01:53 AM
type/metric is default when redistribute static into OSPF, and it appear when save the config.
but you can modify the default setting
you can modify the type
you can modify the default metric
06-08-2022 02:45 AM
Check this out, this might help : https://www.cisco.com/c/en/us/td/docs/security/firepower/660/fdm/fptd-fdm-config-guide-660/fptd-fdm-routing.html/MyHTSpace.com
06-09-2022 12:11 AM - edited 07-28-2022 12:30 AM
Open Shortest Path First (OSPF) is a link-state interior gateway protocol. OSPF routers flood link-state information to neighboring routers so that all routers in an OSPF area have a complete view of the network topology.
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