Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

switchport mode

Places an interface in L2 Access or Trunk mode.

Syntax
switchport mode {access | trunk}
Parameters
  • access — Enables L2 switching of untagged frames on a single VLAN.
  • trunk — Enables L2 switching of untagged frames on the access VLAN, and of tagged frames on the VLANs specified with the switchport trunk allowed vlan command.
Default
access
Command Mode
INTERFACE
Usage Information
  • If you assign an IP address to an interface, you cannot use this command to enable L2 switching — you must first remove the IP address.
  • The access parameter automatically adds an interface to default VLAN1 to transmit untagged traffic. Use the switchport access vlan command to change the access VLAN assignment.
  • The trunk parameter configures an interface to transmit tagged VLAN traffic. You must manually configure VLAN membership for a trunk port with the switchport trunk allowed vlan command.
  • Use the no switchport command to remove all L2 configurations when you configure an L3 mode interface.
  • Use the no switchport mode command to restore a trunk port on an interface to L2 Access mode on VLAN1.
Example
OS10(conf-if-eth1/1/7)# switchport mode access 
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: <>()\