How to Configure Switchport Modes on Dell Networking N Series Switch (2024)

What Modes are Available

You can configure each port on a Dell Networking N series switch running OS6 to be in one of the following switchport Layer 2 modes.

  • Access - Access ports are intended to connect end-stations to the system, especially when the end-stations are incapable of generating VLAN tags.Access ports support a single VLAN (the PVID).Packets received untagged are processed as if they are tagged with the access port PVID.Packets received that are tagged with the PVID are also processed.Packets received that are tagged with a VLAN other that the PVID are dropped.If the VLAN associated with an access port is deleted, the PVID of the access port is set to VLAN 1.VLAN 1 may not be deleted.
  • Trunk - Trunk-mode ports are intended for switch-to-switch links.Trunk ports can receive both tagged and untagged packets.Tagged packets received on a trunk port are forwarded on the VLAN contained in the tag if the trunk port is a member of the VLAN.Untagged packets received on a trunk port are forwarded on the native VLAN.Packets received on another interface belonging to the native VLAN are transmitted untagged on a trunk port.
  • General - General ports can act like access or trunk ports or a hybrid of both. When a port is in General mode, all VLAN features are configurable.When ingress filtering is on, the frame is dropped if the port is not a member of the VLAN identified by the VLAN ID in the tag.If ingress filtering is off, all tagged frames are forwarded.The port decides whether to forward or drop the frame when the port receives the frame.

Switchport Mode Behavior

Mode VLAN Membership Frames Accepted Frames Sent Ingress Filtering
Access One VLAN Untagged/Tagged Untagged Always On
Trunk All VLANs that exist in the system (default) Untagged/Tagged Tagged and Untagged Always On
General As many as wanted Tagged or Untagged Tagged or Untagged On or Off


VLAN Tagging

Dell Networking N Series switches support IEEE 802.1Q tagging. Ethernet frames on a tagged VLAN Have a 4-byte VLAN tag in the header. VLAN tagging is required when a VLAN spans multiple switches, which is why trunk ports transmit and receive only tagged frames.

Note: A stack of switches behaves as a single switch, so VLAN tagging is not required for packets traversing different stack members.


Options on How to Configure Switchport Mode Access

Configuring a Port in Access Mode

Beginning in Privileged EXEC mode, use the following commands to configure an access mode VLAN interface and, optionally, assign the interface to a VLAN. When a port is in access mode, it can only be a member of one VLAN and accepts tagged packets with the access VLAN ID or untagged packets. Untagged packets are treated as belonging to the access VLAN. Packets received with a VLAN ID other than the access VLAN ID are discarded. When you configure an interface as an access mode port, the interface is automatically made a member of VLAN 1 and removed from all other VLAN memberships. Each interface can be configured separately, or you can configure a range of interfaces with the same settings.

Command Parameters
Dell# configure
Enter configuration mode.
Dell(config)# interface gi 1/0/1
Enter a specific interface. This could be a single physical interface, a range of ports or a port channel interface.
Dell(config-if-Gi1/0/1)# switchport mode access
This sets the switchport mode to access.Dell N Series switches are in default switchport mode access out of the box.
Dell(config-if-Gi1/0/1)# switchport access vlan 100
Set the interface as a member of the specified VLAN.By default, access mode ports are members of VLAN 1.
Dell(config-if-Gi1/0/1)# end
Leave interface configuration mode and go back to Privilege EXEC mode.
Dell# show interfaces switchport gi 1/0/1
Display information about the port to verify the switchport mode configuration.

Example of show interface switchport output:

Dell# show interfaces switchport gi1/0/1Port: Gi1/0/1VLAN Membership Mode: Access ModeAccess Mode VLAN: 100General Mode PVID: 1 (default)General Mode Ingress Filtering: EnabledGeneral Mode Acceptable Frame Type: Admit AllGeneral Mode Dynamically Added VLANs:General Mode Untagged VLANs: 1General Mode Tagged VLANs: 50,100General Mode Forbidden VLANs:Trunking Mode Native VLAN: 1 (default)Trunking Mode Native VLAN Tagging: DisabledTrunking Mode VLANs Enabled: AllPrivate VLAN Host Association: nonePrivate VLAN Mapping:Private VLAN Operational Bindings:Default Priority: 0Protected: Disabled

Note: When viewing the output of the show interfaces switchport command, be aware of the actual Membership Mode. That tells you what information below is relevant and in use. If the Membership mode is "Access Mode," then the general mode and trunking mode output is not relevant.


Options on How to Configure Switchport Mode Trunk

Configuring a Port in Trunk Mode

Beginning in Privileged EXEC mode, use the following commands to configure an interface as a layer 2 trunking interface, which connects two switches. Trunk mode ports support traffic tagged with different VLAN IDs. Untagged received traffic is switched in the native VLAN. A trunk port is automatically configured as a member of all VLANs. You can remove them from membership in specific VLANs. By default, the native VLAN for a trunk port is VLAN 1.

Command Parameters
Dell# configure
Enter configuration mode.
Dell(config)# interface gi 1/0/1
Enter a specific interface.This could be a single physical interface, a range of ports or a port channel interface.
Dell(config-if-Gi1/0/1)# switchport mode trunk
Set the switchport mode to trunk.
Dell(config-if-Gi1/0/1)# switchport trunk allowed vlan all
By default trunk mode allows all VLANs.This command is helpful when you must return the trunk configuration back to default.
Dell(config-if-Gi1/0/1)# switchport trunk allowed vlan add 50,100
This adds VLANs 50 and 100 to the VLAN allowed list. Only the VLANs on the list are allowed to pass tagged frames.
Dell(config-if-Gi1/0/1)# switchport trunk allowed vlan remove 50,100
This removes the listed VLANs from the allowed list.
Dell(config-if-Gi1/0/1)# switchport trunk allowed vlan except 50,100
This allows all VLANs other than those listed.
Dell(config-if-Gi1/0/1)# switchport trunk native vlan-id 50
This sets the untagged VLAN for the trunk port. Untagged packets received on this interface are switched in the native VLAN. Transmitted packets in this VLAN are sent untagged.
Dell(config-if-Gi1/0/1)# no switchport mode
This defaults to the switchport mode (default is access mode).Removing trunk mode.
Dell(config-if-Gi1/0/1)# end
Leave interface configuration mode and go back to Privilege EXEC mode.
Dell# show interfaces switchport gi 1/0/1
Display information about the port to verify the switchport mode configuration.

Example of show interface switchport output:

Dell# show interfaces switchport gi1/0/1Port: Gi1/0/1VLAN Membership Mode: Trunk ModeAccess Mode VLAN: 1 (default)General Mode PVID: 1 (default)General Mode Ingress Filtering: EnabledGeneral Mode Acceptable Frame Type: Admit AllGeneral Mode Dynamically Added VLANs:General Mode Untagged VLANs: 1General Mode Tagged VLANs: 50,100General Mode Forbidden VLANs:Trunking Mode Native VLAN: 1 (default)Trunking Mode Native VLAN Tagging: DisabledTrunking Mode VLANs Enabled: AllPrivate VLAN Host Association: nonePrivate VLAN Mapping:Private VLAN Operational Bindings:Default Priority: 0Protected: Disabled


Options on How to Configure Switchport Mode General

Configuring a Port in General Mode

Beginning in Privileged EXEC mode, use the following commands to configure an interface with full 802.1q support and configure the VLAN membership information for the interface.Except when noted as required (for example, when configuring MAB, Voice VLAN, or 802.1x), it is recommended that operators use either trunk or access mode.

Command Parameters
Dell# configure
Enter configuration mode.
Dell(config)# interface gi 1/0/1
Enter a specific interface.This could be a single physical interface, a range of ports or a port channel interface.
Dell(config-if-Gi1/0/1)# switchport mode general
Set the switchport mode to general.
Dell(config-if-Gi1/0/1)# switchport general allowed vlan add 50,100 tagged
This sets the port to transmit tagged packets for the VLANs listed.If the command is used without specifying tagged or untagged, the default is untagged.Separate nonconsecutive VLAN IDs with a comma and no spaces.Use a hyphen to designate a range of IDs.(Range: 1-4093)
Dell(config-if-Gi1/0/1)# switchport general allowed vlan remove 50
This sets the list of VLAN IDs to remove.
Dell(config-if-Gi1/0/1)# switchport general pvid 50
(Optional) Set the port VLAN ID.Untagged traffic that enters the switch through this port is tagged with the PVID.The PVID assignment must be to an existing VLAN.
Dell(config-if-Gi1/0/1)# switchport general allowed vlan add 50 untagged
This sets the port to pass untagged packets for the specified VLAN. This must match the VLAN set as the PVID.
Dell(config-if-Gi1/0/1)# switchport general acceptable-frame-type tagged-only
(Optional) Specifies that the port only accepts tagged frames.Untagged frames are dropped at ingress.
Dell(config-if-Gi1/0/1)# switchport general ingress-filtering disable
(Optional) Turn off ingress filtering so that all received tagged frames are forwarded whether or not the port is a member of the VLAN in the tag.
Dell(config-if-Gi1/0/1)# no switchport mode
This defaults to the switchport mode (default is access mode). Removing general mode.
Dell(config-if-Gi1/0/1)# end
Leave interface configuration mode and go back to Privilege EXEC mode.
Dell# show interfaces switchport gi 1/0/1
Display information about the port to verify the switchport mode configuration.


Example of show interfaces switchport command:

Dell# show interfaces switchport gi 1/0/1Port: Gi1/0/1VLAN Membership Mode: General ModeAccess Mode VLAN: 1 (default)General Mode PVID: 50General Mode Ingress Filtering: EnabledGeneral Mode Acceptable Frame Type: Admit AllGeneral Mode Dynamically Added VLANs:General Mode Untagged VLANs: 50General Mode Tagged VLANs: 50,100General Mode Forbidden VLANs:Trunking Mode Native VLAN: 1 (default)Trunking Mode Native VLAN Tagging: DisabledTrunking Mode VLANs Enabled: AllPrivate VLAN Host Association: nonePrivate VLAN Mapping:Private VLAN Operational Bindings:Default Priority: 0Protected: Disabled

PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3100 Series, Dell EMC Networking N3200-ON, PowerSwitch N4000 Series

How to Configure Switchport Modes on Dell Networking N Series Switch (2024)
Top Articles
How to download using mobile data instead of Wi-Fi
How to Buy xAI Stock Pre-IPO | The Motley Fool
What Is Single Sign-on (SSO)? Meaning and How It Works? | Fortinet
Where To Go After Howling Pit Code Vein
Radikale Landküche am Landgut Schönwalde
Sprinter Tyrone's Unblocked Games
Davita Internet
Yogabella Babysitter
How To Be A Reseller: Heather Hooks Is Hooked On Pickin’ - Seeking Connection: Life Is Like A Crossword Puzzle
DENVER Überwachungskamera IOC-221, IP, WLAN, außen | 580950
Craigslist Cars And Trucks Buffalo Ny
Gw2 Legendary Amulet
Nwi Police Blotter
13 The Musical Common Sense Media
Zoebaby222
Helloid Worthington Login
More Apt To Complain Crossword
Los Angeles Craigs List
Craigslist Mpls Cars And Trucks
Les Schwab Product Code Lookup
2016 Ford Fusion Belt Diagram
Wilmot Science Training Program for Deaf High School Students Expands Across the U.S.
SXSW Film & TV Alumni Releases – July & August 2024
Boscov's Bus Trips
Air Quality Index Endicott Ny
Craigslist Wilkes Barre Pa Pets
Parkeren Emmen | Reserveren vanaf €9,25 per dag | Q-Park
What Equals 16
Mjc Financial Aid Phone Number
Miller Plonka Obituaries
Halsted Bus Tracker
Fox And Friends Mega Morning Deals July 2022
Goodwill Houston Select Stores Photos
Shih Tzu dogs for sale in Ireland
Stafford Rotoworld
Craigslist Lakeside Az
Busted Newspaper Campbell County KY Arrests
Samantha Lyne Wikipedia
2007 Jaguar XK Low Miles for sale - Palm Desert, CA - craigslist
The Conners Season 5 Wiki
Achieving and Maintaining 10% Body Fat
Promo Code Blackout Bingo 2023
John M. Oakey & Son Funeral Home And Crematory Obituaries
Frequently Asked Questions
Samsung 9C8
Cvs Minute Clinic Women's Services
Hampton Inn Corbin Ky Bed Bugs
What Is The Gcf Of 44J5K4 And 121J2K6
Turning Obsidian into My Perfect Writing App – The Sweet Setup
Southern Blotting: Principle, Steps, Applications | Microbe Online
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 6234

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.