Switchport access vlan, Syntax, Default configuration – Dell POWEREDGE M1000E User Manual

Page 738: Command mode, User guidelines, Example, Switchport access, Vlan

Advertising
background image

738

VLAN Commands

The IP Subnet to VLAN association does not exist.

switchport access vlan

Use the switchport access vlan command in Interface Configuration mode to

configure the VLAN ID when the interface is in access mode. To reconfigure

the default, use the no form of this command.

Syntax

switchport access vlan

vlan-id

no switchport access vlan

vlan-id

— A valid VLAN ID of the VLAN to which the port is configured.

Default Configuration

The default value for the

vlan-id

parameter is 1.

Command Mode

Interface Configuration (gigabitethernet, port-channel, tengigabitethernet)

mode

User Guidelines

The command automatically removes the port from the previous VLAN and

adds it to the new VLAN.

Example

The following example configures a VLAN ID of interface 1/0/8 to become an

access member of VLAN ID 23.

console(config)#interface gigabitethernet 1/0/8

console(config-if-1/0/8)#switchport access vlan 23

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

Advertising