It occurred to me that a huge time-saver (especially in The Lab) would be to
create an alias in the routers which would ping all the desired destinations
in your network.  That way, rather than sit there and ping x, then ping y,
etc., you could just type in the alias, and away it would go.

So I'm trying to learn how to do this, and it's not going all that well.
I've looked over CCO, and haven't found the detailed help I'm looking for.
Here's what I've got configured on my router:

alias exec pingall "ping 192.168.1.9;ping 192.168.1.17;ping
192.168.1.21;ping 192.168.1.13"

And when I type sho aliases, there it is:

R4#sho aliases
Exec mode aliases:
  h                     help
  lo                    logout
  p                     ping
  r                     resume
  s                     show
  u                     undebug
  un                    undebug
  w                     where
  pingall               "ping 192.168.1.9;ping 192.168.1.17;ping
192.168.1.21;ping 192.168.1.13"

And yet, when I try to use "pingall" at the exec prompt, it tries to do a
DNS translation rather than execute my alias.  Can anyone offer any insight
into this?

Thanks,

BJ
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to