I thought the OSPF external type 1 should be preferred than type 2 but the router is choosing the type 2 even with higher metric:
>>> OSPF database right after I clear the neighbor:
admin@Tokyo> show ospf database external extensive
OSPF AS SCOPE link state database
Type ID Adv Rtr Seq Age Opt Cksum Len
Extern 0.0.0.0 10.14.10.1 0x80000001 9 0x22 0x709e 36
mask 0.0.0.0
Topology default (ID 0)
Type: 1, Metric: 1, Fwd addr: 0.0.0.0, Tag: 0.0.0.0
Aging timer 00:59:50
Installed 00:00:08 ago, expires in 00:59:51, sent 00:00:03 ago
Last changed 00:00:08 ago, Change count: 1
Extern 0.0.0.0 10.14.14.1 0x80000007 3 0x22 0xad73 36
mask 0.0.0.0
Topology default (ID 0)
Type: 2, Metric: 100, Fwd addr: 0.0.0.0, Tag: 0.0.0.0
Aging timer 00:59:56
Installed 00:00:02 ago, expires in 00:59:57, sent 00:00:02 ago
Last changed 00:00:02 ago, Change count: 11
admin@Tokyo>
>>> After few seconds:
admin@Tokyo> show ospf database external extensive
OSPF AS SCOPE link state database
Type ID Adv Rtr Seq Age Opt Cksum Len
Extern 0.0.0.0 10.14.14.1 0x80000007 15 0x22 0xad73 36
mask 0.0.0.0
Topology default (ID 0)
Type: 2, Metric: 100, Fwd addr: 0.0.0.0, Tag: 0.0.0.0
Aging timer 00:59:44
Installed 00:00:14 ago, expires in 00:59:45, sent 00:00:14 ago
Last changed 00:00:14 ago, Change count: 11
admin@Tokyo>