This command manually sets the router-id for EIGRP. This is used just for administrative purposes and doesn’t affect EIGRP’s operation, since EIGRP keeps track of neighbors by their IP addresses.
Router(config-router)#eigrp router-id <ID>
In this example, we will change EIGRP’s router-id on R1 to be 18.104.22.168.
R1(config-router)#eigrp router-id 22.214.171.124