EasyManuals Logo
Home>Cisco>Switch>WS-C3560E-24PD-E

Cisco WS-C3560E-24PD-E User Manual

Cisco WS-C3560E-24PD-E
914 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #652 background imageLoading...
Page #652 background image
2-620
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
switchport access
switchport access
Use the switchport access interface configuration command to configure a port as a static-access or
dynamic-access port. If the switchport mode is set to access, the port operates as a member of the
specified VLAN. If set to dynamic, the port starts discovery of VLAN assignment based on the incoming
packets it receives. Use the no form of this command to reset the access mode to the default VLAN for
the switch.
switchport access vlan {vlan-id | dynamic}
no switchport access vlan
Syntax Description
Defaults The default access VLAN and trunk interface native VLAN is a default VLAN corresponding to the
platform or interface hardware.
A dynamic-access port is initially a member of no VLAN and receives its assignment based on the packet
it receives.
Command Modes Interface configuration
Command History
Usage Guidelines The no switchport access command resets the access mode VLAN to the appropriate default VLAN for
the device.
The port must be in access mode before the switchport access vlan command can take effect.
An access port can be assigned to only one VLAN.
The VMPS server (such as a Catalyst 6000 series switch) must be configured before a port is configured
as dynamic.
vlan vlan-id Configure the interface as a static access port with the VLAN ID of the
access mode VLAN; the range is 1 to 4094.
vlan dynamic Specify that the access mode VLAN is dependent on the VLAN Membership
Policy Server (VMPS) protocol. The port is assigned to a VLAN based on
the source MAC address of a host (or hosts) connected to the port. The switch
sends every new MAC address received to the VMPS server to get the VLAN
name to which the dynamic-access port should be assigned. If the port
already has a VLAN assigned and the source has already been approved by
the VMPS, the switch forwards the packet to the VLAN.
Release Modification
12.1(19)EA1 This command was introduced.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco WS-C3560E-24PD-E and is the answer not in the manual?

Cisco WS-C3560E-24PD-E Specifications

General IconGeneral
BrandCisco
ModelWS-C3560E-24PD-E
CategorySwitch
LanguageEnglish

Related product manuals