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).
source

source

Function

The source command configures the source address used in TCP connection setup.

The undo source command restores the default setting.

By default, the device uses an outbound interface's IP address as the source IP address used in TCP connection setup.

Format

source { interface interface-type interface-number | ip-address }

undo source

Parameters

Parameter Description Value
interface interface-type interface-number
Specifies an interface's IP address as the source IP address used in TCP connection setup.
  • interface-type indicates the type of the interface.
  • interface-number indicates the number of the interface.
-
ip-address

Specifies the source address used in TCP connection setup.

The value is in dotted decimal notation.

Views

PKI realm view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the device needs to establish a TCP connection with an SCEP or OCSP server, you must run the source command to specify the source IP address used in TCP connection setup.

In the multi-output scenario, if the interfaces for sending and receiving a TCP packet are different, the IP address in the received TCP packet is different from the IP address of the receiving interface. Then the TCP packet is dropped, and the TCP connection is torn down. In this situation, you can run this command to specify the loopback interface address.

Precautions

If the source interface used in TCP connection setup has been specified, the source interface must be a Layer 3 interface with an IP address configured.

Example

# Configure the IP address of VLANIF 100 as the source address used in TCP connection setup.
<Huawei> system-view
[Huawei] interface vlanif 100
[Huawei-Vlanif100] ip address 10.136.2.25 24
[Huawei-Vlanif100] quit
[Huawei] pki realm abc
[Huawei-pki-realm-abc] source interface vlanif 100
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207385

Downloads: 122

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