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 to assign a static-access port to a VLAN:

Command

Purpose

Router(config)# interface IFNAME

Enter the interface name to access the interface

 

configuration node.

 

 

Router(config-if-IFNAME)# switchport

This command designates the interface as static-

mode access

access mode.

 

 

Router(config-if-IFNAME)# switchport

This command assigns the interface to the VLAN

access vlan vid

VID.

 

Use the no form of this command to reset the

 

static-access VLAN to default VID 1.

Router(config-if-IFNAME)# end

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.

 

 

Router(config-if-IFNAME)# switchport

This command designates the interface as IEEE

mode trunk

802.1q trunk-access mode.

 

Use the no form of this command to reset to the

 

default of static-access mode.

Router(config-if-IFNAME)# switchport

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.

Router(config-if-IFNAME)# end

Return to Enable node.

 

 

69

Page 69
Image 69
Asante Technologies 35516 user manual Vlan Port Membership Modes, Static Access, Trunk Ieee 802.1Q