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).
ftp server permit interface

ftp server permit interface

Function

The ftp server permit interface command specifies physical interfaces on the FTP server to which clients can connect.

The undo ftp permit interface command restores the default physical interfaces on the FTP server to which clients can connect.

By default, clients can connect to all the physical interfaces on the FTP server.

Format

ftp server permit interface { interface-type interface-number } &<1-5>

undo ftp server permit interface

Parameters

Parameter Description Value
interface-type interface-number

interface-type: specifies the interface type.

interface-number: specifies the interface number. interface-number and interface-type specify an interface.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To prevent a client from connecting to the FTP server through an unauthorized physical interface or attacking the FTP server by sending a large number of FTP packets, you can run the ftp server permit interface command to specify physical interfaces on the FTP server to which the client can connect.

Precautions

  • By default, clients can connect to all the physical interfaces on the FTP server. Once a physical interface is specified using the ftp server permit interface command, a client cannot connect to the FTP server using other physical interfaces.
  • This command can be used only on a Layer 2 physical interface but not on a Layer 3 physical interface, logical interface, or a non-Ethernet interface.

Example

# Specify physical interfaces on the FTP server to which clients can connect.

<Huawei> system-view
[Huawei] ftp server permit interface gigabitethernet 0/0/0
Info: Succeeded in setting ftp permit interface.

# Restore the default physical interfaces on the FTP server to which clients can connect.

<Huawei> system-view
[Huawei] undo ftp server permit interface
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 196787

Downloads: 122

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