Hi Spuluka
Thanks for reply .
My question is still on why OSPF select gr-1/1/0.1 as backup , not gr-2/3/0.2 , even I set gr-1/1/0.1 as higher metric . Should we have any command to show why OSPF select it as backup ?
As follow is my configuration.
> show configuration interfaces gr-2/3/0.2
tunnel {
source 122.255.91.14;
destination 116.51.28.146;
}
family inet {
mtu 8800;
address 192.168.145.41/30;
}
family mpls {
mtu 8800;
}
> show configuration interfaces gr-1/1/0.1
tunnel {
source 63.222.40.198;
destination 63.216.143.194;
}
family inet {
mtu 1476;
tcp-mss 1436;
address 192.168.147.42/30;
}
family mpls {
mtu 1476;
}
> show configuration protocols ospf
traffic-engineering;
interface gr-2/3/0.2 {
interface-type p2p;
metric 25;
bfd-liveness-detection {
minimum-interval 100;
}
interface gr-1/1/0.1 {
interface-type p2p;
metric 100;
bfd-liveness-detection {
minimum-interval 100;
}
> show configuration protocols ldp
track-igp-metric;
interface gr-1/1/0.3;
interface gr-2/3/0.2;
session-protection;
> show ospf neighbor
Address Interface State ID Pri Dead
192.168.145.49 gr-1/1/0.3 Full 192.168.145.2 128 38
192.168.145.42 gr-2/3/0.2 Full 192.168.145.2 128 34
> show ospf backup neighbor
192.168.145.2 via: Direct
Neighbor to Self Metric: 10
Self to Neighbor Metric: 10
Direct next-hop: gr-1/1/0.3
Direct next-hop: gr-2/3/0.2
> show route 192.168.145.2
inet.0: 669031 destinations, 3902164 routes (668778 active, 9 holddown, 314 hidden)
+ = Active Route, - = Last Active, * = Both
192.168.145.2/32 *[LDP/9] 3d 17:19:35, metric 10
> to 1192.168.147.34 via xe-1/3/2.1, Push 313776
via gr-1/1/0.3
[OSPF/10] 3d 17:19:35, metric 10
> to 192.168.147.34 via xe-1/3/2.1
via gr-1/1/0.3
> show ospf interface gr-2/3/0.2 extensive
Interface State Area DR ID BDR ID Nbrs
gr-2/3/0.2 PtToPt 0.0.0.0 0.0.0.0 0.0.0.0 1
Type: P2P, Address: 0.0.0.0, Mask: 0.0.0.0, MTU: 8800, Cost: 25
Adj count: 1
Hello: 10, Dead: 40, ReXmit: 5, Not Stub
Auth type: None
Protection type: None
Topology default (ID 0) -> Cost: 25
gr-2/3/0.2 PtToPt 0.0.0.0 0.0.0.0 0.0.0.0 0
Type: P2P, Address: 103.198.145.41, Mask: 255.255.255.252, MTU: 8800, Cost: 25
Adj count: 0, Passive
Hello: 10, Dead: 40, ReXmit: 5, Not Stub
Auth type: None
Protection type: None
Topology default (ID 0) -> Passive, Cost: 25
> show ospf interface gr-1/1/0.3 detail
Interface State Area DR ID BDR ID Nbrs
gr-1/1/0.3 PtToPt 0.0.0.0 0.0.0.0 0.0.0.0 1
Type: P2P, Address: 0.0.0.0, Mask: 0.0.0.0, MTU: 1476, Cost: 100
Adj count: 1
Hello: 10, Dead: 40, ReXmit: 5, Not Stub
Auth type: None
Protection type: None
Topology default (ID 0) -> Cost: 100
gr-1/1/0.3 PtToPt 0.0.0.0 0.0.0.0 0.0.0.0 0
Type: P2P, Address: 103.198.145.50, Mask: 255.255.255.252, MTU: 1476, Cost: 100
Adj count: 0, Passive
Hello: 10, Dead: 40, ReXmit: 5, Not Stub
Auth type: None
Protection type: None
Topology default (ID 0) -> Passive, Cost: 100