Fat AP and Cloud AP V200R019C00 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.
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.
port link-type
Function
The port link-type command sets the link type of an interface.
The undo port link-type command restores the default link type of an interface.
By default, the link type of an interface is hybrid.
Parameters
Parameter |
Description |
Value |
---|---|---|
access |
Sets the link type of an interface to access. |
- |
hybrid |
Sets the link type of an interface to hybrid. |
- |
trunk |
Sets the link type of an interface to trunk. |
- |
Usage Guidelines
Usage Scenario
Characteristics of different interfaces are:
- An access interface connects to a user device. It can connect only to an access link, and Ethernet frames transmitted on the access link are untagged. An access interface adds a VLAN tag to packets and sets the VID field in the VLAN tag to the default VLAN ID. The access link transmits only the packets with the default VLAN ID.
- A trunk interface connects to a wireless access point and can connect only to a trunk link. A trunk interface allows frames from multiple VLANs to pass.
- A hybrid interface can connect to either a user device or a wireless access point, and it can connect to an access link or a trunk link. A hybrid interface allows frames from multiple VLANs to pass and can remove VLAN tags of outgoing frames.
Prerequisites
Before changing the interface type, restore the default VLAN configuration of the interface so that the interface belongs to only VLAN 1.
Follow-up Procedure
Add the interface to VLANs.
Precautions
If you run the port link-type command multiple times in the same interface view, only the latest configuration takes effect.
Document ID:EDOC1100096311
Views:4161303
Downloads:1256
Average rating:0.0Points