ifOperStatus and ifAdminStatus are defined in the interfaces/ifMib not by Spectrum. For most interface models, Spectrum reads these two mib objects to determine the status of the interface. The interfaces/ifMib define them as follows:
ifAdminStatus OBJECT-TYPEifAdminStatus OBJECT-TYPE SYNTAX INTEGER { up(1), down(2), testing(3) }
ACCESS read-write STATUS mandatory
DESCRIPTION "The desired state of the interface. The testing(3) state indicates that no operational packets can be passed."
ifOperStatus OBJECT-TYPEifOperStatus OBJECT-TYPE SYNTAX INTEGER { up(1), down(2), testing(3) }
ACCESS read-only STATUS mandatory
DESCRIPTION "The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed."
Joe
Original Message:
Sent: 09-23-2019 03:02 PM
From: Santhosh Adapa
Subject: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.
Hi Joseph,
As per your inputs, I understand about the "condtion" field and how it works. But I did not exactly understand how operstatus field, adminstatus field and status field will work . How these fields will work? Can you please explain those 3 fields also like "condition" field explained.
Thanks,
Regards,
Santhosh Adapa.
Original Message:
Sent: 09-20-2019 04:11 PM
From: Joseph Ackley
Subject: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.
Santhosh,
When a device is first modeled in Spectrum, Spectrum models the interfaces according to the information received at the time of the interface model creation. Then, Spectrum sets the condition "normal" for that interface. So if the status of the interface is down or off at the time of initial modeling then that is "normal" condition of that interface.
Only after enabling alarming on the interface and then the interface changes status from down or off to up and then to down again will the condition of the interface change from Normal.
This was done a long time ago because when modeling devices, users were getting flooded with down interface alarms when these interfaces were configured down in the first place.
There is an attribute on the interface model called PortAlwaysDown attribute id 0x129fc that is set when the interface is initially modeled. If the interface is down when it is initially modeled, then the value of this attribute is set to Yes. If Spectrum detects the interface as being up, then it will change the value of this attribute to No.
Hope this helps.
Joe
Original Message:
Sent: 09-20-2019 02:54 PM
From: Santhosh Adapa
Subject: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.
Hi Rajashekar,
I saw few interfaces values like in the below mentioned 3 examples in spectrum. can you please explain on this.
Example 1:
Admin Status: down
Oper status: down
Status:off
Condition:normal
Example 2:
Admin Status: Up
Oper status: down
Status:down
Condition:down
Example 3:
Admin Status: Up
Oper status: down
Status:down
Condition:noraml
Regards,
Santhosh
Original Message:
Sent: 09-20-2019 10:14 AM
From: Rajashekar Allala
Subject: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.
Admin Status - Below are the possible values.
Up - Interface is up
Down - Interface is down
Testing - No operational packets can be passed
Operational Status - Current operational status of the interface. Possible values are as follows:
1. Up - Ready to pass packets (if admin status is changed to up, then operational status should change to up if the interface is ready to transmit and receive network traffic)
2. Down - If admin status is down, then operational status should be down
3. Testing - In test mode, no operational packets can be passed
4. Unknown-Status can not be determined for some reason
5. Dormant-Interface is waiting for external actions
6. NotPresent-Some component is missing, typically hardware
7. LowerLayerDown-Down due to state of lower layer interface
------------------------------
Thank you.
Rajashekar
Original Message:
Sent: 09-20-2019 09:15 AM
From: Santhosh Adapa
Subject: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.
Hi Team,
Could anybody please tell us that what is the difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.
Regards,
Santhosh.