Defining VLAN Port Assignments

Configuring VLANs

page 4-8

OmniSwitch 6600 Family Network Configuration Guide

April 2006

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 

vlan port default

 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 

Chapter 12, “Configuring Static Link 

Aggregation,”

 and 

Chapter 13, “Configuring Dynamic Link Aggregation.”

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

Configuring Dynamic VLAN Port Assignment

Configuring the switch to allow dynamic VLAN port assignment requires the following steps:

1

Use the 

vlan port mobile

 command to enable mobility on switch ports that will participate in dynamic 

VLAN assignment. See 

Chapter 7, “Assigning Ports to VLANs,”

for detailed procedures.

2

Enable/disable mobile port properties that determine mobile port behavior. See 

Chapter 7, “Assigning 

Ports to VLANs,”

 for detailed procedures.

3

Create VLANs that will receive and forward mobile port traffic. See 

“Adding/Removing a VLAN” on 

page 4-6

 for more information.

4

Configure the method of traffic classification (VLAN rules or tagged VLAN ID) that will trigger 

dynamic assignment of mobile ports to the VLANs created in Step 3. See 

“Configuring VLAN Rule Clas-

sification” on page 4-9

 and 

“Enabling/Disabling VLAN Mobile Tag Classification” on page 4-10

.

Once the above configuration steps are completed, dynamic VLAN assignment occurs when a device 

connected to a mobile port starts to send traffic. This traffic is examined by switch software to determine 

which VLAN should carry the traffic based on the type of classification, if any, defined for a particular 

VLAN.

Note that VLAN mobile tag classification takes precedence over VLAN rule classification. If a mobile 

port receives traffic that matches a VLAN rule and also has an 802.1Q VLAN ID tag for a VLAN with 

mobile tagging enabled, the port is dynamically assigned to the mobile tag VLAN and not the matching 

rule VLAN. 

See 

Chapter 7, “Assigning Ports to VLANs,”

 and 

Chapter 8, “Defining VLAN Rules,”

 for more informa-

tion and examples of dynamic VLAN port assignment.

Page 90
Image 90
Open full-size image