Example, Vlan, Syntax – Dell POWEREDGE M1000E User Manual

Page 746: Default configuration, Command mode, User guidelines

Advertising
background image

746

VLAN Commands

Example

console(config-if-Gi1/0/1)#switchport trunk allowed

vlan 1-1024

console(config-if-Gi1/0/1)#switchport trunk allowed

vlan except 1,2,3,5,7,11,13

vlan

Use the vlan command in VLAN Database mode to configure a VLAN. To

delete a VLAN, use the no form of this command.

Syntax

vlan

vlan-range

no vlan

vlan-range

vlan-range

— A list of valid VLAN IDs to be added. List separate, non-

consecutive VLAN IDs separated by commas (without spaces); use a

hyphen to designate a range of IDs. (Range: 2–4093)

Default Configuration

This command has no default configuration.

Command Mode

VLAN Database mode

User Guidelines

Deleting the VLAN for an access port will cause that port to become unusable

until it is assigned a VLAN that exists.

Example

The following example shows how to create (add) VLAN of IDs 22, 23, and

56.

console(config-vlan)#vlan 22,23,56

console(config-vlan)#

2CSPC4.XModular-SWUM200.book Page 746 Thursday, March 10, 2011 11:18 AM

Advertising