Технические ссылки для Cisco Cisco 5760 Wireless LAN Controller

Скачать
Страница из 1016
switchport access vlan
To configure a port as a static-access, use the switchport access vlan command in interface configuration
mode. To reset the access mode to the default VLAN mode for the controller, use the no form of this command.
switchport access vlan {vlan-id| dynamic}
no switchport access vlan
Syntax Description
VLAN ID of the access mode VLAN; the range is 1 to 4094.
vlan-id
Specifies 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.
dynamic
Command Default
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
Modification
Release
This command was introduced.
Cisco IOS XE 3.2SE
Usage Guidelines
The port must be in access mode before the switchport access vlan command can take effect.
If the switchport mode is set to access vlan vlan-id, the port operates as a member of the specified VLAN. If
set to access vlan dynamic, the port starts discovery of VLAN assignment based on the incoming packets it
receives. An access port can be assigned to only one VLAN.
The no switchport access command resets the access mode VLAN to the appropriate default VLAN for the
device.
You must configure the VMPS server (such as a Catalyst 6500 series switch) before configuring a port as
dynamic.
These restrictions apply to dynamic-access ports:
   Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)
506
OL-29471-01  
switchport access vlan