May 7, 2011

Do command

** Beginning with IOS version 12.3
  • Cisco has finally added a command to the IOS that always you to view the configuration & statics from within configuration mode.
 ** In fact with a pre -12.3 router,

  • you'd get the following error if you tried to view the configuration from global - Config
you see:

Router (config)# sh run

% invalid input detected at  ' ^ '  marker
  • Compare that to the output i got 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

Hot (config)# do show ru
Building configuration...
Current configuration : 3276 bytes
[out put cut]

Hot (config)# do sh int f0/0
FastEthernet 0/0 is UP, line protocol is down
Hardware is MV96340 Ethernet, address is 001a.2f55.c9e8
Description: sales Vlan
[out put cut]

** 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

No comments:

Related Posts Plugin for WordPress, Blogger...