IP Address Replacement

An interface supports multiple primary address configuration. However, you can configure only one primary IP address in a subnet. You can configure the primary IP address on a physical interface (Ethernet), management interface, virtual interface (VE or loopback), or a tunnel interface even if the primary IP address was already configured.

When you configure an IP address, using the ip address command with the replace option, the existing IP address is removed and the new IP address is applied to the interface. After the IP address replacement, you must re-establish all the Telnet and Secure Shell (SSH) sessions because the current sessions get either terminated or timed out.

Limitations and Restrictions for IP Address Replacement

  • The IP address replacement feature is not supported for an IPv6 address configuration.
  • You cannot change the subnet mask by using the replace parameter.
  • You can replace IP addresses only on the management interface and data ports.
  • You cannot replace a secondary IP address. You can only replace the primary IP address.