Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Defining VLAN Port Assignments
Configuring VLANs
page 4-8
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Defining VLAN Port Assignments
Alcatel-Lucent switches support static and dynamic assignment of physical switch ports to a VLAN. 
Regardless of how a port is assigned to a VLAN, once the assignment occurs, a VLAN port association 
(VPA) is created and tracked by VLAN management software on each switch. To view current VLAN 
port assignments in the switch configuration, use the 
Methods for statically assigning ports to VLANs include the following:
• Using the 
 command to define a new configured default VLAN for both non-mobile 
(fixed) and mobile ports. (See 
.)
• 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 
• Configuring ports as members of a link aggregate that is assigned to a configured default VLAN. (See 
 for more information.)
Dynamic assignment applies only to mobile ports. When traffic is received on a mobile port, the packets 
are classified using one of the following methods to automatically determine VLAN assignment (see 
 for more information):
• Packet is tagged with a VLAN ID that matches the ID of another VLAN that has mobile tagging 
enabled. (See 
.)
• Packet contents matches criteria defined in a VLAN rule. (See 
Changing the Default VLAN Assignment for a Port
To assign a switch port to a new default VLAN, enter vlan followed by an existing VLAN ID number, 
port default, then the slot/port designation. For example, the following command assigns port 5 on slot 2 
to VLAN 955:
-> vlan 955 port default 2/5
All ports initially belong to default VLAN 1. When the 
 command is used, the port’s 
default VLAN assignment is changed to the specified VLAN. In the above example, VLAN 955 is now 
the default VLAN for port 5 on slot 2 and this port is no longer associated with VLAN 1. 
The vlan port default command is also used to change the default VLAN assignment for an aggregate of 
ports. The link aggregate control number is specified instead of a slot and port. For example, the follow-
ing command assigns link aggregate 10 to VLAN 755:
-> vlan 755 port default 10
For more information about configuring an aggregate of ports, see 
 and 
Use the no form of the vlan port default command to remove a default VPA. When this is done, VLAN 1 
is restored as the port’s default VLAN.
-> vlan 955 no port default 2/5