OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

switchport access vlan

Assigns access VLAN membership to a port in L2 access or trunk mode.

Syntax
switchport access vlan vlan-id
Parameters
vlan vlan-id — Enter the VLAN ID number (1 to 4093).
Default
VLAN 1
Command Mode
INTERFACE
Usage Information
This command enables L2 switching for untagged traffic and assigns a port interface to default VLAN 1. Use this command to change the assignment of the access VLAN that carries untagged traffic. You must create the VLAN before you can assign an access interface to it. The no version of this command resets access VLAN membership on a L2 access or trunk port to VLAN 1.
Example
OS10(conf-if-eth1/1/3)# switchport mode access 
                                       OS10(conf-if-eth1/1/3)# switchport access vlan 100
                                    
Supported Releases
10.2.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\