-
Welcome to my introduction to networking
-
course, typically abbreviated
-
ITN. This will be for the CCNA version 7
-
curriculum module 10 is about basic
-
router
-
configuration. So in this module, we're
-
looking at how to configure basic router
-
settings looking at the interfaces and
-
setting up the default gateways on
-
device.
-
So let's jump right on in configuring
-
the initial router settings, just like a
-
switch we uh jump in. We configure a host
-
name from the global configuration,
-
you'll notice that will be the device
-
name and we'll have config in
-
Brackets. From there, we will be typing in
-
host name space whatever the name, you
-
want it to be if we want to enable a
-
password.
-
This is what secures the privileged EXA
-
mode that is created by the enable
-
section what you would do is enable
-
secret and then put whatever password
-
you
-
want. If we want to secure the user exact
-
mode, when we console in or if we're
-
using a virtual
-
terminal. We would then set up either a
-
line console zero or a line vty
-
BTY are the virtual
-
Terminals and from there, you'd be
-
setting a password using the password
-
space whatever the password. You want it
-
to be and then you also want to say when
-
do you want it to prompt the user and we
-
want the users to be prompted at login.
-
So the second line would be
-
login with a line vty, you can
-
also have uh specific
-
inputs that are required. You could do a
-
secure shell SSH or you can allow tet or
-
both keep in mind tnet everything is
-
still plain text. SSH everything is
-
encrypted but additional setup is needed.
-
When we're doing
-
SSH with the enable and the password, you
-
can actually set an enable password
-
without using secret. However secret
-
actually hashes the password, you'll
-
notice with the line connection line
-
console and line vty both the passwords
-
are using just a plain text password. We
-
can encrypt the password by enabling the
-
service for password encryption to do
-
that we type service password encryption
-
that will encrypt our passwords.
-
Lastly, we need to set a banner. A banner
-
is going to be a message that will be
-
displayed when the user logs in. You do
-
that by typing Banner motd, that is short
-
form message of the day a special
-
character write the message and you have
-
to end with the same special character.
-
You cannot use different starting and
-
different special characters. They have
-
to be the
-
same. So how does that look in
-
practice here? We have a host name R1 we
-
have a a password of class for our line
-
password. We have a password of
-
Cisco. Those will all be plain text,
-
except for the enable password until we
-
turn on the services that encrypt our
-
passwords. And then lastly, we have our
-
Banner message
-
and to make sure we understand this, we
-
have a packet tracer lab. Moving on, how
-
do we configure the interfaces routers
-
and switches have multiple interfaces? So
-
first of all, we need to know what they
-
are you could do a show IP interface
-
brief and that will show us the
-
interfaces that has to be done at the
-
privilege exec mode, just the pound sign
-
show IP interface brief will give you
-
all of the
-
interfaces. Once you know how many
-
interfaces you have, you can configure
-
those interfaces you configure the
-
interface by doing
-
interface the type and number of the
-
interface. You can list a description if
-
you'd like. You have the ability to give
-
it an ipv4 and or an IPv6 address and
-
you should turn on the interface with a
-
no shutdown. A shutdown command turns off
-
the interface. No shutdown activates the
-
interface. So in real practice if we are
-
programming the gig z0000
-
interface that would be the gigabit
-
interface on the Lan
-
side. That is how we would do it. We would
-
give the IP
-
address. We should give a description so
-
we know what it
-
is and we should turn it on. In this
-
example, we're also enabling an IPv6
-
address if we wanted to configure, the
-
gigabit 001 interface. We could do that
-
as well that is the link between R1 and
-
R2. Hence the description, we give it an
-
IP address. We give an IPv6 address and
-
we also say no shutdown to turn it on.
-
So how do we verify these interfaces are
-
up and running show IP interface
-
brief as long as the okay is yes, and the
-
status is yes or up. We are good if the
-
status is set to administratively down
-
that means that we didn't issue. The no
-
shutdown command if the protocol is down,
-
but the status is not administratively
-
down. It is typically a layer one issue, a
-
physical networking
-
issue. If you want to look at the IPv6
-
version. You would do a show IPv6
-
interface brief, and that will give you
-
the IPv6 equivalent of the interface
-
brief
-
communication, all right. So how do we
-
look at certain commands show commands.
-
Specifically, if we're looking at
-
interfaces,
-
show IP interface brief is going to be
-
the most common. If we're looking at
-
routing information, it'll be show IP
-
route, we could look at detailed
-
information by looking at show
-
interfaces or show IP
-
interfaces. Those will give us very
-
specific statistics on those
-
interfaces. All of these have a IPv6
-
equivalent command as
-
well. So going back, here's how we would
-
do our show IP interface brief. Again, it
-
is important to realize these are our
-
basic, show commands for our verification
-
for interfaces. If we are doing a route,
-
if we're looking for routing information,
-
show IP route we will actually show
-
better breakdowns of these tables in a
-
later
-
lecture, but this is how a routing table
-
looks. This is what the router will use
-
to make the routing decisions. It will
-
use this table to figure out how to
-
forward packets
-
appropriately show interfaces. You can
-
show all interfaces or you can be
-
specific on one interface, this will give
-
you a detailed breakdown of that
-
interface the MAC address the IP address.
-
The MTU, the reliability, the transmit and
-
receive load. If there is ARP information,
-
if there's anything being queried. If
-
there's anything being overloaded, this
-
is what's going to tell
-
you show IP interface will also give you
-
the uh interface. If it's up, if the blind
-
protocol is up, this will give you more
-
detailed on specific functionality.
-
Notice this does not give you
-
reliability or transmit and receive
-
loads.
-
So show interface will give you transmit
-
and receive loads, show IP interface will
-
give you specific on protocol
-
functionality again. There's IP
-
equivalent for IPv6 show IPv6 interface,
-
we show you if it's up, if it's down and
-
if there's any multicast groups
-
associated with it. And then the rest
-
will be protocols.
-
Moving on, how do we configure an
-
ipv for default
-
gateway. Remember the default gateway is
-
the exit out of our
-
landan. So here we have two interfaces on
-
the router gig 000000 and gig
-
001, if we actually want two different
-
networks. We could do that one network on
-
gig 0000 one network on gig
-
001, and to communicate between these two
-
networks, it has to go to a layer 3
-
device. The layer 3 device is going to be
-
our router and again the default gateway
-
is our exit point for our Network. Again,
-
it's going to be the
-
router switches must have a default
-
gateway. If they're going to be remotely
-
managed at all, the switches should be
-
able to pass frames to the router,
-
assuming the in device is actually
-
sending it to remote
-
host. The switch should also have a
-
default gateway, just in case the switch
-
is not sure how to forward it
-
on how do we configure an IP default
-
gateway. On a switch from the global
-
configuration, we issue a
-
IP default gateway command and that is
-
IP default gateway space. The IP address
-
of the
-
Gateway. For whatever reason, we have a
-
bug in our PowerPoints. That list
-
the graphic not being completed as of
-
yet,
-
we do have a packet tracer on looking at
-
router information configuring the
-
router and verifying the
-
configuration. We also have another
-
Packet Tracer at looking at verifying
-
Network documentation, implementing
-
Solutions and testing and verifying
-
certain problems, looking at the default
-
gateway. And that is it for this
-
chapter. There are videos if you wish to
-
view them in nead
-
overall. We also do have another lab
-
looking at basic device configuration,
-
both a router and a
-
switch. We also have a basic U lab
-
setting up again switch and a router
-
setting up basic uh device functionality
-
host name Banner enable things of that
-
nature all right. So summary, what did we
-
learn we looked at how to navigate
-
between user and exec mode and Global
-
configuration mode?
-
We looked at basic configuration how to
-
set a host name how to set an enable
-
password, how to set line passwords, how
-
to set a banner we also looked at how to
-
set interfaces basic configuration for
-
interfaces, and how to turn them on again.
-
We turn them on with a no shutdown
-
command. We also looked at how to set a
-
default gateway and the purpose of a
-
default gateway. Any questions or
-
concerns, please reach out. Thank you.