PurposeCommand or Action
Specifies the switch port that is connected to the end
station, and enters interface configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet 1/0/1
Step 3
Sets the port to access mode.switchport mode access
Example:
Switch(config-if)# switchport mode access
Step 4
Configures the port as eligible for dynamic VLAN
membership.
switchport access vlan dynamic
Example:
Switch(config-if)# switchport access vlan
Step 5
The dynamic-access port must be connected to an end
station.
dynamic
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Verifies your entries in the Operational Mode field of
the display.
show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet 1/0/1
Step 7
switchport
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 8
Related Topics
Dynamic VLAN Assignments, on page 2152
Dynamic-Access Port VLAN Membership, on page 2153
Example: VMPS Configuration, on page 2162
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2157
How to Configure VMPS