switchport access
Sets the Layer 2 interface as access.
Synopsis
switchport access vlan vlan_id
no switchport access vlan
Operands
vlan vlan_id
Defaults
By default, all Layer 2 interfaces are in access mode and belong to the VLAN ID 1.
Command
Interface configuration mode
Modes
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.
Usage
There are no usage guidelines for this command.
Guidelines
Examples
To set the Layer 2 interface PVID to 100:
See Also
show vlan brief, show interface switchport, switchport mode, switchport trunk
Converged Enhanced Ethernet Command Reference
53-1001762-01
DRAFT: BROCADE CONFIDENTIAL
Sets the port VLAN (PVID) to the specified vlan_id. The range of valid values is
1-3583.
switch(conf-if-te-0/19)#switchport access vlan 100
switchport access
49
3