how to swap primary and secondary ip address?

Answered Question
Oct 29th, 2008

we need to change the IP address of our VLAN, and I configured the new IP address as secondary IP address,now I want to improve the secondary address as the primary and delete the old ones,how to do that ?

Thank you!

I have this problem too.
0 votes
Correct Answer by ivillegas about 8 years 2 months ago

Try these commands:

no ip address secondary

ip address

ip address secondary

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Correct Answer
ivillegas Tue, 11/04/2008 - 07:02

Try these commands:

no ip address secondary

ip address

ip address secondary

IZHAR HUSSAIN KAZMI Wed, 07/22/2015 - 17:57

This is just a further cosmetic explanation of earlier provided correct answer.

 

no ip address <ip address1, subnet mask1> secondary

ip address <ip address1, subnet mask1>

      !  it ll overwrite the existing primary ip address.

ip address <ip address2, subnet mask2> secondary

 

 

End Reslt

-------------

IP Address 1 became primary and 2 became secondary

Actions

This Discussion