200
Chapter 4
"
Introduction to the Cisco IOS and SDM
Router and Switch Administrative
Configurations
Even though this section isn’t critical to making a router or switch work on a network, it’s still
really important; in it, I’m going to lead you through configuring commands that will help you
administer your network.
The administrative functions that you can configure on a router and switch are as follows:
"
Hostnames
"
Banners
"
Passwords
"
Interface descriptions
Remember, none of these will make your routers or switches work better or faster, but trust
me, your life will be a whole lot better if you just take the time to set these configurations on each
of your network devices. That’s because doing this makes troubleshooting and maintaining your
network sooooo much easier—seriously! In this next section, I’ll be demonstrating commands
on a Cisco router, but these commands are exactly the same on a Cisco switch.
Hostnames
You can set the identity of the router with the hostname command. This is only locally sig-
nificant, which means that it has no bearing on how the router performs name lookups or
how the router works on the internetwork. However, I’ll use the hostname in Chapter 10
for authentication purposes when I discuss PPP (Point-to-Point Protocol).
Here’s an example:
yourname#config t
Enter configuration commands, one per line. End with
CNTL/Z.
yourname(config)#hostname Todd
Todd(config)#hostname Atlanta
Atlanta(config)#hostname Todd
Todd(config)#
Even though it’s pretty tempting to configure the hostname after your own name, it’s defi-
nitely a better idea to name the router something pertinent to the location. This is because giving
it a hostname that’s somehow relevant to where the device actually lives will make finding it a
whole lot easier. And it also helps you confirm that you are, indeed, configuring the right device.
For this chapter, we’ll leave it at Todd for now.
47020.book Page 200 Wednesday, January 2, 2008 4:31 PM
Comentarios a estos manuales