214
Chapter 4
"
Introduction to the Cisco IOS and SDM
In fact, with a pre-12.3 router, you’d get the following error if you tried to view the
configuration from global-config:
Router(config)#sh run
^
% Invalid input detected at '^' marker.
Compare that to the output I get from entering that same command on my router that’s
running the 12.4 IOS:
Enter configuration commands, one per line. End with CNTL/Z.
Todd(config)#do show run
Building configuration...
Current configuration : 3276 bytes
!
[output cut]
Todd(config)#do sh int f0/0
FastEthernet0/0 is up, line protocol is down
Hardware is MV96340 Ethernet, address is 001a.2f55.c9e8 (bia
001a.2f55.c9e8)
Description: Sales VLAN
[output cut]
So basically, you can pretty much run any command from any configuration prompt
now—cool, huh? Going back to the example of encrypting our passwords, the do command
would definitely have gotten the party started sooner—so, my friends, this is a very, very good
thing indeed!
Router Interfaces
Interface configuration is one of the most important router configurations because without
interfaces, a router is pretty much a completely useless object. Plus, interface configurations
must be totally precise to enable communication with other devices. Network layer addresses,
media type, bandwidth, administrator commands are all used to configure an interface.
Different routers use different methods to choose the interfaces used on them. For instance,
the following command shows a Cisco 2522 router with 10 serial interfaces, labeled 0 through 9:
Router(config)#int serial ?
<0-9> Serial interface number
47020.book Page 214 Wednesday, January 2, 2008 4:31 PM
Comentarios a estos manuales