DX NetOps

 View Only
Expand all | Collapse all

Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

  • 1.  Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 20, 2019 09:16 AM
    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.


  • 2.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 20, 2019 09:56 AM
    Edited by Rajashekar Allala Sep 20, 2019 10:00 AM
    Admin status --> Configured status of the Interface (port)
    Operation Status (Oper Status) --> Working/running status of the Interface
    Status --> Shows the Up/Down status based on Admin and Operational status.
    Condition --> It shows the health of the interface -- Normal, Critical, Major and etc (just like server other network devices condition).


    ------------------------------
    Thank you.
    Rajashekar
    ------------------------------



  • 3.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 20, 2019 10:15 AM
    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
    ------------------------------



  • 4.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 20, 2019 02:55 PM
    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




  • 5.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Broadcom Employee
    Posted Sep 20, 2019 04:11 PM
    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



  • 6.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 23, 2019 03:03 PM
    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.


  • 7.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Broadcom Employee
    Posted Sep 23, 2019 03:19 PM
    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


  • 8.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 23, 2019 03:30 PM
    Hi Joseph,

    some times Adminstatus is up value and operstatus is down value and viceversa also. So, status of the interface depends on which values like adminstatus or operstatus?

    Regards,
    Santhosh Adapa.


  • 9.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Broadcom Employee
    Posted Sep 23, 2019 03:36 PM
    yes


  • 10.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 23, 2019 03:49 PM
    Hi Joseph,

    I am asking question, interface status field depends on adminstatus field or operstatus field?

    Regards,
    Santhosh Adapa.


  • 11.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Broadcom Employee
    Posted Sep 23, 2019 03:52 PM
    the answer is yes


  • 12.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 24, 2019 10:47 AM
    Hi joseph,

    If admin status field is showing down value and operstatus field is showing up value,then what should be the value (normal or critical) of the "status" field of the interface?

    Regards,
    Santhosh.


  • 13.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 25, 2019 01:57 PM
    Hi joseph,

    If admin status field is showing down value and operstatus field is showing up value,then what should be the value (normal or critical) of the "status" field of the interface?

    Regards,
    Santhosh.


  • 14.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Sep 27, 2019 11:48 AM
    Hi Joseph,

    Could you please provide me the update on this.

    Regards,
    Santhosh Adapa.


  • 15.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.
    Best Answer

    Posted Sep 30, 2019 03:06 AM
    Hi Santosh,

    I just wanted to jump in and say that if the interface is admin down, that means that it is shut, so the status would be "Admin Down". Neither green nor red, it would be maintenance-brown, as Spectrum assumes this is an intentional condition.

    Best regards,

    ------------------------------
    Marcelo Zacchi
    CA Spectrum consultant
    Nets Denmark
    ------------------------------



  • 16.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Oct 17, 2019 10:14 AM
    Hi Marcelo,

    So finally we have to decide interface is down based on "oper status" field only right?

    Regards,
    Santhosh


  • 17.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Oct 18, 2019 03:56 AM
    Hi Santhosh,

    I would advise using the "Status". Using ifOperStatus only could lead you to unnecessary troubleshooting, as it would also include the interfaces that are down administratively.
    Look at this example:

    First status is admin, second is oper and third is Spectrum's status. As you can see, if you use only oper status, interface 1/21 would be down. But, as it is admin down as well, the correct assessment would be that it is off - or down on purpose.

    Hope that helps.

    Regards,


    Regards,

    ------------------------------
    Marcelo Zacchi
    CA Spectrum consultant
    Nets Denmark
    ------------------------------



  • 18.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Oct 18, 2019 11:29 AM
    Thanks Marcelo for the answers!!

    I have one query, could you please also explain about "condition" field apart of with those fields(oper, admin and status).

    Thanks,
    Santhosh


  • 19.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Oct 18, 2019 11:46 AM
    The condition will be set based on the alarm severity
    Critical --> Critical
    Major --> Major 
    Minor --> Minor

    If there are multiple alarms including Minor, Major and Critical, highest severity will be set as condition.
    Example: There are two alarms, one Major and one Critical, then condition will be Critical.

    ------------------------------
    Thank you.
    Rajashekar
    ------------------------------



  • 20.  RE: Difference between status, condition, Operstatus and Admin status in the component details of the interface in spectrum.

    Posted Oct 18, 2019 12:59 PM
    Thanks Rajasekhar, Marcelo and joseph for all the answers and explainations!!

    Regards,
    Santhosh