![Asante IntraCore 35516 Series Скачать руководство пользователя страница 90](http://html.mh-extra.com/html/asante/intracore-35516-series/intracore-35516-series_user-manual_2980496090.webp)
- 90 -
Router(config-if-IFNAME)# end
Return to Enable mode.
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
|
except
|
remove
}
vlan-list
This command will configure the VLAN Allowed List for the
trunk port.
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.
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. Using the following global configuration command can change this behavior:
Command Purpose
Router(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.
Router(config)# end
Return to Enable mode.