No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
update host source

update host source

Function

The update host source command specifies an interface IP address as the source IP address for online update request packets.

The update host source ip command specifies the source IP address of online update request packets.

The undo update host source command deletes the specified interface IP address as the source IP address for online update request packets.

The undo update host source ip command deletes the specified source IP address of online update request packets.

Format

update host source interface-type interface-number

update host source ip ip-address

undo update host source

undo update host source ip

Parameters

Parameter Description Value
interface-type interface-number

Specifies the interface type and interface number.

-
ip ip-address

Specifies the source IP address of online update request packets.

The value is in dotted decimal notation.

Views

System view

Default Level

3: Management level

Usage Guidelines

In normal cases, these commands are optional. If the administrator does not configure these commands, the system searches a route based on the IP address of the update server and uses the IP address of the outgoing interface as the source IP address of update request packets.

Instructions on these commands are as follows:

  • The interface specified in the update host source interface-type interface-number command is not necessarily the outgoing interface of update request packets. This command actually specifies the IP address of a specific interface as the source IP address. To send update request packets, the system checks the route information to determine the outgoing interface.

  • If the interface has multiple IP addresses, run the update host source ip ip-address command to set the source IP address of update request packets and ensure that the Central AP can receive the reply packets. Otherwise, the online update may fail.

  • When both update host source interface-type interface-number and update host source ip ip-address are configured, the system preferentially uses the specified IP address as the source IP address of update request packets. That is, the update host source interface-type interface-number command does not take effect.

Example

# Set the interface used for online update to GigabitEthernet0/0/1.

<Huawei> system-view
[Huawei] interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1] ip address 10.1.1.1 24
[Huawei-GigabitEthernet0/0/1] quit
[Huawei] update host source GigabitEthernet 0/0/1

# Set the source IP address of online update request packets to 10.1.1.1.

<Huawei> system-view
[Huawei] update host source ip 10.1.1.1
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 212515

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next