Netdev List
 help / color / mirror / Atom feed
From: Andy Gospodarek <gospo@cumulusnetworks.com>
To: Stephen Hemminger <shemming@brocade.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH iproute2] add support for brief output for link and addresses
Date: Mon, 24 Aug 2015 18:03:31 -0700	[thread overview]
Message-ID: <20150825010331.GL504@gospo.home.greyhouse.net> (raw)
In-Reply-To: <20150824140829.7d014d87@urahara>

On Mon, Aug 24, 2015 at 02:08:29PM -0700, Stephen Hemminger wrote:
> On Mon, 24 Aug 2015 20:41:16 +0000
> Andy Gospodarek <gospo@cumulusnetworks.com> wrote:
> 
> > This adds support for slightly less output than is normally provided by
> > 'ip link show' and 'ip addr show'.  This is a bit better when you have a
> > host with lots of interfaces.  Sample output:
> > 
> > $ ip -br link show
> > lo               UNKNOWN  00:00:00:00:00:00  <LOOPBACK,UP,LOWER_UP>
> > p7p1             UP       08:00:27:9d:62:9f  <BROADCAST,MULTICAST,UP,LOWER_UP>
> > p8p1             DOWN     08:00:27:dc:d8:ca  <NO-CARRIER,BROADCAST,MULTICAST,UP>
> > p9p1             UP       08:00:27:76:d9:75  <BROADCAST,MULTICAST,UP,LOWER_UP>
> > p7p1.100@p7p1    UP       08:00:27:9d:62:9f  <BROADCAST,MULTICAST,UP,LOWER_UP>
> > 
> > $ ip -br -4 addr show
> > lo               UNKNOWN  127.0.0.1/8
> > p7p1             UP       70.0.0.1/24
> > p8p1             DOWN     80.0.0.1/24
> > p7p1.100@p7p1    UP       200.0.0.1/24
> > 
> > $ ip -br -6 addr show
> > lo               UNKNOWN  ::1/128
> > p7p1             UP       7000::1/8 fe80::a00:27ff:fe9d:629f/64
> > p8p1             DOWN     8000::1/8
> > p9p1             UP       fe80::a00:27ff:fe76:d975/64
> > p7p1.100@p7p1    UP       fe80::a00:27ff:fe9d:629f/64
> > 
> > $ ip -br  addr show p7p1
> > p7p1             UP       70.0.0.1/24 7000::1/8 fe80::a00:27ff:fe9d:629f/64
> > 
> > Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com>
> 
> Cool, we could colorize this as well :-)

Will do, v2 coming up!

  reply	other threads:[~2015-08-25  1:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9a703fa7b69649518cbe0341ff261fe2@HQ1WP-EXMB11.corp.brocade.com>
2015-08-24 21:08 ` [PATCH iproute2] add support for brief output for link and addresses Stephen Hemminger
2015-08-25  1:03   ` Andy Gospodarek [this message]
2015-08-24 20:41 Andy Gospodarek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150825010331.GL504@gospo.home.greyhouse.net \
    --to=gospo@cumulusnetworks.com \
    --cc=netdev@vger.kernel.org \
    --cc=shemming@brocade.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox