cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
309
Views
0
Helpful
4
Replies

Removal of Vlan

newnetman
Level 1
Level 1

Hello All,

Why is that when i remove a Vlan, the interface associated it is not return to the list of default Vlan interfaces?.

Hence whenever a new Vlan is created the formerly removed interface is automatically assigned to the newly created Vlan.

How can i return the removed Vlan's interface number to the list of the default interfaces where a new choice ould be made?

Thanking all in advance

4 Replies 4

nambi_gct
Level 1
Level 1

can you please provide the relevent show output and the cofiguration.

Jagdeep Gambhir
Level 10
Level 10

It seems to be they way IOS works. Here is what I get, the interface was assigned back to vlan 30 and not to vlan 34

AAASWITCH(config)#vlan 30

AAASWITCH(config-vlan)#exit

AAASWITCH(config)#do show vlan

VLAN Name Status Ports

1 default active

Fa0/29, Fa0/30, Fa0/31, Fa0/32

Fa0/33, Fa0/34, Fa0/36, Fa0/37

2 VLAN0002 active

30 VLAN0030 active Fa0/35

34 VLAN0034 active

35 VLAN35 active

37 VLAN0037 active

AAASWITCH(config)#no vlan 30

AAASWITCH(config)#do show vlan

VLAN Name Status Ports

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Fa0/25, Fa0/26, Fa0/27, Fa0/28

Fa0/29, Fa0/30, Fa0/31, Fa0/32

Fa0/33, Fa0/34, Fa0/36, Fa0/37

2 VLAN0002 active

34 VLAN0034 active

35 VLAN35 active

37 VLAN0037 active

AAASWITCH(config)#vlan 34

AAASWITCH(config-vlan)#exit

AAASWITCH(config)#do show vlan

VLAN Name Status Ports

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Fa0/25, Fa0/26, Fa0/27, Fa0/28

Fa0/29, Fa0/30, Fa0/31, Fa0/32

Fa0/33, Fa0/34, Fa0/36, Fa0/37

2 VLAN0002 active

34 VLAN0034 active

35 VLAN35 active

37 VLAN0037 active

AAASWITCH(config)#vlan 30

AAASWITCH(config-vlan)#exit

AAASWITCH(config)#do show vlan

VLAN Name Status Ports

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Fa0/25, Fa0/26, Fa0/27, Fa0/28

Fa0/29, Fa0/30, Fa0/31, Fa0/32

Fa0/33, Fa0/34, Fa0/36, Fa0/37

30 VLAN0030 active Fa0/35

Ideally it should go back to default vlan.

Regards,

~JG

As long as you have "switchport access vlan x" configured for the interface, the interface will be associated with vlan x, even if vlan x is not created.When you remove this command the port becomes part of vlan1.Hope this clarifies.

Maybe it depends on the switch's IOS version because I always thought that the switchport will default to vlan 1 if the vlan to which it belonged was ever removed....?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: