- First route will be validate to be check that route is valid or not. If TLOC is unreachable then route will be considered as invalid.
2. If route is valid then a route with lowest AD will be prefer.
3. If AD is same then a route with higher OMP preference value will be prefer.
4. If OMP preference value is also same then a route with higher TLOC preference value will be prefer.
5. If TLOC preference is also same then a route with higher origin type will be select in following manner:
d. OSPF intra area route
e. OSPF inter area route
f. OSPF external route
6. If Origin type is also same then a route with higher OMP with higher router ID will be prefer.
7. If router is also same then vEdge router selects the route with higher private IP address.
If all the criteria’s are matching then vSmart chooses the both routes. A vEdge router installs an OMP route in its FIB only if the TLOC to which it points is active. For a TLOC to be active, an active, and BFD session must be associated with that TLOC. BFD sessions are established by each vEdge router, which creates a separate BFD session with each of the remote TLOCs. If a BFD session becomes inactive, the vSmart controller removes from the forwarding table all the OMP routes that point to that TLOC.