VLAN Management Commands
page 22-8 OmniSwitch 6250 CLI Reference Guide November 2009
vlan port default
Configures a new default VLAN for a single port or an aggregate of ports. The VLAN specified with this
command is referred to as the configured default VLAN for the port.
vlan vid port default {slot/port | link_agg}
vlan vid no port default {slot/port | link_agg}
Syntax Definitions
vid An existing VLAN ID number (1–4094) of the VLAN to assign as the
port’s configured default VLAN.
slot/port The slot number for the module and the physical port number on that
module (e.g. 3/1 specifies port 1 on slot 3). To enter multiple slots and
ports in a single command, use a hyphen to specify a range of ports (e.g.
3/1-16) and a space to specify multiple slots (e.g. 3/1-16 5/10-20 8/2-9).
link_agg The link aggregate ID number (0–31) to assign to the specified VLAN.
See Chapter 12, “Link Aggregation Commands.”
Defaults
VLAN 1 is the default VLAN for all ports.
Platforms Supported
OmniSwitch 6250
Usage Guidelines
• Use the no form of this command to remove a port or link aggregate from its configured default VLAN
and restore VLAN 1 as the default VLAN.
• Every switch port or link aggregate has only one configured default VLAN. Mobile and 802.1Q tagged
ports, however, may have additional VLAN assignments, which are often referred to as secondary
VLANs.
• Mobile ports that are assigned to a default VLAN other than VLAN 1 are still eligible for dynamic
assignment to other VLANs.
Examples
-> vlan 10 port default 3/1
-> vlan 20 port default 4/1-24
-> vlan 30 port default 5/1-8 6/12-24
-> vlan 200 port default 29
-> vlan 10 no port default 3/1
-> vlan 20 no port default 4/1-24
-> vlan 30 no port default 5/1-8 6/12-24
-> vlan 200 no port default 29