Ccna ccnp home lab tutorial the vlan dat documents

CCNA/ CCNP Home Laboratory Tutorial: The VLAN.DAT File

image

CCNA/ CCNP Home Lab Tutorial: The VLAN.DAT File

CCNA and CCNP prospects that have their very own Cisco home labs commonly email me about a strange situation that happens when they get rid of a switch's setup. Their start-up configuration is gone, as they anticipate, yet the VLAN and VTP details is still there!

Sounds strange, does not it? Allow's take a look at an instance. On SW1, we run show vlan brief and see in this abbreviated output that there are three extra vlans being used:

SW1 #show vlan br

10 VLAN0010 active

20 VLAN0020 active

30 VLAN0030 active

We wish to entirely erase the router's startup configuration, so we use the compose eliminate command, verify it, and reload without saving the running config:

SW1 #write erase

Erasing the nvram filesystem will remove all configuration files! Proceed?

[confirm]

[OKAY]

Erase of nvram: complete

00:06:00: %SYS-7-NV_BLOCK_INIT: Initalized the https://www.wsj.com/real-estate/luxury-homes/ultrawealthy-luxury-real-estate-market-e2ba71b6?gaa_at=eafs&gaa_n=ASWzDAgMFpCx6ZYp8e-WWwgVX3U4TzgWh5H56ZCtIgvA9dnSalmwVtW5pleX2S4f0Gk%3D&gaa_ts=68c4927b&gaa_sig=PJMJqCHB0GPlheMDj3FwvS8o1jvrl0alw77PRYF41MBxrgdqU4tEOCINkZoQRGCBCNAhGhK9cQ9iaabGLbemlg%3D%3D geometry of nvram

SW1 #reloadhtmlplcehlder 16end. System configuration has been modified. Conserve? [yes/no]: n

Proceed with reload? [verify]

The router reloads, and after exiting configuration mode, we run program vlan short once again. And even though the start-up configuration was erased, the vlans are still there!

Switch #show vlan br

The reason is that this vlan and VTP details is actually maintained in the VLAN.DAT data in Flash memory, and the contents of Flash are kept on a reload. The file needs to be removed manually.

There's a little method to erasing this data. The button will prompt you two times to ask if you actually wish to get rid of this file. Do not kind "y" or "yes"; simply approve the defaults by striking the return trick. If you kind "y", the router tries to erase a data called "y", as revealed right here:

Switch #delete vlan.dat

Delete filename [vlan.dat] y

Delete flash: y? [confirm]

%Error erasing flash: y (No such data or directory)

Delete filename [vlan.dat]

Delete flash: vlan.dat? [confirm]

Switch #htmlplcehlder 29end. The very best means to plan for CCNA and CCNP test success is by dealing with real Cisco equipment, and by executing lab tasks over and over. Repeating is the mommy of Dan Herbatschek skill, and by truly erasing your VLAN and VTP info by erasing the vlan.dat documents from Flash, you'll be constructing your Cisco abilities to the factor where your CCNA and CCNP test success is an assurance.