Project

General

Profile

Todo #8860

Change status.php to use "ifconfig -va" for more detail

Added by Jim Pingle over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Very Low
Assignee:
Category:
Web Interface
Target version:
Start date:
08/31/2018
Due date:
% Done:

100%

Estimated time:

Description

ifconfig -v will return more info than the ifconfig alone. For ix(4) interfaces it will print information about the interface SFP module as well, for example.

Change the status output to include this instead.

Associated revisions

Revision 836ee3aa (diff)
Added by Jim Pingle over 1 year ago

Change status.php to use "ifconfig -v". Implements #8860

History

#1 Updated by Jim Pingle over 1 year ago

  • Status changed from This Sprint to Feedback
  • % Done changed from 0 to 100

#2 Updated by James Dekker over 1 year ago

On 2.4.4.a.20180831.2010, looks good.

Network-Intefaces shows module information for SFP+

ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=e400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:a5:bd
    hwaddr 00:08:a2:0e:a5:bd
    inet6 fe80::208:a2ff:fe0e:a5bd%ix0 prefixlen 64 scopeid 0x1
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
    status: active
    plugged: SFP/SFP+/SFP28 Unknown (Copper pigtail)
    vendor: Intel Corp PN: 821-24-011-02 SN: INS12345678 DATE: 2013-01-01
ix1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=e400bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
    ether 00:08:a2:0e:a5:be
    hwaddr 00:08:a2:0e:a5:be
    inet6 fe80::208:a2ff:fe0e:a5be%ix1 prefixlen 64 scopeid 0x2
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    media: Ethernet autoselect (10Gbase-Twinax <full-duplex,rxpause,txpause>)
    status: active
    plugged: SFP/SFP+/SFP28 Unknown (Copper pigtail)
    vendor: Intel Corp PN: 821-24-011-02 SN: INS12345678 DATE: 2013-01-01

#3 Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF