Got it

How to change the sub ip address to the main ip address under an interface?

Created: Jul 8, 2019 09:19:37Latest reply: Jul 8, 2019 09:19:56 144 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

How to change the sub ip address to the main ip address under an interface?

  • x
  • convention:

Featured Answers
NE_Router
Official Created Jul 8, 2019 09:19:56

Configure the sub ip address as main ip address, then the old main ip address is automatically substituted. For example: 185.79.175.198 is the sub ip address. Then change it as main ip address.
[Huawei-GigabitEthernet1/1/0]ip address 185.79.175.198 255.255.255.0 sub
[Huawei-GigabitEthernet1/1/0]display this
#
interface GigabitEthernet1/1/0
description ithis
undo shutdown
ip address 193.149.1.198 255.255.255.128
ip address 185.79.175.198 255.255.255.0 sub
dcn
#
return
[Huawei-GigabitEthernet1/1/0]
[Huawei-GigabitEthernet1/1/0]ip address 185.79.175.198 24
[Huawei-GigabitEthernet1/1/0]display this
#
interface GigabitEthernet1/1/0
description ithis
undo shutdown
ip address 185.79.175.198 255.255.255.0
dcn
#
return
View more
  • x
  • convention:

All Answers
NE_Router
NE_Router Official Created Jul 8, 2019 09:19:56

Configure the sub ip address as main ip address, then the old main ip address is automatically substituted. For example: 185.79.175.198 is the sub ip address. Then change it as main ip address.
[Huawei-GigabitEthernet1/1/0]ip address 185.79.175.198 255.255.255.0 sub
[Huawei-GigabitEthernet1/1/0]display this
#
interface GigabitEthernet1/1/0
description ithis
undo shutdown
ip address 193.149.1.198 255.255.255.128
ip address 185.79.175.198 255.255.255.0 sub
dcn
#
return
[Huawei-GigabitEthernet1/1/0]
[Huawei-GigabitEthernet1/1/0]ip address 185.79.175.198 24
[Huawei-GigabitEthernet1/1/0]display this
#
interface GigabitEthernet1/1/0
description ithis
undo shutdown
ip address 185.79.175.198 255.255.255.0
dcn
#
return
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.