Справочник Пользователя для Asante Technologies 35516

Скачать
Страница из 77
 
69 
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 
mode access
 
 
This command designates the interface as static-
access mode. 
 
Router(config-if-IFNAME)# 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. 
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 
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. 
Router(config-if-IFNAME)# 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. 
Router(config-if-IFNAME)# end 
 
Return to Enable node.