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
Command | Purpose |
Router(config)# interface IFNAME | Enter the interface name to access the interface |
| configuration node. |
|
|
This command designates the interface as static- | |
mode access | access mode. |
|
|
This command assigns the interface to the VLAN | |
access vlan vid | VID. |
| Use the no form of this command to reset the |
| |
Return to Enable node. | |
|
|
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 an VLAN Allowed List.
Use the following commands to assign an IEEE 802.1q trunk port:
Command | Purpose |
Router(config)# interface IFNAME | Enter the interface name to access the interface |
| configuration node. |
|
|
This command designates the interface as IEEE | |
mode trunk | 802.1q |
| Use the no form of this command to reset to the |
| default of |
This command will assign the native VLAN for | |
trunk native vlan vid | the trunk port. |
| Use the no form of this command to reset the |
| native VLAN to VID 1. |
| Return to Enable node. |
|
|
69