Hello Giannis,
i reported a similar problem, with snmp on emX devices on 3.12.2012
(Subject line: ifOperStatus of em(4) devices always unknown when link is up)
Seems to happen only with em based devices, until now, no fix available.
Cheers,
Carsten
Am 19.12.2012 17:24, schrieb Kapetanakis Giannis:
Hi,
I'd like to ask why I get Linkstate unknown on interfaces em0/em1:
# ospfctl s i
Interface AddressState HelloTimer LinkstateUptime nc
ac
gre0 zz.zz.zz.zz/32 P2P00:00:02 active04:34:441 1
em1xx.xx.xx.xx/24 DR 00:00:04 unknown 00:06:311 1
em0yy.yy.yy.yy/29 DR 00:00:01 unknown03w5d22h1 1
# ospfctl s n
zz.zz.zz.zz1 FULL/P2P 00:00:32 zz.zz.zz.zz gre0
04:53:13
xx.xx.xx.xx1 FULL/BCKUP 00:00:35 xx.xx.xx.xx em1
00:25:00
yy.yy.yy.yy1 FULL/BCKUP 00:00:31 yy.yy.yy.yy em0
03w1d06h
em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 52:54:00:25:e7:a8
description: External
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet xx.xx.xx.x1 netmask 0xfff8 broadcast xx.xx.xx.xx
inet6 fe80::5054:ff:fe25:e7a8%em0 prefixlen 64 scopeid 0x1
inet xx.xx.xx.x2 netmask 0x
em1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 52:54:00:62:d4:cc
description: other VLAN24
priority: 0
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet yy.yy.yy.yy netmask 0xff00 broadcast yy.yy.yy.yy
inet6 fe80::5054:ff:fe62:d4cc%em1 prefixlen 64 scopeid 0x2
ospfd.conf:
router-id xx.xx.xx.x1
fib-update yes
stub router no
spf-delay 1
spf-holdtime 5
hello-interval 10
metric 1
retransmit-interval 5
router-dead-time 40
router-priority 1
transmit-delay 1
redistribute static
redistribute connected
...+ passwords
# CORE
area 0.0.0.0 {
interface em0 {
auth-type crypt
auth-md $HER_core_id $core_pass
auth-md-keyid $core_id
}
}
# OTHER AREA
area 0.0.0.1 {
stub
interface em1 {
auth-type crypt
auth-md $HER_other_id $other_pass
auth-md-keyid $other_id
}
}
... other areas
regards,
Giannis