background image
Command-Line Interface
217
network. So if you're using RIP routing, then the bandwidth setting of a serial
link is irrelevant, since RIP uses only hop count to determine that. (If you need
to brush up on routing protocols and metrics, look for them in Chapter 5).
Router(config-if)#bandwidth ?
<1-10000000> Bandwidth in kilobits
Router(config-if)#bandwidth 64
Did you notice that, unlike the clock rate command, the bandwidth
command is configured in kilobits?
Hostnames
You can set the identity of the router with the hostname command. This is
only locally significant, which means it has no bearing on how the router
performs name lookups or how the router works on the internetwork.
Router#config t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#hostname todd
todd(config)#hostname Atlanta
Atlanta(config)#
Even though it's pretty tempting to configure the hostname after your
own name, it's a better idea to name the router something pertinent to the
location.
Descriptions
Setting descriptions on an interface is helpful to the administrator and, like
the hostname, only locally significant. This is a helpful command because
you can use it to keep track of circuit numbers, for example.
Atlanta(config)#int e0
Atlanta(config-if)#description Sales Lan
Atlanta(config-if)#int s0
Atlanta(config-if)#desc Wan to Miami circuit:6fdda4321
You can view the description of an interface either with the show
running-config
command or the show interface command.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com