On 2015/10/19 13:13, BARDOU Pierre wrote:
>         Whether a vlan(4) interface is up or down, SNMPD always report its 
> ifOperStatus as unknown.

Hmm, might need more information to track it down, it's working here
(tested on various versions from sometime around 5.6 up to recent
-current):

$ snmptable -c public -v2c -Cw 100 -Cl 127.0.0.1 ifTable | head -12 | cut 
-c1-39,69-
SNMP table: IF-MIB::ifTable

ifIndex ifDescr ifType           ifMtu ifAdminStatus ifOperStatus
1       em0     ieee8023adLag    2500  up            up
2       em1     ieee8023adLag    2500  up            lowerLayerDown
3       enc0    other            0     down          down
4       lo0     softwareLoopback 32768 up            unknown
5       trunk0  ethernetCsmacd   2500  up            up
6       vlan2   ethernetCsmacd   1500  up            up
7       vlan4   ethernetCsmacd   1500  up            up
8       vlan5   ethernetCsmacd   1500  up            up
9       pflog0  other            33144 up            unknown

Reply via email to