Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 06:36:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233554] ifconfig - Add feature to list interfaces summary.
Message-ID:  <bug-233554-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233554

            Bug ID: 233554
           Summary: ifconfig - Add feature to list interfaces summary.
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: sm@codenetworks.net
                CC: allanjude@FreeBSD.org

Created attachment 199594
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199594&action=
=3Dedit
File contains output of ifconfig -s on a system used multiple interfaces.

Hi FreeBSD team,

What:

This is an enhancement request. Just wondering what is your view on adding a
new flag/feature to ifconfig to provide a summary of the network interfaces
including admin state, media status, description and maybe something else i=
n a
table based format ( Yes like a cisco "show interface status" or any of
those..).=20

If I'm not wrong at the moment there is not such feature and when working w=
ith
many interfaces (like 10's of jails using Vimage) it becomes quite difficul=
t to
track interface and bridges status.

Status:

I been playing around with ifconfig and put together a status_summary()
function that generates the following, but is too poor in code quality and
features. So just wondering if somebody is interested on coding it or maybe
point me in the right direction to code it.

I've included a file with the current output of the -s (summary) function I
added. It can be used with the existing flags ( -d -u $ifname).

Regards.

Santiago Martinez

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233554-227>