no ip router id

You can override the current router ID assignment by explicitly configuring the router ID to any valid IPv4 address. (This address must be unique; not configured on another device in the network.)


ip router-id n n n n

no ip router-id n n n n


This command configures a router ID for use by any dynamic routing protocol configured on the routing switch. The assignment applies across all routable VLANs on the routing switch, and uses the IPv4 32-bit dotted decimal format. The resulting IPv4 address must be unique in the network.

This no form of the command replaces a manually configured router ID with the first-detected IPv4 network address configured on a VLAN. If an IPv4 address is not detected on a VLAN, then the lowest-numbered IPv4 address of the lowest-numbered IPv4 loopback interface is used.