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

How to use General Switchport Mode on Dell Networking PowerConnect Switches

Summary: How to use general switchport mode on Dell PowerConnect switch, Dell PowerConnect how to user general mode

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

This article explains what General Switchport Mode is and how it is implemented on Dell Networking PowerConnect Switches.


Objectives

  1. Overview
  2. Available Commands
  3. Example of Commands in Use
  4. Web GUI steps for configuration

     

 Overview

  • General switchport mode consists of a combination of VLAN Trunk and Access Links.
  • General Links can have both tagged and untagged frames.
  • All frames sent to a specific VLAN must be tagged.  All untagged frames are sent to the native VLAN.
  • The native VLAN still applies to the General switchport mode. While it is possible to have multiple untagged VLANs on a General link, you can only have one (1) Port VLAN ID (PVID).  The PVID represents the native VLAN.
  • While untagged traffic may be sent via several untagged VLANs, returning untagged traffic will only be received by the PVID and therefore will NOT be forwarded to a specific VLAN.

     
HOW10261_en_US__1icon Note: The PowerConnect 62xx series switches must use General mode if you want to allow management traffic onto the switch over the PVID. If you use Trunk mode, you will not have the default VLAN on those ports. The ports will only allow tagged traffic.
 

 Available Commands
 

Command

Description

switchport mode general

Sets the port type to an 802.1Q VLAN.  An 802.1Q VLAN port will allow multiple tagged VLANs.

switchport general allowed vlan add 101, 102, 310 tagged

Sets the port to allow only tagged traffic in VLANs 101, 102, 310.  Traffic with tags other than 101, 102, 310 will be dropped.

switchport general allowed vlan add 200

Sets the port to allow VLAN 200 traffic out the port as untagged.  Any untagged traffic coming into the port would be pushed to the native PVID set on the port.

switchport general pvid 1

Sets the port to put any untagged packets entering the port into VLAN 1.

switchport general allowed vlan remove 1

Used to remove the port membership from VLAN "1".  By default all the port on the switch are members of VLAN "1".

switchport general pvid 4095

Sets the port to put any untagged packets entering the port into VLAN 4095 (4095 is the discard VLAN.  Setting the PVID to 4095 means that untagged packets are not allowed on this port).

switchport general acceptable-frame-type tagged-only

Discards untagged frames at ingress.

 
 

Examples of the Commands in use


console# configure

console(config)# interface ethernet e11

console(config-if)# switchport mode general

console(config-if)# switchport general allowed vlan add 100 tagged

console(config-if)# switchport general allowed vlan add 200 untagged

console(config-if-1/g1)#switchport general pvid 1

console(config-if)# end

 

HOW10261_en_US__1icon Note: If you insert the command "console(config-if)# switchport general allowed vlan add 200" without specifically stating tagged or untagged the default value is untagged. This is a common mistake when configuring and will not allow traffic to flow properly.
 

Web GUI Steps for Configuration

 

HOW10261_en_US__3Webpage General mode
Figure 1: VLAN Port Settings page

 


The VLAN Port Settings page contains the following fields:

  • Ports - Specifies the Unit and Port included in the VLAN.

  • Port VLAN Mode - Indicates the port mode. Possible values are:

    - General - The port belongs to VLANs, and each VLAN is user-defined as tagged or untagged (full 802.1Q mode).

    - Access - The port belongs to a single untagged VLAN. When a port is in Access mode, the packet types which are accepted on the port (packet type) cannot be designated. It is also not possible to enable/disable ingress filtering on an access port.

    - Trunk - The port belongs to more than one VLAN, and all ports are tagged (except for an optional single native VLAN).

  • PVID (1-4093) | 4095 - Assigns a VLAN ID to untagged packets. Possible values are 1-4093 or 4095.

  • Frame Type - Specifies frame type accepted on the port. Default is Admit All. Possible values are:

    - Admit Tag Only - Indicates that only tagged frames are accepted on the port.

    - Admit All - Indicates that both tagged and untagged frames are accepted on the port.

  • Ingress Filtering - Enables or disables Ingress filtering on the port. Ingress filtering discards frames where the VLAN tag does not match the port VLAN membership.


 

Assigning Port Settings thru the GUI Web page

  1. Open the VLAN Port Settings page.

  2. Select the port to which you want to assign settings from the Unit and Port drop menus.

  3. Complete the remaining fields on the page.

  4. Click Apply Changes.

  5. Now the VLAN port settings are defined, and the device is updated.
     

HOW10261_en_US__1icon Note: Applying the configuration does not save the running configuration to the startup configuration. You must save the configuration to the startup configuration.

Article Properties


Affected Product

Networking, PowerSwitch N3000 Series, PowerConnect 3524, PowerConnect 3524P, PowerConnect 5524, PowerConnect 5524P, PowerConnect 5548, PowerConnect 5548p, PowerConnect 6224, PowerConnect 6224F, PowerConnect 6224P, PowerConnect 6248Networking, PowerSwitch N3000 Series, PowerConnect 3524, PowerConnect 3524P, PowerConnect 5524, PowerConnect 5524P, PowerConnect 5548, PowerConnect 5548p, PowerConnect 6224, PowerConnect 6224F, PowerConnect 6224P, PowerConnect 6248, PowerConnect 6248P, PowerConnect 7024, PowerConnect 7024F, PowerConnect 7024P, PowerConnect 7048, PowerConnect 7048P, PowerConnect 7048R, PowerConnect 8024, PowerConnect 8024F, PowerConnect 8100 Series, PowerConnect M6220, PowerConnect M6348, PowerConnect M8024, PowerConnect M8024-KSee more

Last Published Date

27 Sep 2021

Version

3

Article Type

How To