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} | |
| |
| |
| |
| |
| |
| |
| (from |
| hyphen when listing a range (e.g., “120, 158, |
| 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 |