126 CHAPTER 5: VLAN COMMANDS

set vlan

tunnel-affinity

Changes a wireless LAN switch’s preferability within a mobility domain for
tunneling user traffic for a VLAN. When a user roams to a WX switch that
is not a member of the user’s VLAN, the WX can forward the user traffic
by tunneling to another WX switch that is a member of the VLAN.
Syntaxset vlan vlan-id tunnel-affinity num
vlan-id — VLAN name or number.
num — Preference of this switch for forwarding user traffic for the
VLAN. You can specify a value from 1 through 10. A higher number
indicates a greater preference.
Defaults — Each VLAN on a WX switch’s network ports has an affinity
value of 5 by default.
Access — Enabled.
History —Introduced in MSS Version 3.0.
Usage — Increasing a WX switch’s affinity value increases the WX’s
preferability for forwarding user traffic for the VLAN.
If more than one WX switch has the highest affinity value, MSS randomly
selects one of the WX switches for the tunnel.
Examples — The following command changes the VLAN affinity for
VLAN beige to 10:
WX4400# set vlan beige tunnel-affinity 10
success: change accepted.
See Also
display roaming vlan on page 115
display vlan config on page 118