switchport mode general / trunk / access

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

switchport mode general / trunk / access

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
switchport mode general / trunk / access
switchport mode general / trunk / access
2021-11-01 12:17:19
Hardware Version:
Firmware Version:

hello guys,

 

can someone help me, I know better the old fash way to confing a switch port in access or trunk mode, but for few days I move it to a tp-link sw and I want to know what is the general mode and for what is used,

 

as an example

 

I have a AP tp-link that is connected to port 2 from the switch and a pc connected from port 7 both are config in the old way

 

interface gigabitEthernet 1/0/2
  switchport access vlan 55

 

interface gigabitEthernet 1/0/7
  switchport access vlan 55

 

and don't work, but I tried to config with the general mode but becuse I don't understed the way how general mod work I avoid to let the config with general

 

after my long text the question is :

 

For what is use generalk mode and how to config the port to can access the net "

  0      
  0      
#1
Options
2 Reply
Re:switchport mode general / trunk / access
2021-11-02 02:10:21

@b2kzone I think it is difficult to explain vlan clearly in a few words. I think this article is very valuable, you can take a look. Maybe it can answer your question.smiley

http://www.practicalnetworking.net/stand-alone/vlans/

  0  
  0  
#2
Options
Re:switchport mode general / trunk / access
2021-11-03 06:33:20

@Yannie hello, I know who vlan works and the theoretical things, where I'm confused is on the part of the  TP-LINK switch mode how they use the "switchport mode general" instead of using trunk or access

 

Let me say in this way, the part of how vlan works I know from cisco, what is for me unclear is the particular thing of the tp-link switch and this is about "general mode" as an exmaple. Let assume I need a internet connection for a user on the cisco switch I set the port in access mode and set some security features and that's it, after this I can connect to internet and the same for trunk set the mode trunk and some security features and that's it, also here I have the trunk port to transport multiple vlans.

 

When come to the idea or the way how tp-link implement the idea of a access and trunk port is different and form few tests and a lot of research with a small amount of info I don't understand why I need to use general mode to can give internet connection for a user, also here I will give you an example

 

At the first time I configured the tp-link switch port for a desktop as

 

"switchport mode access

 switchport access vlan x

"

with this confing and I the Connection didn't work after a research I read to use general mode but without an explanation so I tried with this config

 

"switchport mode general
  switchport general allowed vlan x untagged

switchport pvid x

 

or

 

switchport mode general
  switchport general allowed vlan x tagged
  switchport pvid x

"

 

this the part when I don't understand why to use and for what is used generel instead of access or trunk

  0  
  0  
#3
Options

Information

Helpful: 0

Views: 1963

Replies: 2

Related Articles