Switchport Access Vlan - Planet WGSD-1022 User Manual

8-port 10/100mbps + 2 gigabit tp/sfp combo managed ethernet switch
Hide thumbs Also See for WGSD-1022:
Table of Contents

Advertisement

Default Configuration
All ports are in access mode, and belong to the default VLAN (whose VID=1).
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example configures e8 as an untagged layer 2 VLAN interface.
Console (config)# interface ethernet e8
Console (config-if)# switchport mode access

5.27.8 switchport access vlan

The switchport access vlan interface configuration command configures 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 — VLAN ID of the VLAN to which the port is configured.
Default Configuration
VLAN ID=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 interface number e8.
Console (config)# interface ethernet e8

Advertisement

Table of Contents
loading

Table of Contents