Alt works pretty great as well!
For sure tclscript would to the job, but then is complicating something that
is supposed to be simple.
thanks a lot guys!
rgs,
2010/10/8 Adel Abouchaev <adel_at_netmasterclass.net>
> A small TCL script could be written and used for this purpose; of course,
> the feasibility of this approach heavily depends on how frequently and how
> much automation is required. You could then print only the IP, without
> anything around it.
>
> We had circulated one for OSPF areas before, if you search the GS
> backwards.
>
> Cheers,
>
> Adel Abouchaev, CCIE# 12037, CISSP, MCSE
>
> Technical Support Engineer
> Netmasterclass LLC, Cisco Learning Partner
> RFC821: adel_at_netmasterclass.net
> E.164: +18886772669
> HTTP: www.netmasterclass.net
>
>
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> jason munns
> Sent: Thursday, October 07, 2010 9:25 PM
> To: Jeferson Guardia
> Cc: Rob Routt Jr. (rrouttjr); Adam Booth; groupstudy
> Subject: Re: Playing with PIPES
>
> If you hold down the alt key while selecting text, you can select just
> the ip addresses instead of the entire line, it saves having to
> replace anything in notepad. This should work in putty and securecrt.
>
> Jason
>
> On 8 October 2010 16:53, Jeferson Guardia <jefersonf_at_gmail.com> wrote:
> > I think you are correct, either way is giving me what I want
> >
> > R1#sh ip aliases
> > Address Type IP Address Port
> > Interface 6.6.6.6
> > Interface 5.5.5.5
> > Interface 4.4.4.4
> > Interface 2.2.2.2
> > Interface 1.1.1.1
> > Interface 10.1.12.1
> > Interface 125.1.1.1
> > Interface 128.1.1.1
> > Interface 131.1.1.1
> > Interface 133.1.1.1
> > Interface 132.1.1.1
> > Interface 191.1.1.1
> > Interface 193.1.1.1
> > Interface 192.1.1.1
> > Interface 195.1.1.1
> > Interface 194.1.1.1
> > Interface 200.1.1.1
> > Interface 223.1.1.1
> > R1#sh ip alias
> > Address Type IP Address Port
> > Interface 6.6.6.6
> > Interface 5.5.5.5
> > Interface 4.4.4.4
> > Interface 2.2.2.2
> > Interface 1.1.1.1
> > Interface 10.1.12.1
> > Interface 125.1.1.1
> > Interface 128.1.1.1
> > Interface 131.1.1.1
> > Interface 133.1.1.1
> > Interface 132.1.1.1
> > Interface 191.1.1.1
> > Interface 193.1.1.1
> > Interface 192.1.1.1
> > Interface 195.1.1.1
> > Interface 194.1.1.1
> > Interface 200.1.1.1
> > Interface 223.1.1.1
> > R1#
> >
> >
> > 2010/10/8 Rob Routt Jr. (rrouttjr) <rrouttjr_at_cisco.com>
> >
> >> Correction "show ip aliases" is the correct command, but obviously alias
> >> will work too! For some reason, I think there is another command that is
> >> very helpful for seeing this info and might even b a hidden command, but
> >> I cannot think of it atm.
> >>
> >> -R
> >>
> >> -----Original Message-----
> >> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> >> Rob Routt Jr. (rrouttjr)
> >> Sent: Thursday, October 07, 2010 9:50 PM
> >> To: Adam Booth; Jeferson Guardia
> >> Cc: groupstudy
> >> Subject: RE: Playing with PIPES
> >>
> >> You can also use "show ip alias" Then use notepad/replace as Adam
> >> mentioned.
> >>
> >> Router#sh ip alias
> >> Address Type IP Address Port
> >> Interface 1.1.1.1
> >> Interface 2.2.2.2
> >>
> >>
> >> -Rob
> >>
> >> -----Original Message-----
> >> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> >> Adam Booth
> >> Sent: Thursday, October 07, 2010 9:45 PM
> >> To: Jeferson Guardia
> >> Cc: groupstudy
> >> Subject: Re: Playing with PIPES
> >>
> >> Hi Jeferson,
> >>
> >> If you type "show ip int bri | exclude unassigned" it would show only
> >> interfaces that have IP addresses but you would still see stuff like
> >> "Loopback0 1.1.1.1 YES manual up" for each line
> >>
> >> If you paste the output into notepad, you can hit control h and replace
> >> "YES
> >> manual up" with nothing which would remove that part and just manually
> >> remove the interface designations.
> >>
> >> Cheers,
> >>
> >> Adam
> >>
> >> On Fri, Oct 8, 2010 at 1:39 PM, Jeferson Guardia
> >> <jefersonf_at_gmail.com>wrote:
> >>
> >> > Guys, anyone have any idea how can I only see the IPs when I have
> >> something
> >> > like this?
> >> >
> >> > R1#sh ip int br | sec IP-Address
> >> > Interface IP-Address OK? Method Status
> >> > Protocol
> >> > R1#sh ip int br
> >> > Interface IP-Address OK? Method Status
> >> > Protocol
> >> > FastEthernet0/0 10.1.12.1 YES manual up
> >> > up
> >> > Serial0/0 unassigned YES NVRAM administratively
> >> down
> >> > down
> >> > FastEthernet0/1 unassigned YES NVRAM administratively
> >> down
> >> > down
> >> > Serial0/1 unassigned YES NVRAM administratively
> >> down
> >> > down
> >> > Loopback0 1.1.1.1 YES manual up
> >> > up
> >> > Loopback1 2.2.2.2 YES manual up
> >> > up
> >> > Loopback3 125.1.1.1 YES manual up
> >> > up
> >> > Loopback4 128.1.1.1 YES manual up
> >> > up
> >> > Loopback5 131.1.1.1 YES manual up
> >> > up
> >> > Loopback6 191.1.1.1 YES manual up
> >> > up
> >> > Loopback7 192.1.1.1 YES manual up
> >> > up
> >> > Loopback8 195.1.1.1 YES manual up
> >> > up
> >> > Loopback9 200.1.1.1 YES manual up
> >> > up
> >> > Loopback10 223.1.1.1 YES manual up
> >> > up
> >> > Loopback11 4.4.4.4 YES manual up
> >> > up
> >> > Loopback12 5.5.5.5 YES manual up
> >> > up
> >> > Loopback13 6.6.6.6 YES manual up
> >> > up
> >> > Loopback14 132.1.1.1 YES manual up
> >> > up
> >> > Loopback15 133.1.1.1 YES manual up
> >> > up
> >> > Loopback16 193.1.1.1 YES manual up
> >> > up
> >> > Loopback17 194.1.1.1 YES manual up
> >> > up
> >> > R1#
> >> >
> >> >
> >> > The idea is having an output with just the IP's, thus I can copy and
> >> paste
> >> > it quickly into a tcl script to verify connectivity when
> >> redistributing or
> >> > something.
> >> >
> >> > Rgs,
> >> >
> >> >
> >> > Blogs and organic groups at http://www.ccie.net
> >> >
> >> >
> >> _______________________________________________________________________
> >> > Subscription information may be found at:
> >> > http://www.groupstudy.com/list/CCIELab.html
> >>
> >>
> >> Blogs and organic groups at http://www.ccie.net
> >>
> >> _______________________________________________________________________
> >> Subscription information may be found at:
> >> http://www.groupstudy.com/list/CCIELab.html
> >>
> >>
> >> Blogs and organic groups at http://www.ccie.net
> >>
> >> _______________________________________________________________________
> >> Subscription information may be found at:
> >> http://www.groupstudy.com/list/CCIELab.html
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Fri Oct 08 2010 - 16:01:07 ART
This archive was generated by hypermail 2.2.0 : Mon Nov 01 2010 - 06:42:05 ART