RE: ping without IP in menu

From: Peng Zheng (zpnist@yahoo.com)
Date: Wed Oct 27 2004 - 20:56:21 GMT-3


Is it possible to change Extended ping's privilege
level?

--- Brian McGahan <bmcgahan@internetworkexpert.com>
wrote:

> You're probably in privilege level 1. Extended ping
> is a privilege 15
> command:
>
> R1#
> username level1 privilege 1 password 0 level1
> username level1 autocommand menu pingmenu
> username level15 privilege 15 password 0 level15
> username level15 autocommand menu pingmenu
> menu pingmenu title ^C
> menu pingmenu prompt ^CEnter your selection: ^C
> menu pingmenu text 1. PING
> menu pingmenu command 1. ping
> menu pingmenu options 1. pause
> menu pingmenu text 2. Exit
> menu pingmenu command 2. exit
> menu pingmenu line-mode
>
> R2#telnet 10.0.0.1
> Trying 10.0.0.1 ... Open
>
>
> User Access Verification
>
> Username: level1
> Password:
>
> Greetings Professor Falken
>
>
> 1. PING
>
> 2. Exit
>
> Enter your selection: 1
> Menu "pingmenu" has invalid command "ping"
> ping
> % Incomplete command.
>
> --More--
>
> Greetings Professor Falken
>
>
> 1. PING
>
> 2. Exit
>
> Enter your selection: 2
>
> [Connection to 10.0.0.1 closed by foreign host]
> R2#telnet 10.0.0.1
> Trying 10.0.0.1 ... Open
>
>
> User Access Verification
>
> Username: level15
> Password:
>
> Greetings Professor Falken
>
>
> 1. PING
>
> 2. Exit
>
> Enter your selection: 1
> Protocol [ip]:
> Target IP address: 10.0.0.2
> Repeat count [5]:
> Datagram size [100]:
> Timeout in seconds [2]:
> Extended commands [n]:
> Sweep range of sizes [n]:
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout
> is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip
> min/avg/max = 4/4/4 ms
> --More--
>
>
> HTH,
>
> Brian McGahan, CCIE #8593
> bmcgahan@internetworkexpert.com
>
> Internetwork Expert, Inc.
> http://www.InternetworkExpert.com
> Toll Free: 877-224-8987 x 705
> Outside US: 775-826-4344 x 705
> 24/7 Support: http://forum.internetworkexpert.com
> Live Chat: http://www.internetworkexpert.com/chat/
>
> > -----Original Message-----
> > From: nobody@groupstudy.com
> [mailto:nobody@groupstudy.com] On Behalf
> Of
> > ccie2be
> > Sent: Wednesday, October 27, 2004 6:18 PM
> > To: Peng Zheng; ccielab@groupstudy.com
> > Subject: Re: ping without IP in menu
> >
> > Peng,
> >
> > I don't think what you're trying to do is
> possible. I just tried the
> same
> > thing and found that there's no to allow the user
> to input the address
> to
> > be
> > pinged.
> >
> > I also checked in the Doc-CD and couldn't find a
> way to allow user
> input.
> >
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/
> ff
> > un_r/ffrprt1/frf004.htm#wp1019616
> >
> > If anyone knows how to do, please let us know.
> >
> > HTH, Tim
> >
> > ----- Original Message -----
> > From: "Peng Zheng" <zpnist@yahoo.com>
> > To: <ccielab@groupstudy.com>
> > Sent: Wednesday, October 27, 2004 6:26 PM
> > Subject: ping without IP in menu
> >
> >
> > > I want to config a ping in menu but without
> config the
> > > IP, so I can ping any IP. But I can not make it
> work.
> > >
> > >
> > > My config is:
> > >
> > > menu menu1 options 1. pause
> > > menu menu1 text 1. ping
> > > menu menu1 command 1. ping
> > >
> > > When I choose 1, I got: incomplete command.
> > >
> > >
> > > Does anyone know how to make it work?
> > >
> > > Thanks.
> > >
> > > Peng Zheng
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Read only the mail you want - Yahoo! Mail
> SpamGuard.
> > > http://promotions.yahoo.com/new_mail
> > >
> > >
>



This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:53 GMT-3