switchport access vlan

Description

Set switch access mode of the interface

Syntax

switchport access vlan vlan_id

Parameters

Name Description
vlan_id VLAN ID of the VLAN when this port is in access mode