LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2013, 08:14 AM   #1
deivo
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
interface state: ifOperStatus down


Hi,

On one of our machines we found problem with network interface. Error indicate that there exist mismatch state between value ifAdminSstatus and ifOperStatus. We tried disable interface by ifconfig down command but without any result - problem still exist. Anybody know how to on-line remove network interface from system or know other way how to resolve that problem?

IF-MIB::ifAdminStatus.6 = INTEGER: up(1)
IF-MIB::ifOperStatus.6 = INTEGER: down(2)

regards,
Daniel
 
Old 07-08-2013, 02:24 PM   #2
RootMason
Member
 
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 124

Rep: Reputation: 5
I am interested in the problem, can you give any more information as to the error, what the configuration is used for, etc...?
 
Old 07-09-2013, 05:54 AM   #3
deivo
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Currently I don't have access to this machine so I can't give you a lot details like kernel version etc. Some information below.

OS: CentOS 5
Machine: hp proliant
Interface is down by ifconfig down.
Log from snmpwalk.

add01:~ # snmpwalk -v 2c -c public localhost .1.3.6.1.2.1.2.2
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifDescr.1 = STRING: bond0
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifDescr.4 = STRING: eth2
IF-MIB::ifDescr.5 = STRING: eth3
IF-MIB::ifDescr.6 = STRING: eth4
IF-MIB::ifDescr.7 = STRING: eth5
IF-MIB::ifDescr.8 = STRING: eth6
IF-MIB::ifDescr.9 = STRING: eth7
IF-MIB::ifDescr.10 = STRING: lo
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.7 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.8 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.9 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.10 = INTEGER: softwareLoopback(24)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifMtu.5 = INTEGER: 1500
IF-MIB::ifMtu.6 = INTEGER: 1500
IF-MIB::ifMtu.7 = INTEGER: 1500
IF-MIB::ifMtu.8 = INTEGER: 1500
IF-MIB::ifMtu.9 = INTEGER: 1500
IF-MIB::ifMtu.10 = INTEGER: 16436
IF-MIB::ifSpeed.1 = Gauge32: 0
IF-MIB::ifSpeed.2 = Gauge32: 1000000000
IF-MIB::ifSpeed.3 = Gauge32: 100000000
IF-MIB::ifSpeed.4 = Gauge32: 1000000000
IF-MIB::ifSpeed.5 = Gauge32: 1000000000
IF-MIB::ifSpeed.6 = Gauge32: 1110490560
IF-MIB::ifSpeed.7 = Gauge32: 0
IF-MIB::ifSpeed.8 = Gauge32: 0
IF-MIB::ifSpeed.9 = Gauge32: 1000000000
IF-MIB::ifSpeed.10 = Gauge32: 0
IF-MIB::ifPhysAddress.1 = STRING: 9c:8e:99:fa:e1:42
IF-MIB::ifPhysAddress.2 = STRING: 9c:8e:99:fa:e1:42
IF-MIB::ifPhysAddress.3 = STRING: 9c:8e:99:fa:e1:44
IF-MIB::ifPhysAddress.4 = STRING: 9c:8e:99:fa:e1:42
IF-MIB::ifPhysAddress.5 = STRING: 9c:8e:99:fa:e1:48
IF-MIB::ifPhysAddress.6 = STRING: 0:26:55:e9:96:9
IF-MIB::ifPhysAddress.7 = STRING: 0:26:55:e9:96:8
IF-MIB::ifPhysAddress.8 = STRING: 0:26:55:e9:96:b
IF-MIB::ifPhysAddress.9 = STRING: 0:26:55:e9:96:a
IF-MIB::ifPhysAddress.10 = STRING: 0:0:0:0:0:0
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifAdminStatus.5 = INTEGER: up(1)
IF-MIB::ifAdminStatus.6 = INTEGER: up(1)
IF-MIB::ifAdminStatus.7 = INTEGER: down(2)
IF-MIB::ifAdminStatus.8 = INTEGER: down(2)
IF-MIB::ifAdminStatus.9 = INTEGER: up(1)
IF-MIB::ifAdminStatus.10 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.5 = INTEGER: up(1)
IF-MIB::ifOperStatus.6 = INTEGER: down(2)
IF-MIB::ifOperStatus.7 = INTEGER: down(2)
IF-MIB::ifOperStatus.8 = INTEGER: down(2)
IF-MIB::ifOperStatus.9 = INTEGER: up(1)
IF-MIB::ifOperStatus.10 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.2 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.3 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.4 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.5 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.6 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.7 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.8 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.9 = Timeticks: (37) 0:00:00.37
IF-MIB::ifLastChange.10 = Timeticks: (37) 0:00:00.37
IF-MIB::ifInOctets.1 = Counter32: 3855710214
IF-MIB::ifInOctets.2 = Counter32: 3341340154
IF-MIB::ifInOctets.3 = Counter32: 3885391978
IF-MIB::ifInOctets.4 = Counter32: 514370060
IF-MIB::ifInOctets.5 = Counter32: 2766759494
IF-MIB::ifInOctets.6 = Counter32: 0
IF-MIB::ifInOctets.7 = Counter32: 0
IF-MIB::ifInOctets.8 = Counter32: 0
IF-MIB::ifInOctets.9 = Counter32: 59234458
IF-MIB::ifInOctets.10 = Counter32: 1841846885
IF-MIB::ifInUcastPkts.1 = Counter32: 193842817
IF-MIB::ifInUcastPkts.2 = Counter32: 118697188
IF-MIB::ifInUcastPkts.3 = Counter32: 53800492
IF-MIB::ifInUcastPkts.4 = Counter32: 75145629
IF-MIB::ifInUcastPkts.5 = Counter32: 116801740
IF-MIB::ifInUcastPkts.6 = Counter32: 0
IF-MIB::ifInUcastPkts.7 = Counter32: 0
IF-MIB::ifInUcastPkts.8 = Counter32: 0
IF-MIB::ifInUcastPkts.9 = Counter32: 88962780
IF-MIB::ifInUcastPkts.10 = Counter32: 2672940153
IF-MIB::ifInNUcastPkts.1 = Counter32: 6889007
IF-MIB::ifInNUcastPkts.2 = Counter32: 6888851
IF-MIB::ifInNUcastPkts.3 = Counter32: 104
IF-MIB::ifInNUcastPkts.4 = Counter32: 156
IF-MIB::ifInNUcastPkts.5 = Counter32: 46
IF-MIB::ifInNUcastPkts.6 = Counter32: 0
IF-MIB::ifInNUcastPkts.7 = Counter32: 0
IF-MIB::ifInNUcastPkts.8 = Counter32: 0
IF-MIB::ifInNUcastPkts.9 = Counter32: 1
IF-MIB::ifInNUcastPkts.10 = Counter32: 0
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInDiscards.3 = Counter32: 0
IF-MIB::ifInDiscards.4 = Counter32: 0
IF-MIB::ifInDiscards.5 = Counter32: 0
IF-MIB::ifInDiscards.6 = Counter32: 0
IF-MIB::ifInDiscards.7 = Counter32: 0
IF-MIB::ifInDiscards.8 = Counter32: 0
IF-MIB::ifInDiscards.9 = Counter32: 0
IF-MIB::ifInDiscards.10 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 0
IF-MIB::ifInErrors.3 = Counter32: 0
IF-MIB::ifInErrors.4 = Counter32: 0
IF-MIB::ifInErrors.5 = Counter32: 0
IF-MIB::ifInErrors.6 = Counter32: 0
IF-MIB::ifInErrors.7 = Counter32: 0
IF-MIB::ifInErrors.8 = Counter32: 0
IF-MIB::ifInErrors.9 = Counter32: 0
IF-MIB::ifInErrors.10 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.2 = Counter32: 0
IF-MIB::ifInUnknownProtos.3 = Counter32: 0
IF-MIB::ifInUnknownProtos.4 = Counter32: 0
IF-MIB::ifInUnknownProtos.5 = Counter32: 0
IF-MIB::ifInUnknownProtos.6 = Counter32: 0
IF-MIB::ifInUnknownProtos.7 = Counter32: 0
IF-MIB::ifInUnknownProtos.8 = Counter32: 0
IF-MIB::ifInUnknownProtos.9 = Counter32: 0
IF-MIB::ifInUnknownProtos.10 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 3851421712
IF-MIB::ifOutOctets.2 = Counter32: 3851212655
IF-MIB::ifOutOctets.3 = Counter32: 1396328742
IF-MIB::ifOutOctets.4 = Counter32: 209057
IF-MIB::ifOutOctets.5 = Counter32: 1187339302
IF-MIB::ifOutOctets.6 = Counter32: 0
IF-MIB::ifOutOctets.7 = Counter32: 0
IF-MIB::ifOutOctets.8 = Counter32: 0
IF-MIB::ifOutOctets.9 = Counter32: 2279310248
IF-MIB::ifOutOctets.10 = Counter32: 1841846885
IF-MIB::ifOutUcastPkts.1 = Counter32: 146225006
IF-MIB::ifOutUcastPkts.2 = Counter32: 146223807
IF-MIB::ifOutUcastPkts.3 = Counter32: 103748489
IF-MIB::ifOutUcastPkts.4 = Counter32: 1199
IF-MIB::ifOutUcastPkts.5 = Counter32: 95487608
IF-MIB::ifOutUcastPkts.6 = Counter32: 0
IF-MIB::ifOutUcastPkts.7 = Counter32: 0
IF-MIB::ifOutUcastPkts.8 = Counter32: 0
IF-MIB::ifOutUcastPkts.9 = Counter32: 77837872
IF-MIB::ifOutUcastPkts.10 = Counter32: 2672940153
IF-MIB::ifOutNUcastPkts.1 = Counter32: 0
IF-MIB::ifOutNUcastPkts.2 = Counter32: 0
IF-MIB::ifOutNUcastPkts.3 = Counter32: 0
IF-MIB::ifOutNUcastPkts.4 = Counter32: 0
IF-MIB::ifOutNUcastPkts.5 = Counter32: 0
IF-MIB::ifOutNUcastPkts.6 = Counter32: 0
IF-MIB::ifOutNUcastPkts.7 = Counter32: 0
IF-MIB::ifOutNUcastPkts.8 = Counter32: 0
IF-MIB::ifOutNUcastPkts.9 = Counter32: 0
IF-MIB::ifOutNUcastPkts.10 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutDiscards.4 = Counter32: 0
IF-MIB::ifOutDiscards.5 = Counter32: 0
IF-MIB::ifOutDiscards.6 = Counter32: 0
IF-MIB::ifOutDiscards.7 = Counter32: 0
IF-MIB::ifOutDiscards.8 = Counter32: 0
IF-MIB::ifOutDiscards.9 = Counter32: 0
IF-MIB::ifOutDiscards.10 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutErrors.4 = Counter32: 0
IF-MIB::ifOutErrors.5 = Counter32: 0
IF-MIB::ifOutErrors.6 = Counter32: 0
IF-MIB::ifOutErrors.7 = Counter32: 0
IF-MIB::ifOutErrors.8 = Counter32: 0
IF-MIB::ifOutErrors.9 = Counter32: 0
IF-MIB::ifOutErrors.10 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 1000
IF-MIB::ifOutQLen.3 = Gauge32: 1000
IF-MIB::ifOutQLen.4 = Gauge32: 1000
IF-MIB::ifOutQLen.5 = Gauge32: 1000
IF-MIB::ifOutQLen.6 = Gauge32: 1000
IF-MIB::ifOutQLen.7 = Gauge32: 1000
IF-MIB::ifOutQLen.8 = Gauge32: 1000
IF-MIB::ifOutQLen.9 = Gauge32: 1000
IF-MIB::ifOutQLen.10 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.4 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.5 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.6 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.7 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.8 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.9 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.10 = OID: SNMPv2-SMI::zeroDotZero
 
Old 07-09-2013, 11:36 AM   #4
MikeDeltaBrown
Member
 
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 96

Rep: Reputation: 10
The administrative status of an interface is whether or not it has been configured and turned on (UP).
The operational status is whether or not the link-layer is up. In other words, if there is a working device at the other end of the network cable, such as a switch, router, or another computer.

Looking at some of the other values from snmpwalk, for instance:
IF-MIB::ifOutOctets.6 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 0
shows that no traffic has passed through this interface. Is there a cable attached? Is it a good, tested cable? Is there a working, configured device at the other end of the cable?

Last edited by MikeDeltaBrown; 07-09-2013 at 11:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet Interface leaves RUNNING state after some time earthlink Linux - Networking 1 07-31-2011 11:44 AM
How to get link state of interface avinash_ag1985 Linux - Networking 6 11-16-2010 02:52 PM
Delays in interface going to RUNNING state Skaperen Linux - Networking 0 02-22-2010 09:17 AM
iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set deadeyes Linux - Server 14 07-29-2009 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration