Switchport Access Vlan - Planet Networking & Communication WSGW-24020 User Manual

24/48-port 10/100/1000mbps with 2/4 shared sfp managed ethernet switch
Table of Contents

Advertisement

Syntax
switchport mode {access | trunk | general}
no switchport mode
access — Port belongs to a single, untagged VLAN.
trunk — Port belongs to 1..4063 VLANs, all tagged (except, optionally, for a single native VLAN).
general — Port belongs to 1..4063 VLANs, and each VLAN is explicitly set by the user as tagged or untagged (full
802.1Q mode).
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's Manual of WGSW-24020/WGSW-48040
-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wsgw-48040

Table of Contents