2 vlan port membership modes – Asante Technologies 35516 User Manual
Page 89

- 89 -
6.2 VLAN Port Membership Modes
A switchport can be assigned to a VLAN by designating a membership mode. The membership mode determines the
kind of traffic the port carries and the number of VLANs to which it can belong. The membership modes are as
follows:
• Static
Access
•
Trunk (IEEE 802.1Q)
• Dot1q
Tunnel
6.2.1 Static Access
A static-access port can belong to one VLAN and is manually assigned to that VLAN. Use the following commands,
beginning in config mode, to assign a static-access port to a VLAN:
Command Purpose
interface IFNAME
Enter the interface name to access the interface configuration
mode.
switchport mode access
This command designates the interface as static-access
mode.
switchport access vlan vid
This command assigns the interface to the VLAN VID.
Use the no form of this command to reset the static-access
VLAN to default VID 1.
end
Return to Enable mode.
6.2.2 Trunk (IEEE 802.1Q)
By default, a trunk port is a member of all VLANs. However, membership can be limited by configuring a VLAN
Allowed List.
Use the following commands, beginning in config mode, to assign an IEEE 802.1q trunk port:
Command Purpose
interface IFNAME
Enter the interface name to access the interface configuration
mode.
switchport mode trunk
This command designates the interface as IEEE 802.1q
trunk-access mode.
Use the no form of this command to reset to the default of
static-access mode.
switchport trunk native vlan vid
This command will assign the native VLAN for the trunk port.
Use the no form of this command to reset the native VLAN to
VID 1.