switchport access
These restrictions apply to dynamic-access ports:
•
•
•
•
•
Examples
This example shows how to cause a port interface that has already been configured as a switched
interface to operate in VLAN 2 instead of the platform's default VLAN when in access mode:
Switch(config-if)# switchport access vlan 2
You can verify your setting by entering the show interfaces interface-id switchport privileged EXEC
command and examining information in the Administrative Mode and Operational Mode rows.
Related Commands
Command
show interfaces
switchport mode
Catalyst 3550 Multilayer Switch Command Reference
2-458
The software implements the VLAN Query Protocol (VQP) client, which can query a VMPS such
as a Catalyst 6000 series switch. The Catalyst 3550 switches are not VMPS servers. The VMPS
server must be configured before a port is configured as dynamic.
Use dynamic-access ports only to connect end stations. Connecting them to switches or routers (that
use bridging protocols) can cause a loss of connectivity.
Configure the network so that STP does not put the dynamic-access port into an STP blocking state.
The Port Fast feature is automatically enabled on dynamic-access ports.
Dynamic-access ports can only be in one VLAN and do not use VLAN tagging.
Dynamic-access ports cannot be configured as
–
Members of an EtherChannel port group (dynamic-access ports cannot be grouped with any
other port, including other dynamic ports).
–
Source or destination ports in a static address entry.
–
Monitor ports.
Tunnel ports.
–
switchport
Description
Displays the administrative and operational status of a switching
(nonrouting) port, including port blocking and port protection settings.
Configures the VLAN membership mode of a port.
Chapter 2 Cisco IOS Commands
78-11195-09