[Bug 233554] ifconfig - Add feature to list interfaces summary.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 27 06:36:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233554

            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 at FreeBSD.org
          Reporter: sm at codenetworks.net
                CC: allanjude at FreeBSD.org

Created attachment 199594
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199594&action=edit
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 in a
table based format ( Yes like a cisco "show interface status" or any of
those..). 

If I'm not wrong at the moment there is not such feature and when working with
many interfaces (like 10's of jails using Vimage) it becomes quite difficult 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

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


More information about the freebsd-bugs mailing list