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

Command Reference

AR500, AR510, and AR530 V200R007

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
http server permit interface

http server permit interface

Function

The http server permit interface command configures physical interfaces through which users can access the web platform.

The undo http server permit interface command deletes the configured interfaces so that users can access the web platform using all physical interfaces on the device.

By default, users can access the web platform through all physical interfaces on the device.

Format

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

undo http server permit interface

Parameters

Parameter Description Value
interface-type interface-number

interface-type specifies the interface type.

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

-

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To prevent unauthorized users from accessing the web platform through physical interfaces on the device, run the http server permit interface command to configure physical interfaces through which users can access the web platform.

Precautions

  • By default, users can access the web platform through all the physical interfaces on the device. If one or more physical interfaces on the device are configured for accessing the web platform, users cannot access the web platform through other interfaces on the device.
  • A maximum of five physical interfaces can be configured. If you run the http server permit interface command multiple times, only the latest configuration takes effect. For example, if GigabitEthernet 1/0/0, GigabitEthernet 2/0/0, and GigabitEthernet 3/0/0 has been configured, and then run the http server permit interface command to configure GigabitEthernet 1/0/0, users can access the web platform only through GigabitEthernet 1/0/0.

Example

# Configure the physical interfaces through which users can access the web platform.

<Huawei> system-view
[Huawei] http server permit interface gigabitethernet 1/0/0 gigabitethernet 2/0/0

# Delete the configured physical interfaces so that users can access the web platform using all physical interfaces on the device.

<Huawei> system-view
[Huawei] undo http server permit interface
Translation
Download
Updated: 2019-02-18

Document ID: EDOC1000097293

Views: 35173

Downloads: 101

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