If an interface in IOS is configured and not in Shutdown or testing the
.1.3.6.1.2.1.2.2.1.7.x (ifAdminStatus) will show UP 

If you are wondering what mibs are supported by what versions of IOS you
can go to
http://tools.cisco.com/Support/SNMP/do/MIBSupport.do?local=en&step=3
Or http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en to
translate OID's



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Bulinckx
Sent: Thursday, November 03, 2005 3:21 PM
To: salive@woodstone.nu
Subject: RE: [SA-list] Cisco question

In the mib file it says 

.1.3.6.1.2.1.2.2.1.7.x (ifAdminStatus)
The desired state of the interface. The testing(3) state indicates that
no operational packets can be passed. 

.1.3.6.1.2.1.2.2.1.8.x (ifOperStatus)
The current operational state of the interface. The testing(3) state
indicates that no operational packets can be passed.


So what you're saying is that when a serial should be up (configured to
be
up) and it's down due to a line issue that both .1.3.6.1.2.1.2.2.1.7.x
and .1.3.6.1.2.1.2.2.1.8.x will show a down?
I would expect that the .7.x would show an UP (as that is what we
desire) and .8.x would show DOWN (as that is the reality due to the line
being down)



Dirk.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jason Passow
Sent: Thursday, November 03, 2005 9:13 PM
To: salive@woodstone.nu
Subject: Re: [SA-list] Cisco question

This is somewhat true except when you say the desired state and
operational state.  

.1.3.6.1.2.1.2.2.1.7.x is the state of the itnerface itself and
.1.3.6.1.2.1.2.2.1.8.x is the state of the line.   Most of the time (at
least on private lines) when the network is down both show down.  Of
course
it depends on the nature of the problem.   It is certainly possible for
the
line to be down and the interface to be up. 

Therefore you cannot compare .1.3.6.1.2.1.2.2.1.7.x to
.1.3.6.1.2.1.2.2.1.8.x and get anything useful other than the nature of
the
down condition.   When those ids are 1 they are up and when they are 2
they
are down.  ( There are also other integers for the interface being
turned off etc. but those are the two important ones).  

Jason Passow
Mississippi Welders Supply
[EMAIL PROTECTED]
ph: (507) 494-5178
fax: (507) 454-8104

"If you do everything right, nobody will realize you've done anything at
all."



Dirk Bulinckx wrote:
> A question for the Cisco guru's on the list :-)
>
> Is the below info correct for 'all' cisco routers?
>
>       .1.3.6.1.2.1.2.1.0 give the number of interfaces
>
>
>       .1.3.6.1.2.1.2.2.1.2.x  gives the description of the different
> interface (x max of number of interfaces)
>
>
>       .1.3.6.1.2.1.2.2.1.7.x gives the desired state of the interface
>       .1.3.6.1.2.1.2.2.1.8.x gives the operational state of the
interface
>
>
> Based on this is it correct that 
>       IF 
>       .1.3.6.1.2.1.2.2.1.7.x <> .1.3.6.1.2.1.2.2.1.8.x 
>       THEN
>               interface is not in the state it should be?
>
>
>
> >From what I can see this seems correct for a 2501 and 4500, but I 
> >wonder
if
> this is correct for other IOS based routers (like a 3725)
>
>
> Dirk.
>
>
>   
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive



To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive

Reply via email to