Cisco routers are capable of different routing protocols and static and connected routes. Every routing protocol engine has its own distance/metric/weight to decide which route is best.
When a routing protocol has chosen its best route, the route is entered into the routing table. The routing engine uses an “administrative distance” per routing protocol to decide which route to use. The default administrative distance for all the routing protocols is:
|Default Administrative Distances|
|EIGRP summary route||5|
Source: cisco.com “Route Selection in Cisco Routers”
i.g. if you like to set a static route that is only activated, if there is no eBGP route to the same target, you can configure:
ip route 22.214.171.124 255.255.255.0 126.96.36.199 25