Asante Technologies IC36240 user manual Command Purpose Switchconfig# vlan dot1q tag native

Models: IC36240

1 108
Download 108 pages 14.72 Kb
Page 69
Image 69

Use the following commands, beginning in config mode, to configure the VLAN Allowed List for the 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 allowed vlan {add all

This command configures the VLAN Allowed List for the trunk port.

except remove none} vlan-list

add—Add VLANs to the current VLAN list.

 

 

all—Add all VLANs to the allowed-VLAN list.

 

except—Add all VLANs except those specified in the VLAN list.

 

remove—Remove the VLANs specified in the VLAN list.

 

none—Specifies no VLANs.

 

vlan-list—The VLAN list can be a single VLAN or a range of VLANs

 

(from 1–4094). Separate the VID numbers by a comma, or by a

 

hyphen when listing a range (e.g., “120, 158, 4090-4094”).

 

Use the no form of this command to reset to default setting of all

 

VLANs in the VLAN Allowed List.

 

 

End

Return to Enable mode.

 

 

The trunk port accepts tagged and untagged frames. All the untagged frames are classified to the trunk port’s native VLAN (the VLAN whose VID matches the port’s VLAN ID). The trunk port also sends out the frames as untagged for the native VLAN and tagged for other VLANs. Using the following global configuration command can change this behavior:

Command

Purpose

 

 

Switch(config)# vlan dot1q tag native

This global command enables tagging of native VLAN frames on all

 

802.1q trunk ports.

 

Use the no form of this command to disable tagging of native VLAN

 

frames.

 

 

Switch(config)# end

Return to Enable mode.

 

 

69

Asante IntraCore IC36240

User’s Manual

Page 69
Image 69
Asante Technologies IC36240 user manual Command Purpose Switchconfig# vlan dot1q tag native, Switchconfig# end