Project

General

Profile

Feature #1557

Add the Interface descriptions to the OS interface descriptions

Added by Peter Baumann over 9 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Low
Category:
Interfaces
Target version:
Start date:
05/26/2011
Due date:
% Done:

100%

Estimated time:

Description

When configuring an interface we can specify a "description" of the interface.
Unfortunately this description is not saved into the os interface level.
Example:

ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:00:de:ad:be:ef
inet 172.20.1.10 netmask 0xffffff00 broadcast 172.20.1.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
  1. ifconfig re0 description BACKBONE
  2. ifconfig re0
    re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: BACKBONE
    options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
    ether 00:00:de:ad:be:ef
    inet 172.20.1.10 netmask 0xffffff00 broadcast 172.20.1.255
    media: Ethernet autoselect (100baseTX <full-duplex>)
    status: active

It would be perfect when the description is also saved into the interface in os level.
So you can use this with SNMP Tools to see the interface descriptions.

Associated revisions

Revision a675d425 (diff)
Added by Viktor Gurov 8 months ago

Add interface description to OS interface description. Issue #1557

History

#1 Updated by Chris Buechler over 9 years ago

  • Target version deleted (2.0)
  • Affected Version deleted (2.0)

#2 Updated by Peter Baumann almost 7 years ago

Hi Developers of pfSense.
Is there any status update of this Feature?
2 Years ago the Target version was deleted.
I just want to know if you plan to add this functionality to pfSense?

#3 Updated by Dirk-Willem van Gulik over 4 years ago

Ticket #5822 contains a patch that makes this work; along with enough sundry to have BSNMP et.al. also pick this up.

#4 Updated by Gareth Hay about 3 years ago

Hi there,

This would be a great feature for those who use Zabbix or similar.

Thanks

Gareth

#6 Updated by Jim Pingle 8 months ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0

#7 Updated by Renato Botelho 8 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#8 Updated by Viktor Gurov 8 months ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20200314.1917:

$ snmpwalk -v 1 -c public 192.168.1.10 iso.3.6.1.2.1.31.1.1.1.18
iso.3.6.1.2.1.31.1.1.1.18.1 = STRING: "connected to pf5 (vtnet0)" 
iso.3.6.1.2.1.31.1.1.1.18.2 = STRING: "connected to R1 (Gi0/0)" 
iso.3.6.1.2.1.31.1.1.1.18.3 = STRING: "INTLAN" 
iso.3.6.1.2.1.31.1.1.1.18.4 = STRING: "GREasa1" 

Also available in: Atom PDF