Okay, folks, I'm going to show you now how to create violence that we discussed. And I'm going to say a few more things about villains.
So I'm going to go to switch one hair and click on it.
I'm gonna maximize the window.
Now I'm inside of switch one.
let's look at our villain database
as it stands right now. So I'm gonna execute the command show
So when I pull up the command,
that you have the villain
So, Dylan, once there by default, as I said, we land one is the default villain.
Well, and one or 2103104 and 105
are also there by default, and these cannot be deleted.
You also see that port one to port 24 Fast Internet. FAA stands for fast Internet
one through fast Internet 24.
fasten. It isn't at one through fast within a 24 and gigabit Ethernet one and two which is 1000 megabits per second. All belong by default to villain one where my cursor is
we and one or 234 and five have no ports in front of times a day. Do not support any ports at this point
Now, I did the command short villain. You see this extra stuff that we don't need? Four C c N a.
All this stuff till the bottom. We don't need this. We don't need the highlighted stuff. Farsi, CNN. So if you execute the command show villain brief,
it gives you a nice cleaner output. And it just takes away that extra stuff stuff at the bottom that you don't really need for your ccn anyways.
Now let's go ahead and create Villain 100 using the old method.
we just simply type in the word re lan.
And then if I hit question Mark, it asks me to type in database
and then have hit question mark again.
It says, Hit the control key. I mean, the carriage return.
I hit enter. And now you see my change from just switch and pound sign
to switch villain pound sign, which means now I'm ready to configure the saline databases.
Now, when you hit, enter
when you say villain database and you hit enter,
you'll get a warning.
This warning is basically saying that it is recommended that you create your villains using the new method because the old method will be deprecating or taken away in future editions of the
Now, I've been seeing this message for the last six or seven years, so they haven't taken it away yet.
Hence, I'd like to teach the old method regardless of whether it's part of CNN or not.
Now, while in villain database mood, I'm gonna type in villain 100. So villain space question mark. It asked me to pick a villain between one and 1005 which is our normal range.
And then if I say space question mark, you see that it is asking me
to name the Veena now. I don't necessarily have to name the villain. I could just hit Enter at this point, and it will create Villain 100. But let's go ahead and the name it anyways, name
and you see the logging message. It said villain 100 has been added with name test.
Now exit out off my villain database mode
and let's look at our villain database again with the command show Villain Brief.
Now you see that villain 100 has been created with the name test
and it is active, but still it has no ports assigned to it.
We will get to that later on in the day.
Now, if I wanted to get rid of the 9 100
database, go back into the land database mode
and I can use the up arrow key to scroll through my commands.
So villain 100 name test. That's how we created it.
Simply add a no in front of Bill and 100 name test
and this stays. This command is not supported by a packet tracer. So we will use another method to get rid of Ian and 100 in a minute.
off creating villains. So for that, I need to get into my contract mode. And don't worry about the command to get into config mo just yet. I will go over it in a little bit,
and now we are in conflict mode. The reason being are prompt has changed and it actually say's switch conferred
over here. If I type in the command villain.
Let's create Real and 200 nice even number
At this point. Since I'm doing it from CONFIG mode and this is the new way of doing it,
I do not assign it a name
on the same line I actually hit. Enter
and I change modes to configure villain mode, which basically means I'm I'm in the mood where I can modify my villain database
over here. I can name it its name it
and best practice in this case is to first exit out of this mode
back to config mode. So the command exit takes you back one mode.
And then, since we're in config mode, we can we can execute the command show villain brief, except we just have to put the word do in front of it. Do show Leland brief.
you see that I have now created
the villain 200 with named Cisco. Once again, no ports assigned to that be land yet
V nans are stored on a Cisco switch
in a file called villain dot dat.
So let's look at the contents off our flash memory
show Flash. Simple enough.
And you guys see this file
That's the file. Your villain 100 Leland 200 are stored them.
Now, I'm gonna show you how to delete these villains real quick.
I'm back in Macon fig mode
a simple rule of thumb to follow it. Cisco, which holds true 99% of the time and the few exceptions to the rule, I'm about to tell you I will show you the exceptions.
However, the rule of thumb
in Cisco to negate a command or to do the opposite off a specified command is simply to put the word no in front of it. So when we created the land 100
we said Villain 100 from config mode.
If I go ahead and put the command knew in front off it, that gets rid of the land 100.
Then I use my up arrow key to pull up no villain. 100 again.
I changed the 100 to 200 get rid of Villain 200.
Now, if we look at our
villain database, do show
you will see that bill and 102 100 are missing.
So that takes care of how to create villains and how to delete the lands.
Now in my head, I hear a question. Can you get rid of all the villains by getting rid
off this villain dot That file that we had in flash?
So let's go ahead and create Villain 102 100 again. So I will say Villain 100. And then just from this mood, I can go ahead and save the land 200 it will create the land 200
I say exit. And then look at my
Wieland database. Do show Dillon
and Dylan 102 100 back.
Now. If I wanted to get rid of the villain dot dat file,
or I could say delete flash
colon villain dot that
now I avoid saying delete, flash the land out that because if you forget to
if you forget to type envy, land out that then you are going to delete flash
and another one of these things that sits in the operating system. Let me show you
another one of these things that sits in the flash memory. I mean to say,
is this been filed that you guys see that I'm highlighting? This is your operating system. So, God forbid, by accident you delete the contents of flash.
It is just one command. You can delete your operating system.
So instead of doing the command and I'm just screwing using the up arrow key,
Okay, maybe it's not there. Instead of saying, delete Flash Colin villain dot That and then hitting Enter, I will simply say
flash. No, I will simply say delete villain dot That
and it will ask me Delete file. Lame villain dot debt I hit. Enter again and confirm it and hit. Enter.
Then I go look at my villa and database show Leland
and Dylan 102 100 should be gone.
Well, actually, villain, 102 100 are sitting in our
running configuration, so I have to power cycle this router. I mean, this switch to get rid of him.
So we're gonna go ahead and power cycle this switch
waiting for it. Sure Dylan
brief and villain. 102 100 are done.
there is a caveat here with this command that can cause an RPG in our world. RP is a resume producing event, which means you got fired. And now you need to produce your resume again.
If I execute the command delete villain. Got that
and I hit. Enter again. This this little tidbit is not part of the CNN, but it might help you at some point.
And now it says it's asking me to leave file in Freeland. Got that?
Some people at this point have a tendency to type in the word the letter. Why? For yes,
it is asking me delete villain dot that question mark, which means it wants me to just get entered to confirm.
But I went ahead and type in. Why? Anyways,
look at what it comes back with.
It comes back with delete Flash Colon.
If at this point I am not paying attention,
I will delete all flash, which means my operating system is gone. At this point,
I will break out if it using control, See, because I don't want
But be aware of this issue. Never say yes or no at the end of these prompts, unless it's asks you to say yes or no if it's just a question mark or the word confirmed just hit enter. At that point,
the section of the class that deals with creating and deleting villains.