disable vlan 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 05:09 AM - edited 03-04-2019 05:34 PM
Hi friends. İ have one question about that how i can disable vlan 1 ?
Sent from Cisco Technical Support iPhone App
- Labels:
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 05:19 AM
HI Sahar,
use this:
switch#conf t
switch(config)# no vlan xx
switch#conf t
switch(config)# no int vlan xx
reagrds
Please rate if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 05:39 AM
Sahar
You cannot realy disable vlan 1 because it is the default vlan and even if you don't use it the switch still does. The steps you need to take to stop using vlan 1 -
1) remove the int vlan as per Sandeep's instructions
2) assign all ports into different vlans
3) change the native vlan on your switch to a vlan other than vlan 1. The native vlan should be a vlan that you do not assign any ports and it does not have a L3 SVI ie. int vlan xx
4) you can also clear vlan 1 off your trunk links but as i mentioned earlier the switch itself will still use vlan 1 to send it's own control protocols.
Be aware that all ports are in vlan 1 by default so you must do 2) to make sure vlan 1 is not being used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 05:43 AM
Hello everybody,
In addition to the suggestions made by Jon and Sandeep, the interface Vlan1 can be shutdown but it cannot be removed. So the command no interface vlan1 will merely result in the switch saying:
% Default interface VLAN 1 may not be deleted.
Best regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 05:48 AM
@ peter Paluch: you are right ,
I just menstion for vlan xx.
we can not delete vlan 1,1002-1005.
we can just assgin the ports to other vlan to disable from vlan 1.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 05:52 AM
Peter is in my experience pretty much always right
Peter, thanks for pointing that out. This is the sort of thing i used to know !!!
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 07:42 AM
İn this command no int vlan xx int refer to interface? Or int is another thing?
Sent from Cisco Technical Support iPhone App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 07:44 AM
HI Sahar,
Int refer to Interface.
But ..keep in mind that u can not delte Vlan1(Nativ). and 1002-1005 these are all default vlan.
Other vlan u can delete.
Reagrds
please rate if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 07:49 AM
İ do this interface range fastethernet 0/1 -2 , gigabitethernet 0/1 -2
Switchport access vlan 2
Switchport trunk native vlan 2
İs it correct?
Sent from Cisco Technical Support iPhone App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 07:52 AM
Hi Sahar,
These commands is correct:
BUt i dont know much furthere intention.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 07:51 AM
You said in step 1 remove int vlan but i cannot remove int vlan 1 ;((
Sent from Cisco Technical Support iPhone App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 07:53 AM
You cannot remove Vlan 1, 1002,1003,1004,1005.
Other then these....u can delete.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2012 09:00 AM
Hi,
"İ do this interface range fastethernet 0/1 -2 , gigabitethernet 0/1 -2
Switchport access vlan 2
Switchport trunk native vlan 2"
You do not need a native vlan if you have your switchport set as an Access port. Native vlans are needed for Trunk ports.
Interface Gig0/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 2
You also need to make sure that the native vlan is the same on both ends of the trunk.
As for interface Vlan 1, Peter is correct. You cannot delete interface Vlan1, only shut it down.
interface Vlan1
shutdown
Hope this helps
