Project

General

Profile

Feature #8861

Show more detail on status_interfaces.php

Added by Jim Pingle 11 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
08/31/2018
Due date:
% Done:

0%

Estimated time:

Description

Looking at the output of ifconfig -v, there is more info we could be showing on status_interfaces.php.

At a minimum, on supported interfaces such as ix, it will display information about connected SFP modules.

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:XX:XX:00:00:00
    hwaddr 00:XX:XX:00:00:00
    inet6 fe80::XXXX:XXXX:XXXX:0%ix0 prefixlen 64 scopeid 0x5
    inet X.X.X.182 netmask 0xffffff00 broadcast X.X.X.255
    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: OEM PN: SFP-10GB-CU1M SN: XXXXXXXXXXX DATE: 2011-09-26

Wireless interfaces also show much more information, though it's debatable how useful that level of detail is in this case.

status_interfaces.php uses get_interface_info() to pull the info, which in turn pulls it from pfSense_get_interface_stats() which is provided by the pfSense module, so this change would need to be made there.

History

#1 Updated by Jim Pingle 4 months ago

  • Target version changed from 48 to 2.5.0

Also available in: Atom PDF