A small tip on showing outputs and not messing up! what i

From: rakesh madupu <raaki.88_at_gmail.com>
Date: Sat, 7 Aug 2010 08:34:53 +0530

I was doing some bgp early in the morning and was unable (not comfortable in
seeing some of the continuos outputs .. of course we can issue space and do
it but thats nothing new or strange ... so i did this to make my out put
little color ful

interface loop02011988
 desc
*************************************************************************

now here is how i got my out put for other bgp show commands

r9#show int loop02011988 | in Desc
  Description:
*******************************************************************
r9#show ip bgp summ
BGP router identifier 49.0.0.9, local AS number 90
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
12.0.0.2 4 20 20 20 1 0 0 00:16:22 0
14.0.0.1 4 10 22 23 1 0 0 00:19:00 0
49.0.0.10 4 40 36 37 1 0 0 00:33:55 0
r9#show int loop02011988 | in Desc
  Description:
*******************************************************************
r9#

And the best thing would be to do the below to make it even more simpler

r9(config)#alias exec d show int loop02011988 | in Des
r9(config)#do d
  Description:
*******************************************************************
r9(config)#

writing an alias for that

r2#d
  Description: *************************************
r2#
r2#
r2#show ip bgp summ
BGP router identifier 23.0.0.2, local AS number 20
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
12.0.0.1 4 10 78 78 1 0 0 01:14:45 0
14.0.0.4 4 40 31 31 1 0 0 00:27:25 0
49.0.0.9 4 90 33 33 1 0 0 00:29:31 0
r2#
r2#d
  Description: *************************************
r2#

some random thoughts as one can expect while a person is doing with BGP :)

guday

-- 
I have super powers i just dont wanna show you..
http://www.cciematrix.com
Rakesh.M
ccxx , jncix , jnsx-sol , srx , dc , m/mx , route etc .....
Blogs and organic groups at http://www.ccie.net
Received on Sat Aug 07 2010 - 08:34:53 ART

This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART