Further to the above -
Interface config on router A:
interface vlan.0.2015
ip address 192.168.90.17 255.255.255.248 primary
ip ospf network point-to-point
ip ospf cost 50
no shutdown
And on Router B:
interface vlan.0.2015
ip address 192.168.90.18 255.255.255.248 primary
ip ospf network point-to-point
ip ospf cost 50
no shutdown
So the interface cost should be 50.
But on Router A:
show ip ospf interface vlan.0.2015
vlan.0.2015 is up
Internet Address 192.168.90.17, Mask 255.255.255.248, Area 0.0.0.0
Process Id 1, Router Id 1.1.1.1, Network Type POINT-TO-POINT, Cost: 10
Transmit Delay is 1 sec, State POINT-TO-POINT, Priority 1
No designated router on this network
No backup designated router on this network
Timer intervals configured: Hello 10, Dead 40, Wait 40, Retransmit 5
Neighbor Count is 1, Adjacent neighbor count is 1
And on Router B:
show ip ospf interface vlan.0.2015
vlan.0.2015 is up
Internet Address 192.168.90.18, Mask 255.255.255.248, Area 0.0.0.0
Process Id 1, Router Id 5.5.5.5, Network Type POINT-TO-POINT, Cost: 10
Transmit Delay is 1 sec, State POINT-TO-POINT, Priority 1
No designated router on this network
No backup designated router on this network
Timer intervals configured: Hello 10, Dead 40, Wait 40, Retransmit 5
Neighbor Count is 1, Adjacent neighbor count is 1
Again, when I build the same topology in GNS3 with Cisco routers the cost is 50 as expected.
Why is the cost 10 rather than 50?