< Home

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 (excluding AirEngine series APs): Its GE interfaces work in root mode, Ethernet interfaces in endpoint mode, and Eth-Trunk interfaces in root mode.
  • On a central AP (excluding AirEngine series APs): Its uplink 10GE/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, AP2050DN-S, AP2050DN-E, AP2051DN, AP2051DN-S, AP2051DN-E, R251D, and R251D-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.
  • AirEngine 5760-10: Its GE interface works in root mode.
  • On an AirEngine 8760-X1-PRO, AirEngine 6760-X1, AirEngine 6760-X1E, and AirEngine 5760-51: Its 10GE/5GE/GE interfaces work in root and Eth-Trunk interfaces work in root mode.
  • On an AirEngine 8760R-X1, AirEngine 8760R-X1E, AirEngine 6760R-51, and AirEngine 6760R-51E: Its 10GE/5GE interfaces work in root, GE interfaces in endpoint, and Eth-Trunk interfaces in root mode.
  • On an AirEngine 5760-22W and AirEngine 5760-22WD: Its 10GE/2.5GE interfaces work in root mode and GE interfaces work in endpoint mode.
  • On an AirEngine 9700D-M: Its uplink 10GE interfaces in root mode and downlink GE interfaces work in middle mode.

The working mode of wired interfaces cannot be changed on the R230D, R240D, R250D, R250D-E, R450D, AP2050DN, AP2051DN-L-S, AP5510-W-GP, AP2050DN-E, AP2050DN-S, AP2030DN, AP2030DN-S, AP2051DN, AP2051DN-S, AP2051DN-E, R251D, or R251D-EAirEngine 5760-22W or AirEngine 5760-22WD.

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 host.

-

middle

Sets the working mode of an AP's wired interface to middle, which allows a central AP to 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

When the AP's wired interface works in root mode, user isolation cannot be configured. User isolation can be configured on an AP's wired interface only when the interface works in endpoint 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-vlan vlan-id command, the PVID for the AP's wired interface must be configured the same as the management VLAN ID. If the AP's wired interface works in endpoint mode, the PVID can be configured directly. If 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >