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

S12700 V200R013C00 Command Reference

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).
mode (AP wired port profile view)

mode (AP wired port profile view)

Function

The mode command sets the working mode for an AP's wired interface.

The undo mode command restores the default working mode of an AP's wired interface.

By default,
  • On a common AP: Its GE interfaces work in root mode, Ethernet interfaces in endpoint mode, and Eth-Trunk interfaces in root mode.
  • On a central AP: Its uplink GE interfaces in root mode and downlink GE interfaces work in middle mode.
  • On an R230D: Its Ethernet interface works in root mode.
  • On an R240D and AP2051DN-L-S: Their Ethernet interfaces work in endpoint mode and GE interfaces in root mode.
  • On an R250D, R250D-E, AP2050DN, AP5510-W-GP, AP2051DN, AP2051DN-E, R251D, R251D-E and AP2050DN-E: Their uplink GE interfaces work in root mode and downlink GE interfaces in endpoint mode.
  • On an R450D: Its GE interface works in root mode.
NOTE:

You cannot change the working mode of wired interfaces on the R230D, R240D, R250D, R250D-E, R450D,AP2050DN, AP2051DN-L-S, AP5510-W-GP, AP2050DN-E, AP2051DN, AP2051DN-E, R251D, R251D-E, AP2010DN and AP2030DN.

Format

mode { root | endpoint | middle }

undo mode

Parameters

Parameter

Description

Value

root

Sets the working mode of an AP's wired interface to root, which can connect to an AC.

-

endpoint

Sets the working mode of an AP's wired interface to endpoint, which can connect to a computer.

-

middle

Sets the working mode of an AP wired interface to middle, which can connect to an RU.

-

Views

AP wired port profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When working as an uplink interface to connect to an AC, an AP's wired interface must work in root mode. In root mode, the AP's wired interface automatically joins service VLANs and user-specific VLANs (for example, VLANs assigned by the RADIUS server).

When working as a downlink interface to connect to a wired terminal, the AP's wired interface must work in endpoint mode. In endpoint mode, the AP's wired interface does not join any VLAN by default.

When the central AP connects to RUs through downlink GE interfaces, the working mode of the downlink GE interfaces must be set to middle.

Precautions

The AP's wired interface supports user isolation in endpoint mode, but not in root or middle mode.

When the AP's wired interface works in root mode and has been configured to transmit packets carrying the management VLAN tag using the management-vlanvlan-id command, the PVID for the AP's wired interface must be configured the same as the management VLAN ID. When the AP's wired interface works in endpoint mode, the PVID can be configured directly. The configuration takes effect after the AP restarts. When the AP's wired interface works in middle mode, the PVID cannot be configured.

The configuration of the AP's wired interface takes effect after the AP is restarted.

Example

# Set the working mode of the AP's wired interface ETH0 to endpoint.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-group name ap-group1
[HUAWEI-wlan-ap-group-ap-group1] quit
[HUAWEI-wlan-view] wired-port-profile name wired
[HUAWEI-wlan-wired-port-wired] mode endpoint
Warning: If the AP goes online through a wired port, the incorrect port mode configuration will cause the AP to go out of management
. This fault can be recovered only by modifying the configuration on the AP. Continue? [Y/N]:y
[HUAWEI-wlan-wired-port-wired] quit
[HUAWEI-wlan-view] ap-group name ap-group1
[HUAWEI-wlan-ap-group-ap-group1] wired-port-profile wired ethernet 0
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 115273

Downloads: 83

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