How to remove vlan and subinterface

Unanswered Question
Aug 29th, 2007
User Badges:

Der all,

i have cisco 7613 router

i want to remove following config from configuration

interface Vlan2

no ip address


interface Vlan200

no ip address


sh int description

Interface Status Protocol Description

Vl1 admin down down

Vl2 down down

Vl200 down down

Gi1/0/0 down down

Gi1/0/1 up up

Gi1/0/1.200 deleted down

Gi1/0/1.300 deleted down

Pl. guide

is there any method to remove all config by single command


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.7 (3 ratings)
nambi_gct Wed, 08/29/2007 - 23:34
User Badges:
  • Bronze, 100 points or more

You can use "no interface range vlan 12 , vlan 200".You can also consider "configure replace" command in some situations.BUT PLEASE MAKE SURE THAT YOU TRY OUT THESE COMMANDS IN LAB ENVIRONMENT BEFORE USING THEM IN PRODUCTION NETWORK.

mohammedmahmoud Thu, 08/30/2007 - 02:02
User Badges:
  • Green, 3000 points or more


In addition, to completely remove the interfaces shown as deleted you'll have to reload the router.


Mohammed Mahmoud.

mahesh-gohil Thu, 08/30/2007 - 02:35
User Badges:


and pl. tell me how to set router to its default config.

means whatever config change I have done in lab setup ..i want to come back to its default startup config


Anand Narayana Thu, 08/30/2007 - 02:43
User Badges:
  • Silver, 250 points or more

if you wanted to make your router to factory default settings, then type "erase startup-config" this will erase all the configurations on the router & brings you to the factory default settings.

mahesh-gohil Thu, 08/30/2007 - 02:44
User Badges:

when i am trying this command on 3750 switch it show

#no interface range vlan 100

% "No" version of this command not supported for range 1.

% Command will not be applied to any of the ranges.

how can I remove vlan from this switch



mohammedmahmoud Thu, 08/30/2007 - 02:53
User Badges:
  • Green, 3000 points or more


Use no interface vlan 100, and also remove the VLAN itself if not needed either via the vlan database or global configuration mode, and to completely reset the switch to the default setting, if the switch was a VTP server or client then you'll also have to delete the vlan.dat file from the flash.


Mohammed Mahmoud.


This Discussion