I changed the OSPF metric for interface ge/0/0/1.0 to 100, but when I type in the command show ospf route intra, I can see the metric value got replaced from 1 to 2. what the relationship between the 100 and 2 ? regardless the value I type in the metric will be shown as 2. but I can see the real value I typed in when I type : show ospf interface ge-0/0/0.0 detail
So where is this value 2 is coming from ?
fred@vSRX-1# run show ospf route intraTopology default Route Table:Prefix Path Route NH Metric NextHop Nexthop Type Type Type Interface Address/LSP192.168.1.2 Intra Router IP 1 ge-0/0/4.0 172.20.111.101184.108.40.206 Intra Area BR IP 1 ge-0/0/1.0 172.20.77.217220.127.116.11/30 Intra Network IP 2 ge-0/0/1.0 172.20.77.21718.104.22.168/30 Intra Network IP 1 ge-0/0/1.0172.20.111.0/24 Intra Network IP 1 ge-0/0/4.0192.168.1.1/32 Intra Network IP 0 lo0.0192.168.1.2/32 Intra Network IP 1 ge-0/0/4.0 172.20.111.10122.214.171.124/32 Intra Network IP 1 ge-0/0/1.0 172.20.77.2
you set a high metric on interface ge-0/0/0
now he is going 2 hops wvia interface ge-0/0/1 ( 1+1)
because of the high metric on the local interface you are now accessing the 172.20.66.0/30 network from the other side