Fortinet firewall and OSPF type-2 metric
Anyone know why a Fortinet firewall set to originate type-2 externals is advertising what looks like type-1 costs (i.e., including internal path costs)? I thought with type-2, only the cost I manually assign to the interface (e.g., set cost 100) should be advertised, regardless of internal link costs. Instead, neighbors are seeing the cost increase as if type-1 logic is being applied.
Misconfig? Bug? Misunderstanding on my part?
Below is my ospf config for reference
config router ospf set abr-type cisco set router-id 192.168.8.181 config area edit 0.0.0.0 set authentication message-digest next edit 0.0.0.16 set authentication message-digest set stub-type no-summary set type stub config range edit 1 set prefix 172.16.0.0 255.255.0.0 next end next end config ospf-interface edit "segfw-user" set interface "segfw-user" set authentication message-digest set cost 1101 set priority 0 edit "netmgmt-inside" set interface "segfw-netmgmt" set authentication message-digest set prefix-length 27 set cost 1101 set priority 0 end config network edit 1 set prefix 192.168.8.160 255.255.255.224 next edit 2 set prefix 172.16.0.0 255.255.0.0 set area 0.0.0.16 next end config redistribute "connected" set status enable end config redistribute "static" set metric 3333 set metric-type 1 end config redistribute "rip" end config redistribute "bgp" end config redistribute "isis" end end
To add a little more data. When I log in to a Cisco nexus and run:
<show ip ospf database summary detail>
I get:
LS age: 133
Options: 0x2 (No TOS-capability, No DC)
LS Type: Network Summary
Link State ID: 172.16.0.0 (Network address)
Advertising Router: 192.168.8.181
LS Seq Number: 0x80000407
Checksum: 0x2082
Length: 28
Network Mask: /16
TOS: 0 Metric: 5101
