Banking service chronicle Monthly Magazine by bsc academy-subscribe published this article page no 5 ccna and ccnp candidates who have their own cisco home labs often email me about an odd situation that occurs when they erase a switchs configuration. their startup configuration is gone, as they expect, but the vlan and vtp information is still there! sounds strange, doesnt it? lets look at an example. on sw1, we run show vlan brief and see in this abbreviated output that there are three additional vlans in use: sw1#show vlan br 10 vlan0010 active 20 vlan0020 active 30 vlan0030 active we want to totally erase the routers startup configuration, so we use the write erase command, confirm it, and reload without saving the running config: sw1#write erase erasing the nvram filesystem will remove all configuration files! continue? [confirm] [ok] erase of nvram: complete 00:06:00: %sys-7-nv_block_init: initalized the geometry of nvram sw1#reload system configuration has been modified. save? [yes/no]: n proceed with reload? [confirm] the router reloads, and after exiting setup mode, we run show vlan brief again. and even though the startup configuration was erased, the vlans are still there! switch#show vlan br 10 vlan0010 active 20 vlan0020 active 30 vlan0030 active the reason is that this vlan and vtp information is actually kept in the vlan.dat file in flash memory, and the contents of flash are kept on a reload. the file has to be deleted manually. theres a little trick to deleting this file. the switch will prompt you twice to ask if you really want to get rid of this file. dont type "y" or "yes"; just accept the defaults by hitting the return key. if you type "y", the router attempts to delete a file named "y", as shown here: switch#delete vlan.dat delete filename [vlan.dat]? y delete flash:y? [confirm] %error deleting flash:y (no such file or directory) switch#delete vlan.dat delete filename [vlan.dat]? delete flash:vlan.dat? [confirm] switch# the best way to prepare for ccna and ccnp exam success is by working on real cisco equipment, and by performing lab tasks over and over. repetition is the mother of skill, and by truly erasing your vlan and vtp information by deleting the vlan.dat file from flash, youll be building your cisco skills to the point where your ccna and ccnp exam success is a certainty banking service chronicle monthly magazine.
Subscribe to:
Post Comments (Atom)
Junior science refresher magazine
Junior science refresher magazine Junior science refresher magazine this article was published in the magazine the ultimate objective of t...
-
knowledge questions magazine knowledge questions magazine Published this article page no 05 PARSI POPULATION Recent data show that Parsi ...
-
Junior science refresher magazine Junior science refresher magazine this article was published in the magazine the ultimate objective of t...
-
Science reporter magazine subscription Oldest English language popular science reportersubscribe science reporter spurring the rural econo...
No comments:
Post a Comment