Switchport trunk allowed vlan – Dell PowerEdge VRTX User Manual
Page 545

VLAN Commands
545
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Plasma-ARC
2+3\new_system_mifs_ARC2_latest\VLAN.fm
D E LL CO N F I D E N T IA L – P R E L I M I N A RY 4 / 3 / 14 - F O R PR O O F O N LY
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
When the port is assigned to a different VLAN, it is automatically removed
from its previous VLAN and added it to the new VLAN. If the port is assigned
to none
,
it is removed from the previous VLAN and not assigned to any other
VLAN.
A non-existed VLAN can be assigned as an Access VLAN. If the Access VLAN
does not exist the show interfaces switchport command adds text "(Inactive)"
after VLAN ID.
Example
The following example assigns access port gi0/1 to VLAN 2 (and removes it
from its previous VLAN).
console(config)# interface gi0/2
console(config-if)# switchport mode access
console(config-if)# switchport access vlan 2
switchport trunk allowed vlan
A trunk interface is an untagged member of a single VLAN, and, in addition,
it may be an tagged member of one or more VLANs. Use the switchport trunk
allowed vlan Interface Configuration mode command to add/remove
VLAN(s) to/from a trunk port.
Syntax
switchport trunk allowed vlan {all | none | add
vlan-list
| remove
vlan-list
|
except
vlan-list
}
Parameters
• all—Specifies all VLANs from 1 to 4094. At any time, the port belongs to
all VLANs existing at the time. (range: 1–4094).
•
none—Specifies an empty VLAN list The port does not belong to any
VLAN.