background image
Lab A.11: Setting Interface Descriptions
585
Lab A.10: Setting the Router Hostnames
Y
ou can set the hostname 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 on the internetwork.
1.
Set the hostname of your router.
Router#config t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#hostname Todd
Todd(config)#
Notice that when you pressed Return, the command took effect
immediately.
Lab A.11: Setting Interface Descriptions
S
etting descriptions on an interface is helpful to the administrator
and, like the hostname, only locally significant. This is a helpful command
because it can be used to keep track of circuit numbers, among other things.
1.
Set the description of the interface Ethernet 0 to Sales LAN and
the serial 0 interface to WAN to Miami with a circuit number of
6fdda4321.
Todd(config)#int e0
Todd(config-if)#description Sales Lan
Todd(config-if)#int s0
Todd(config-if)#description Wan to Miami
circuit:6fdda4321
2.
You can view the description of an interface either with the show
running-config
or the show interface command.
Todd#sh run
[output cut]
interface Ethernet0
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com