7.2 VLAN Port Membership Modes
Assign a switchport to a VLAN by designating a membership mode. The membership mode determines the type of traffic the port carries and the number of VLANs that belong to a specific port. The following is a list of the membership modes:
•Static Access
•Trunk (IEEE 802.1Q)
7.2.1 Static Access
A
Command | Purpose |
|
|
interface IFNAME | Enter the interface name to access the interface configuration mode. |
|
|
Switchport mode access | This command designates the interface as |
|
|
Switchport access vlan vid | This command assigns the interface to the VLAN VID. |
| Use the no form of this command to reset the |
| default VID 1. |
|
|
End | Return to Enable mode. |
|
|
7.2.2 Trunk (IEEE 802.1q)
By default, a trunk port is a member of all VLANs. 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 |
| mode. |
| Use the no form of this command to reset to the default of static- |
| access mode. |
|
|
switchport trunk native vlan vid | This command assigns the native VLAN for the trunk port. Use the no |
| form of this command to reset the native VLAN to VID 1. |
|
|
| Return to Enable mode. |
|
|
68 | Asante IntraCore IC36240 | User’s Manual |