Chapter 5: Switching Commands 379
the Access VLAN on the switch makes the Access port a member of VLAN 1.
Configuring an Access port to be a member of a VLAN that does not exist results
in an error and does not change the configuration.
no switchport
access vlan
This command resets the switch port access mode VALN to its default value.
show interfaces
switchport
Use this command to display the switchport status for all interfaces or a specified
interface.
(CN1610) #show interfaces switchport 1/0/1
Port: 1/0/1
VLAN Membership Mode: General
Access Mode VLAN: 1 (default)
General Mode PVID: 1 (default)
General Mode Ingress Filtering: Disabled
General Mode Acceptable Frame Type: Admit all
General Mode Dynamically Added VLANs:
General Mode Untagged VLANs: 1
General Mode Tagged VLANs:
General Mode Forbidden VLANs:
Trunking Mode Native VLAN: 1 (default)
Trunking Mode Native VLAN tagging: Disable
Trunking Mode VLANs Enabled: All
Protected Port: False
Default 1 (Default VLAN)
Format
switchport access vlan
vlan-id
Mode Interface Config
Format
no switchport access vlan
Mode Interface Config
Format
show interfaces switchport slot/port
Mode Privileged EXEC