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

S1720, S2700, S5700, and S6720 V200R011C10

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).
WLAN Compatible Commands

WLAN Compatible Commands

ap-location (upgrade-compatible command)

Function

ap-location command sets the latitude and longitude of an AP.

By default, no latitude or longitude is configured for an AP.

Format

ap-location longitude { e | w } longitude-value latitude { s | n } latitude-value

ap-location latitude { s | n } latitude-value longitude { e | w } longitude-value

Parameters

Parameter Description Value
longitude e longitude-value

Specifies the east longitude value of an AP.

The value supports two formats: degrees, minutes, and seconds (DMS) and decimal degrees (DD).
  • The DMS format is XXX-XX-XX. XXX ranges from 0 to 180, and XX ranges from 0 to 59.
  • The DD format is XXX.XXXXXXXXX. XXX ranges from 0 to 180, and XXXXXXXXX is a decimal supporting a maximum of 9 digits.
For example, the east longitude value of an AP can be set to longitude e 120-45-23 in DMS format and longitude e 120.756333333 in DD format.
longitude w longitude-value

Specifies the west longitude value of an AP.

The value supports two formats: DMS and DD.
  • The DMS format is XXX-XX-XX. XXX ranges from 0 to 180, and XX ranges from 0 to 59.
  • The DD format is XXX.XXXXXXXXX. XXX ranges from 0 to 180, and XXXXXXXXX is a decimal supporting a maximum of 9 digits.
For example, the west longitude value of an AP can be set to longitude w 120-45-23 in DMS format and longitude w 120.756333333 in DD format.
latitude s latitude-value

Specifies the south longitude value of an AP.

The value supports two formats: DMS and DD.
  • The DMS format is XX-XX-XX. The first XX ranges from 0 to 90, and the other XXs range from 0 to 59.
  • The DD format is XX.XXXXXXXXX. XX ranges from 0 to 90, and XXXXXXXXX is a decimal supporting a maximum of 9 digits.
For example, the south longitude value of an AP can be set to latitude s 78-45-23 in DMS format and latitude s 78.756333333 in DD format.
latitude n latitude-value

Specifies the north longitude value of an AP.

The value supports two formats: DMS and DD.
  • The DMS format is XX-XX-XX. The first XX ranges from 0 to 90, and the other XXs range from 0 to 59.
  • The DD format is XX.XXXXXXXXX. XX ranges from 0 to 90, and XXXXXXXXX is a decimal supporting a maximum of 9 digits.
For example, the north longitude value of an AP can be set to latitude n 78-45-23 in DMS format and latitude n 78.756333333 in DD format.

Views

AP view

Default Level

2: Configuration level

Usage Guidelines

You can run this command to set the longitude and latitude of an AP for easily locating it.

traffic-filter (AP wired port profile view) (upgrade-compatible command)

Function

The traffic-filter command configures ACL-based IPv4 packet filtering on an AP's wired interface.

The undo traffic-filter command cancels ACL-based IPv4 packet filtering configuration on an AP's wired interface.

By default, ACL-based IPv4 packet filtering is not configured on an AP's wired interface.

Format

traffic-filter { inbound | outbound } acl { acl-number | name acl-name }

undo traffic-filter { inbound | outbound }

Parameters

Parameter

Description

Value

inbound

Configures ACL-based IPv4 packet filtering in the inbound direction.

-

outbound

Configures ACL-based IPv4 packet filtering in the outbound direction.

-

acl

Filters IPv4 packets based on a specified ACL.

-

acl-number

Specifies an ACL number.

The ACL must exist.

The value is an integer that ranges from 3000 to 3031.

name acl-name

Filters IPv4 packets based on a named ACL. acl-name indicates the ACL name.

The ACL name must exist.

The value range is the same as that of the acl-number parameter.

Views

AP wired port profile view

Default Level

3: Management level

Usage Guidelines

Usage scenario

The rules for an AP's wired interface to filter IPv4 packets based on ACLs are as follows:
  • If the action in the ACL rule is deny, the device discards IPv4 packets matching the rule.
  • If the action in the ACL rule is permit, the device allows IPv4 packets matching the rule to pass through.
  • If no rule is matched, IPv4 packets are allowed to pass through.

Prerequisites

An ACL rule has been created by running the acl [ number ] acl-number [ match-order { auto | config } ] or acl name acl-name acl-number [ match-order { auto | config } ] command.

Precautions

The traffic-filter command can reference an ACL with no rule configured. You can configure a rule for the ACL after running this command.

You can configure IPv4 packet filtering based on only one ACL in one direction. If a referenced ACL needs to be replaced, configure a new ACL to overwrite the original one.

traffic-filter (traffic profile view) (upgrade-compatible command)

Function

The traffic-filter command configures ACL-based IPv4 packet filtering in a traffic profile.

The undo traffic-filter command cancels configuration of ACL-based IPv4 packet filtering in a traffic profile.

By default, ACL-based IPv4 packet filtering is not configured in a traffic profile.

Format

traffic-filter { inbound | outbound } acl { acl-number1 | acl-number2 | name acl-name }

undo traffic-filter { inbound | outbound }

Parameters

Parameter

Description

Value

inbound

Configures ACL-based IPv4 packet filtering in the inbound direction.

-

outbound

Configures ACL-based IPv4 packet filtering in the outbound direction.

-

acl

Filters IPv4 packets based on a specified ACL.

-

acl-number

Specifies an ACL number.

The ACL must exist.

The value is an integer that ranges from 3000 to 3031 and from 6000 to 6031.
  • 3000 to 3031: advanced ACLs
  • 6000 to 6031: user ACLs

name acl-name

Filters IPv4 packets based on a named ACL. acl-name indicates the ACL name.

The ACL name must exist.

The value range is the same as that of the acl-number parameter.

Views

Traffic profile view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After the traffic-filter command is executed in the traffic profile view, the device filters packets matching a specified ACL rule:

  • If the action in the ACL rule is deny, the device discards IPv4 packets matching the rule.
  • If the action in the ACL rule is permit, the device allows IPv4 packets matching the rule to pass through.
  • If no rule is matched, IPv4 packets are allowed to pass through.

Prerequisites

An ACL rule has been created by running the acl [ number ] acl-number [ match-order { auto | config } ] or acl name acl-name acl-number [ match-order { auto | config } ] command.

Precautions

The traffic-filter command can reference an ACL with no rule configured. You can configure a rule for the ACL after running this command.

You can configure IPv4 packet filtering based on only one ACL in one direction. If a referenced ACL needs to be replaced, configure a new ACL to overwrite the original one.

Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178165

Views: 48882

Downloads: 1171

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