Operation Manual
MP Access Point Commands
MP Access Point Commands
12 – 245
Defaults
Local switching is disabled by default.
Access
Enabled.
History
Usage
Local switching allows traffic for specified VLANs to be switched by the MP, instead of
tunneling traffic back to an MX. The VLANs that perform local switching are specified in a VLAN
profile.
Local switching can be enabled on MPs connected to the MX through an intermediate Layer 2 or
Layer 3 network. Local switching is not supported for MPs that are directly connected to an MX.
If local switching is enabled on an MP, but no VLAN profile is configured, then a default VLAN
profile is used. The default VLAN profile includes a single VLAN named default that is not tagged.
Examples
The following command enables local switching for MP 7:
MX# set ap 7 local-switching mode enable
success: change accepted.
See Also
● set ap local-switching vlan-profile on page 12-245
● set vlan-profile on page 6-75
set ap local-switching vlan-profile
Applies a specified VLAN profile to an MP to use with local switching.
Syntax
set ap apnum local-switching vlan-profile profile-name
Defaults
If local switching is enabled on an MP, but no VLAN profile is configured, then a default
VLAN profile is used. The default VLAN profile includes a single VLAN named default that is not
tagged.
Access
Enabled.
History
Introduced in MSS Version 6.0.
Usage
A VLAN profile consists of a list of VLANs and tags. When a VLAN profile is applied to an
MP, traffic for the VLANs specified in the VLAN profile is locally switched by the MP instead of
tunneling the traffic back to an MX.
When applying a VLAN profile causes traffic that was tunneled to an MX to be locally switched by
MPs, or vice-versa, the sessions of clients associated with the MPs with the applied VLAN profile
are terminated, and the clients must re-associate with the MPs.
Examples
The following command specifies that MP 7 use VLAN profile locals:
MX# set ap 7 local-switching vlan-profile locals
success: change accepted.
enable Enables local switching for the MP.
disable Disables local switching for the MP.
Version 6.0 Command introduced.
Version 6.2 Added the index value range of 1 to 9999.
apnum Index value that identifies the MP on the MX. You can
specify a value from 1 to 9999.
profile-name The name of a VLAN profile configured on the MX.