From: vr4drvr . (adrian36@xxxxxxxxxxx)
Date: Fri Jan 11 2002 - 13:15:15 GMT-3
Is there a way to use the send command over multiple outgoing telnet
sessions?
>
>keep in mind you can use the "send *" command on the access server.
>
>that will allow you to send configuration commands to any selected number
>of
>tty lines or all of them at once. The "*" parameter sends the message to
>all.
>
>Example:
>
>access-server#send *
>Message to be sent to tty lines...(blah blah)
>
>enable
>configure t
>alias exec wrbgn show run | begin
>alias exec b show ip bgp
>alias exec o show ip ospf
>alias exec i show ip route
>alias exec ci clear ip route *
>alias exec cb clear ip bgp *
>alias exec bn show ip bgp neigh
>alias exec bd show ip bgp data
>exit
>write mem
>CTRL^Z
>confirm message to be sent <yes>
>
>That will configure all IOS devices for those commands at the same time.
>5000 switch and token ring switch would just ignore those commands.
>
>HTH
>
>MP
>----- Original Message -----
>From: "Bryan Ginman" <ginmanb@westnet.com>
>To: "Steven" <adream@163.com>; "ccielab" <ccielab@groupstudy.com>
>Sent: Thursday, January 10, 2002 8:49 PM
>Subject: RE: Great trick
>
>
> > Yes I do. You can use notepad write it once and paste it for life.
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> > Steven
> > Sent: Thursday, January 10, 2002 9:20 PM
> > To: ccielab
> > Subject: Re: Great trick
> >
> >
> > do you think using alias can save a lot of time during exam?
> > you have to input all the alias and copy them to all the routers .
> >
> >
> > ----- Original Message -----
> > From: "Bryan Ginman" <ginmanb@westnet.com>
> > To: "CCIE" <ccielab@groupstudy.com>
> > Sent: Friday, January 11, 2002 9:13 AM
> > Subject: Great trick
> >
> >
> > > This is a great trick I learned from someone on this list awhile ago.
>I
>by
> > > no means take credit for it.
> > >
> > > alias exec s1 sho run | begin
> > > alias exec s2 sho run | include
> > >
> > > This parses the config quickly to give for s1 say "s1 router bgp" it
>will
> > > sho the config from router bgp AS#
> > >
> > > "s2 dlsw" for example will show you all lines in the config that have
>dlsw
> > > in it. Thought it was neat and wanted to pass it along.
> > >
> > > Cheers,
> > >
> > > Bryan
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:25 GMT-3