Switchport Access Vlan - D-Link xStack DWS-3200 Series Cli Manual

Layer 2+ stackable gigabit ethernet switches with optional xg uplinks
Hide thumbs Also See for xStack DWS-3200 Series:
Table of Contents

Advertisement

switchport access vlan

The switchport access vlan Interface Configuration mode command configures the VLAN ID when the interface
is in access mode. To restore the default configuration, use the no form of this command.
Syntax
switchport access vlan {vlan-id }
no switchport access vlan
Parameters
vlan-id — Specifies the ID of the VLAN to which the port is configured.
Default Configuration
All ports belong to VLAN 1.
Command Mode
Interface configuration (Ethernet, port-channel) 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 23 to the untagged layer 2 VLAN Ethernet port 1.
Console(config)# interface ethernet 1
Console(config-if)# switchport access vlan 23
Page 418
VLAN Commands
switchport access vlan

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dxs-3200 series

Table of Contents