Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

127545

January 29th, 2013 02:00

5324 disable vlan 1

Hi,

I would like disable vlan 1. I read in cli manual about  command default-vlan disable. But in my 5324 is not that option.

I updated to the newest firmware but still do not have that command. Does this device recognize this command?

sw3g.sh(config-vlan)#
  do                   execute an EXEC-level command
  end                  Exit from configure mode
  exit                 Exit from current context
  map                  Map protocol to group ID
  no                   Negate command
  vlan                 Create a new VLAN
sw3g.sh(config-vlan)# do show ver
SW version    2.0.1.4 ( date  01-Aug-2010 time  17:00:12 )
Boot version    1.0.2.02 ( date  23-Jul-2006 time  16:45:47 )
HW version    00.00.02
sw3g.sh(config-vlan)#


Thank you in advance

5 Practitioner

 • 

274.2K Posts

January 29th, 2013 10:00

It is not that you are removing  VLAN1 from the Trunk, or deleting it, but rather not including it in the Trunk.

If you do something similar to this.

console(config-if)# switchport mode trunk

console(config-if)# switchport trunk native vlan 3

console(config-if)# switchport trunk allowed vlan add 2

Then when you do #show vlan, it should display that VLAN1 has no ports in it.

5 Practitioner

 • 

274.2K Posts

January 29th, 2013 07:00

The command is run from within the vlan database configuration, not from global configuration.

Console# vlan database

Console(config-vlan)# default-vlan disable

Please try the above commands and see what the outcome is.

Thanks.

4 Posts

January 29th, 2013 07:00

I tried it but the response was unrecognized command. When I'm trying to show all possibe commands inside vlan database, there is no such option.

sw3g.sh# configure

sw3g.sh(config)# vlan database

sw3g.sh(config-vlan)# default-vlan disable

% Unrecognized command

sw3g.sh(config-vlan)#

Thanks for helping

5 Practitioner

 • 

274.2K Posts

January 29th, 2013 08:00

I connected to a 5324 we have here and confirmed that the command is not present on it either. Looked at the release notes on the firmware, and it appears the command was removed. So we cannot disable or delete VLAN 1, but we can isolate VLAN1 by removing it's IP address, and placing all ports into a different VLAN we have created.

4 Posts

January 29th, 2013 09:00

I tried this with no success

sw3g.sh(config-if)# switchport trunk allowed vlan remove 1

VLAN 1: VLAN was not created by user.

sw3g.sh(config-if)#

So if I understand it right there is no way to remove vlan 1 from trunk port?

4 Posts

January 30th, 2013 03:00

I see this could help. I can create different vlan for every trunk port. It is not the easy way but it will work.

Thanks

5 Practitioner

 • 

274.2K Posts

January 30th, 2013 05:00

You don’t need to create a new VLAN for each Trunk port, just one VLAN that all Trunk ports can use as the native VLAN.

No Events found!

Top