Alcatel-Lucent 6850-48 Guida Di Rete
Statically Assigning Ports to VLANs
Assigning Ports to VLANs
page 6-4
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Statically Assigning Ports to VLANs
command is used to statically assign both mobile and non-mobile ports to another
VLAN. When the assignment is made, the port drops the previous VLAN assignment. For example, the
following command assigns port 2 on slot 3, currently assigned to VLAN 1, to VLAN 755:
following command assigns port 2 on slot 3, currently assigned to VLAN 1, to VLAN 755:
-> vlan 755 port default 3/2
Port 3/2 is now assigned to VLAN 755 and no longer associated with VLAN 1. In addition, VLAN 755 is
now the new configured default VLAN for the port.
now the new configured default VLAN for the port.
A configured default VLAN is the VLAN statically assigned to a port. Any time the vlan port default
command is used, the VLAN assignment is static and a new configured default VLAN is defined for the
port. This command is also the only way to change a non-mobile port VLAN assignment. In addition, non-
mobile ports can only retain one VLAN assignment, unlike mobile ports that can dynamically associate
with multiple VLANs. See
command is used, the VLAN assignment is static and a new configured default VLAN is defined for the
port. This command is also the only way to change a non-mobile port VLAN assignment. In addition, non-
mobile ports can only retain one VLAN assignment, unlike mobile ports that can dynamically associate
with multiple VLANs. See
for more information
about mobile ports.
Additional methods for statically assigning ports to VLANs include the following:
• Using the
command to define tagged VLANs for non-mobile ports. This method allows
the switch to bridge traffic for multiple VLANs over one physical port connection. (See
for more information.)
• Configuring ports as members of a link aggregate that is assigned to a configured default VLAN. (See
for more information.)
When a port is statically assigned to a VLAN, a VLAN port association (VPA) is created and tracked by
VLAN management software on each switch. To display a list of all VPAs, use the
VLAN management software on each switch. To display a list of all VPAs, use the
command. For more information, see
Dynamically Assigning Ports to VLANs
Mobile ports are the only types of ports that are eligible for dynamic VLAN assignment. When traffic
received on a mobile port matches pre-defined VLAN criteria, the port and the matching traffic are
assigned to the VLAN without user intervention.
received on a mobile port matches pre-defined VLAN criteria, the port and the matching traffic are
assigned to the VLAN without user intervention.
By default, all switch ports are non-mobile (fixed) ports that are statically assigned to a specific VLAN
and can only belong to one default VLAN at a time. The
and can only belong to one default VLAN at a time. The
command is used to enable
mobility on a port. Once enabled, switch software classifies mobile port traffic to determine the appropri-
ate VLAN assignment. Depending on the type of traffic classification used (VLAN rules or VLAN ID
tag), mobile ports can also associate with more than one VLAN.
ate VLAN assignment. Depending on the type of traffic classification used (VLAN rules or VLAN ID
tag), mobile ports can also associate with more than one VLAN.
VLANs do not have a mobile or non-mobile distinction and there is no overall switch setting to invoke the
mobile port feature. Instead, mobility is enabled on individual switch ports and rules are defined for indi-
vidual VLANs to classify mobile port traffic.
mobile port feature. Instead, mobility is enabled on individual switch ports and rules are defined for indi-
vidual VLANs to classify mobile port traffic.
When a port is dynamically assigned to a VLAN, a VLAN port association (VPA) is created and tracked
by VLAN management software on each switch. To display a list of all VPAs, use the
by VLAN management software on each switch. To display a list of all VPAs, use the
command. For more information, see