vlan

Sets the VLAN where traffic from this WLAN is mapped

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

vlan [<1-4094>|<VLAN-ALIAS-NAME>]

Parameters

vlan [<1-4094>|<VLAN-ALIAS-NAME>]
<1-4094> Sets a WLAN‘s VLAN ID. This command starts a new VLAN assignment for a WLAN index. All prior VLAN settings are erased.

Use this command to assign just one VLAN to the WLAN. Utilizing a single VLAN per WLAN is a more typical deployment scenario than using a VLAN pool.

<VLAN-ALIAS-NAME> Assigns a VLAN alias to the WLAN. The VLAN alias should be pre-existing and configured.

A VLAN alias maps a name to a VLAN ID. When applied to ports (for example GE ports) using the trunk mode, a VLAN alias denies or permits traffic, on the port, to and from the VLANs specified in the alias. For more information on aliases, see alias.

Examples

nx9500-6C8809(config-wlan-test)#vlan 4
nx9500-6C8809(config-wlan-test)#show context
wlan test
 ssid testWLAN1
 vlan 4
 bridging-mode local
 encryption-type none
 authentication-type none
 protected-mgmt-frames mandatory
 radius vlan-assignment
 time-based-access days weekdays start 10:00 end 16:30
 wing-extensions wmm-load-information
 client-load-balancing probe-req-intvl 5ghz 5
 client-load-balancing band-discovery-intvl 2
 use aaa-policy test
 use association-acl-policy test
 acl exceed-rate wireless-client-denied-traffic 20 disassociate
 proxy-arp-mode strict
 broadcast-dhcp validate-offer
 shutdown on-unadoption
 http-analyze controller
nx9500-6C8809(config-wlan-test)#

Related Commands

no (wlan-config-mode) Removes a WLAN‘s default VLAN mapping