VLAN Commands
503
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\VLAN_ISCLI_Only.fm
D E L L CO N F I D E N T I A L – P R E L I MI N A RY 5/ 1 5 /1 2 - F O R PR O O F O N LY
Example
The following example enables gigabitethernet port 1/0/5 to receive multicast
transmissions from VLAN 11.
Console(config)#
interface
gigabitethernet 1/0/5
Console(config-if)#
switchport access multicast-tv vlan
11
switchport trunk allowed vlan
Use the
switchport trunk allowed vlan
Interface Configuration mode
command to set the trunk characteristics when the interface is in trunking
mode. Use the
no
form of this command to reset a trunking characteristic to
the default.
Syntax
switchport trunk allowed vlan
{ all | none | add vlan-list | remove vlan-list |
except vlan-list }
no switchport trunk allowed vlan
Parameters
all
—Specifies all VLANs from 1 to 4094. At any time, the port belongs to all
VLANs exiting at the time. (Range: 1–4094)
none
—Specifies an empty VLAN list The port does not belong to any VLAN.
add vlan-list
—List of VLAN IDs to add. Separate nonconsecutive VLAN IDs
with a comma and no spaces. Use a hyphen to designate a range of IDs.
remove vlan-list
—List of VLAN IDs to remove. Separate nonconsecutive
VLAN IDs with a comma and no spaces. Use a hyphen to designate a range of
IDs.
except vlan-list
—List of VLAN IDs is calculated by inverting the defined list
of VLANs (the calculated list will include all VLANs from interval 1..4094
except VLANs from the defined list.