sh ip alias + replace Interface with nothing works!!!
Thank you guys! I am currently working on my speed and this is part of my
strategy to defeat the v4 exam :)
If anyone else knows any other more specific way to have the desired output
please let us know!
Rgs,
2010/10/8 Rob Routt Jr. (rrouttjr) <rrouttjr_at_cisco.com>
> 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
Received on Fri Oct 08 2010 - 06:52:20 ART
This archive was generated by hypermail 2.2.0 : Mon Nov 01 2010 - 06:42:05 ART