cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
316
Views
0
Helpful
5
Replies

clear the following config from configuration

trickylalit
Level 1
Level 1

for testing , I had Ip routing enabled and had vlans with ip assigned to interfaces.

I have removed the vlan but this configuration still is there. 

interface Vlan2
no ip address
no ip route-cache
!
interface Vlan3
no ip address
no ip route-cache

Thank you.

5 Replies 5

mikeleebrla
Level 1
Level 1

how did you remove the VLAN?

Did you run the following commands from config mode?

no interface Vlan2
no interface Vlan3

that should remove the SVIs (Switchport Virtual Interface)

Hello All,

I will give it a try today and report. I have equipment moved so as soon as I get to equipment, will try suggestions.

Thanks

Reza Sharifi
Hall of Fame
Hall of Fame

What command did you use to remove the vlans?

Make sure to save the config after deleting the vlans.

If this does not help, post "sh ver"

HTH

Joseph W. Doherty
Hall of Fame
Hall of Fame

It might be, if you added a SVI, but the VLAN didn't already exist, the VLAN might have been auto defined.  However, if you remove the VLAN, it also might be the SVI is not auto removed.

Have you tried what Mike posted?

sarathpa
Level 1
Level 1

Hi,

It is expected behaviour, when you remove the VLAN from L2 database with "No Vlan xx" command and you have SVI interface for the same VLAN will remain in running config. You need to remove manually using below command. Also you can see the output which i took from my device.

# no interface vlan <no>

Router#show  run int vlan 300

Building configuration...

Current configuration : 56 bytes

!

interface Vlan300

ip address 10.1.1.1 255.0.0.0

end

Router#show  vlan id 300     

VLAN id 300 not found in current VLAN database

Review Cisco Networking products for a $25 gift card