Native vlan 1 change ID

Native vlan 1 change ID

Native vlan 1 change ID
Native vlan 1 change ID
a week ago - last edited a week ago
Model: TL-SG2428P  
Hardware Version:
Firmware Version:

Hi, I created a vlan ID 2 and I have to make the change with vlan 1. Then I have to disable the vlan 1.Which command line (CLI) should I set? Thanks for the help

  0      
  0      
#1
Options
1 Accepted Solution
Re:Native vlan 1 change ID-Solution
a week ago - last edited a week ago

Hi @Sissilo 

Thanks for posting in our business forum.

See the User Guide:

https://static.tp-link.com/upload/manual/2024/202403/20240305/1910013605_Managed%20Switch_CLI.pdf

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#2
Options
13 Reply
Re:Native vlan 1 change ID-Solution
a week ago - last edited a week ago

Hi @Sissilo 

Thanks for posting in our business forum.

See the User Guide:

https://static.tp-link.com/upload/manual/2024/202403/20240305/1910013605_Managed%20Switch_CLI.pdf

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#2
Options
Re:Native vlan 1 change ID
a week ago

  @Sissilo In the guide you indicated to me I find nothing that can help me. The switch is connected to a router that has VLAN port 2 in trunk mode. I have port 24 of the tp link switch configured in vlan 2 trunk Now configure as native or primary or default..... vlan2 and disable vlan 1    Please help me. Show the command line.....

  0  
  0  
#3
Options
Re:Native vlan 1 change ID
a week ago

  @Sissilo 

i'm not quite sure what you're trying but to disable vlan1 it's this command

 

no switchport general allowed vlan 1
 

 

  0  
  0  
#4
Options
Re:Native vlan 1 change ID
a week ago

  @Sissilo Ok now I'll give it a try and let you know

  0  
  0  
#5
Options
Re:Native vlan 1 change ID
a week ago

  @Sissilo Unfortunately, it doesn't work. Error: 'no' is not applicable

  0  
  0  
#6
Options
Re:Native vlan 1 change ID
a week ago - last edited a week ago

  @Sissilo 

 

then I don't know, dokumentation say this, I use the switch in controler mode but I think the comand is the same

 

 

 

  1  
  1  
#7
Options
Re:Native vlan 1 change ID
a week ago

  @Sissilo 

 

 

Sorry but I need to see all the complete commands.... Is this how I should write?

 

 

SG3428MP(config)#switchport general allowed vlan 1 1-24 untagged

 

 

SG3428MP(config)# no switchport general allowed vlan 1

 

Thank you very much

  0  
  0  
#8
Options
Re:Native vlan 1 change ID
a week ago

  @Sissilo 

 

this is one of my switch port config, vlan 300 is untagged

 

interface gigabitEthernet 1/0/1
description "cam"
switchport general allowed vlan 300 untagged
switchport pvid 300
no switchport general allowed vlan 1
dot1x mabFmt captal-with-bar
dot1x port-control authorized-force
dot1x port-method port-based
 

 

 

  0  
  0  
#9
Options
Re:Native vlan 1 change ID
a week ago

  @Sissilo 

 

 

 

 

So for my switch could I do this?

 

interface gigabitEthernet 1/0/1-24
description "none"
switchport general allowed vlan 2 untagged
switchport pvid 2
no switchport general allowed vlan 1

  0  
  0  
#10
Options
Re:Native vlan 1 change ID
a week ago - last edited a week ago

  @Sissilo 

 

yes if you want vlan2 untagged on all 24 ports, yes. but I don't quite understand what you're going to do, why change all 24 ports to vlan2, do you trunk on the sfp ports? how are your trunk ports?

 

and mybee you should use interface range like this to configure multiple port

 

interface range gigabitEthernet 1/0/1-24

 

 

 

  1  
  1  
#11
Options