Operation Manual
VLAN Commands
Mobility System Software Command Reference Guide
Version 7.3
6 – 74
You cannot use a number as the first character in the VLAN name. It is recommended that you do
not use the same name with different capitalizations for VLANs. For example, do not configure
two separate VLANs with the names red and RED.
VLAN names are case-sensitive for RADIUS authorization when a client roams to an MX. If the
switch is not configured with the VLAN of the client, but is configured with a VLAN with the same
spelling but different capitalization, authorization for the client fails. For example, if the client is
on VLAN red but the MX to which the client roams has VLAN RED instead, RADIUS
authorization fails.
Examples
The following command assigns the name marigold to VLAN 3:
MX# set vlan 3 name marigold
success: change accepted.
See Also
set vlan port on page 6-74
set vlan port
Assigns one or more network ports to a VLAN. You also can add a virtual port to each network
port by adding a tag value to the network port.
Syntax
set vlan vlan-id port port-list [tag tag-value]
Defaults
By default, no ports are members of any VLANs. An MX cannot forward traffic on the
network until you configure VLANs and add network ports to the VLANs.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Usage
You can combine this command with the set port name command to assign the name and
add the ports at the same time.
If you do not specify a tag value, the MX sends untagged frames for the VLAN. If you do specify a
tag value, the MX sends tagged frames only for the VLAN.
If you do specify a tag value, it is recommended to use the same value as the VLAN number. MSS
does not require the VLAN number and tag value to be the same but it can be required by devices
from other vendors.
Examples
The following command assigns the name beige to VLAN 11 and adds ports 1 through 3
to the VLAN:
MX# set vlan 11 name beige port 1-3
success: change accepted.
The following command adds port 16 to VLAN beige and assigns tag value 86 to the port:
MX# set vlan beige port 16 tag 86
success: change accepted.
See Also
● clear vlan on page 6-70
● set vlan name on page 6-73
● show vlan config on page 6-81
vlan-id VLAN name or number.
port
port-list
List of physical ports.
tag
tag-value
Tag value that identifies a virtual port. You can specify a value from 1 through 4093.