Converged Enhanced Ethernet Command Reference 49
53-1001762-01
switchport access 3
DRAFT: BROCADE CONFIDENTIAL
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.
Usage
Guidelines
There are no usage guidelines for this command.
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