CCNA and CCNP candidates who control their own Cisco back home labs often email me approaching an out of the ordinary site with the purpose of occurs what time they erase a switch's configuration. Their startup configuration is deceased, as they expect, but the VLAN and VTP in a row is still in attendance!
Sounds unknown, doesn't it? Let's look next to an illustration. On SW1, we run bare vlan inform and see to it that in this abbreviated output with the purpose of in attendance are three further vlans in employment:
SW1#show vlan br
10 VLAN0010 operating
20 VLAN0020 operating
30 VLAN0030 operating
We wish for to absolutely erase the router's startup configuration, so we employment the create erase demand, confirm it, and reload with no saving the running config:
SW1#write erase
Erasing the nvram filesystem will remove all configuration annals! 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 like exiting setup mode, we run bare vlan inform again. And even though the startup configuration was erased, the vlans are still in attendance!
Switch#show vlan br
10 VLAN0010 operating
20 VLAN0020 operating
30 VLAN0030 operating
The wisdom is with the purpose of this vlan and VTP in a row is really held in reserve in the VLAN.DAT parade in Flash recall, and the contents of Flash are held in reserve on a reload. The parade has to be deleted manually.
There's a little trick to deleting this parade. The switch will punctual you twice to ask if you really wish for to persuade free of this parade. Don't type "y" or "yes"; merely bow to the defaults by hitting the return fundamental. If you type "y", the router attempts to delete a parade named "y", as made known now:
Switch#delete vlan.Dat
Delete filename [vlan.Dat]? Y
Delete flare:Y? [confirm]
%Error deleting flare:Y (No such parade or directory)
Switch#delete vlan.Dat
Delete filename [vlan.Dat]?
Delete flare:Vlan.Dat? [confirm]
Switch#
The unsurpassed way to coach in support of CCNA and CCNP exam victory is by working on real Cisco equipment, and by performing lab tasks finished and finished. Repetition is the tend of skill, and by sincerely erasing your VLAN and VTP in a row by deleting the vlan.Dat parade from Flash, you'll be building your Cisco skills to the place somewhere your CCNA and CCNP exam victory is a certainty.
Tidak ada komentar:
Posting Komentar