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

Reply via email to