Switchport Access Vlan - Cisco ME 3400 Command Reference Manual

Ethernet access switch
Table of Contents

Advertisement

Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands

switchport access vlan

Use the switchport access vlan interface configuration command to configure a port as a static-access
or dynamic-access port. If the switchport mode is set to access (by using the switchport mode interface
configuration command), use this command to set the port to operate as a member of the specified VLAN
or to specify that the port uses VLAN Membership Policy Server (VMPS) protocol where VLAN
assignment based on the incoming packets it receives. Use the no form of this command to reset the
access VLAN mode to the default VLAN for the switch.
Syntax Description
vlan-id
dynamic
Defaults
The default access VLAN and trunk interface native VLAN is a 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
Release
12.2(25)EX
Usage Guidelines
The no switchport access vlan 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 6500 series switch) must be configured before a port is configured
as dynamic.
OL-9640-07
switchport access vlan {vlan-id | dynamic}
no switchport access vlan
Configure the interface as a static access port with the VLAN ID of the
access mode VLAN; the range is 1 to 4094.
Specify that the access mode VLAN is dependent on the 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 obtain 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.
Note
Modification
This command was introduced.
This keyword is visible only on user network interfaces (UNIs) or
enhanced network interfaces (ENIs).
Cisco ME 3400 Ethernet Access Switch Command Reference
switchport access vlan
2-607

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents