cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2172
Views
5
Helpful
3
Replies

OSPF change metric

Support ACME
Level 1
Level 1

Dear ALL,

 

I'm using FTD to generate the default route to internal switch,the FTD and internal switch are in same AREA 0, i had enabled the "Enable Default Information Originate" on FTD and the metric value is 100(this is value cant change), but i want to change the metric when receiveing the prefix  in the internal switch.

Anyone can help?

Below is my configuration.

 

router ospf 1
log-adjacency-changes
redistribute connected subnets
network 10.195.0.0 0.0.0.255 area 0
distribute-list route-map OSPF-IN in


access-list 2 permit 192.168.188.0 0.0.0.255
route-map OSPF-IN permit 1
match ip address 2
set metric 0



1 Accepted Solution

Accepted Solutions

what I mean SW have

default route

toward FTD and

inject default-information

into OPSF not FTD, are this solution is accept from your side?
when we make

SW inject default route

we can modify metric and make it better than branch.

View solution in original post

3 Replies 3

Op1

Instead make

sw push defualt route

and

config metric

as you want, 

Then

config static route toward ftd.

Op2

Try use 

Match route type internal or external (depend on how opsf see default route) in route map

I cant use static route on ftd, 

My network is

(HQ) Fortigate(BGP)->FTD(BGP+OSPF)->internal switch(OSPF)->Point-to-point->(Branch)->internal switch(BGP+OSPF)->Fortigate(BGP).

 

the HQ and branch is using the 

Point-to-point

to connect the both site, if the HQ internet down, the HQ can access the internet via branch, now my problem is if the HQ internet resumed, the default route is from branch, i checked the route, it is because the 0.0.0.0/0 from branch metric value is [110/110], but the 0.0.0.0/0 from HQ metric value is [110/111].

what I mean SW have

default route

toward FTD and

inject default-information

into OPSF not FTD, are this solution is accept from your side?
when we make

SW inject default route

we can modify metric and make it better than branch.

Review Cisco Networking for a $25 gift card