Switchport access – Dell POWEREDGE M1000E User Manual

Page 68

Advertising
background image

52

Dell Converged Enhanced Ethernet Command Reference

53-1002115-01

switchport access

3

switchport access

Sets the Layer 2 interface as access.

Synopsis

switchport access vlan vlan_id

no switchport access vlan

Operands

vlan vlan_id

Sets the port VLAN (PVID) to the specified vlan_id. The range of valid values is
1-3583.

Defaults

By default, all Layer 2 interfaces are in access mode and belong to the VLAN ID 1.

Command

Modes

Interface configuration mode

Description

Use this command to set the Layer 2 interface as access. In access mode, the interface only allows
untagged and priority tagged packets. Use the no switchport access vlan command to set the PVID
to the default VLAN 1.

Examples

To set the Layer 2 interface PVID to 100:

switch(conf-if-te-0/19)#switchport access vlan 100

See Also

show vlan brief, show interface switchport, switchport mode, switchport trunk

Advertising