lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150824140829.7d014d87@urahara>
Date:	Mon, 24 Aug 2015 14:08:29 -0700
From:	Stephen Hemminger <shemming@...cade.com>
To:	Andy Gospodarek <gospo@...ulusnetworks.com>
CC:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH iproute2] add support for brief output for link and
 addresses

On Mon, 24 Aug 2015 20:41:16 +0000
Andy Gospodarek <gospo@...ulusnetworks.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@...1    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@...1    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@...1    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@...ulusnetworks.com>

Cool, we could colorize this as well :-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ