ODR is used to allow hub routers to accept prefix information distributed via Cisco Discovery Protocol (CDP) from spoke routers. This tutorial explains configuring ODR.
On the hub router, enter this command:
Also, routes can be controlled with a distribute-list, assuming the referenced ACLs exist. Otherwise, no routes are accepted or sent.
distribute-list 10 in
distribute-list 20 out
Since the prefix updates are carried on CDP, ODR updates can be controlled in true sledgehammer fashion by disabling CDP on an interface:
interface serial 0/0
no cdp enable
For ODR to work properly, all dynamic routing protocols need to be disabled on the spoke routers.