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