DX NetOps

 View Only
  • 1.  How interfaces speeds are decided for NetOps (PC CA)

    Posted Nov 18, 2020 09:36 AM
    I have a question regarding Juniper device interface speeds. I found some of the interface have 200-400% utilization, going to the interface page and found their speed are setting as 1.5MB, 10MB, 20MB, 1GB ect...
    I found out most of these interfaces are either virtual port(VLAN) or a ohysical interface with sub-IF(also consider as virtual for Juniper?)
    So I login to a Juniper device and check the interface spec, Ii picked interface ge-0/0/9 and it's sub-IF ge-0/0/9.0:

    and it is showing as 20MB(both In and Out) on NetOps:


    I guess the speed on NetOps decides the utilization percentage on the graph(that's why it could have 400% utilization percentage), but it is not the true speed for the interface and it's sub-IF. I guess the same reason applied to those VLAN interfaces.








  • 2.  RE: How interfaces speeds are decided for NetOps (PC CA)

    Broadcom Employee
    Posted Nov 18, 2020 09:51 AM
    Most likely your device is supporting the Juniper High Speed interface vendor cert...  Is that true?

    We use the IfXTable ifHighSpeed or IfTable ifSpeed to determine interface speed.    If the ifHighSpeed is set and > 20, we use it, and multiply by 100000 to get bps.
    If ifHighSpeed is not defined for the interface or < 20, we use ifSpeed value which is in bps already.

    That value is used for both In and Out speeds.  The IF tables don't have an In and Out OID we an use to differentiate.
    Utilization uses this speed value in it's calculations.  So if the SNMP agent is reporting the wrong speed, it can effect many diff expressions we calculate.

    We do provide the option to override In and Out values separately, in case the device is reporting the wrong speeds.  Can be done via DA rest, the PC UI, or DA admin UI.

    Based on the images, it appears SNMP may not be giving us a IfXTable ifHighSpeed value for the interface, or maybe it's returning 20.

    Can you use http://DA:8581/dcdebug and gather the polling config and discovery logging for the device IP?  We can see what the device is returning for ifHighSpeed and ifSpeed for that interface.


  • 3.  RE: How interfaces speeds are decided for NetOps (PC CA)

    Posted Nov 18, 2020 10:29 AM
    thanks so much Jeff!

    While I am checking other tests you instructed, I attached the logging here for your help!




    Attachment(s)

    log
    discovery.log   2.33 MB 1 version
    log
    pollingConfig.log   103 KB 1 version


  • 4.  RE: How interfaces speeds are decided for NetOps (PC CA)

    Posted Nov 18, 2020 10:55 AM
    Edited by Tao Yang Nov 18, 2020 10:56 AM
    Also I use Spectrum MIB tool on this device and get the following screenshot, they have both 0 and large values(1000 or 1000000000) in the tables:









  • 5.  RE: How interfaces speeds are decided for NetOps (PC CA)

    Broadcom Employee
    Posted Nov 18, 2020 11:08 AM
    It does appear we are reading 1000000000 and 1000 for the ifSpeed/ifHighSpeed like you see in the MIBtools for ge-0/0/9.0.

    Can you grab http://DA:8581/rest/ports/2061266  and see if SpeedInOverride or SpeedOutOverride is set?  And what SpeedIn and SpeedOut are set to?

    On PC in mysql, can you run this to see what speeds are synced to PC:

      select sourceid,itemname,IfSpeedIn,IfSpeedOut from netqosportal.dst_interface where itemid in (select itemid from netqosportal.dst_interface where localid='2061266');


  • 6.  RE: How interfaces speeds are decided for NetOps (PC CA)

    Posted Nov 18, 2020 11:27 AM
    I grab the following for localid 2061266 and 2061170(they have same MAC address which I marked as xxxxxxxx), For mysql, did you mean login to NetOps DA server and run SQL query from Linux command line? I have never tried that before, does it need special account to access MySql, which I might have to request that privilege from others.

    <Port version="1.0.0">
    <ID>2061266</ID>
    <MACAddress>xxxxxxxxxxxxxx</MACAddress>
    <SpeedIn>1.0E9</SpeedIn>
    <AdminStatus>1</AdminStatus>
    <SpeedOut>1.0E9</SpeedOut>
    <SpeedOutOverride>2.0E7</SpeedOutOverride>
    <SpeedInOverride>2.0E7</SpeedInOverride>
    <Type>53</Type>
    <OperStatus>1</OperStatus>



    <Port version="1.0.0">
    <ID>2061170</ID>
    <MACAddress>xxxxxxxxxxxxxxx</MACAddress>
    <SpeedIn>1.0E9</SpeedIn>
    <AdminStatus>1</AdminStatus>
    <SpeedOut>1.0E9</SpeedOut>
    <SpeedOutOverride>2.0E7</SpeedOutOverride>
    <SpeedInOverride>2.0E7</SpeedInOverride>
    <Type>6</Type>
    <OperStatus>1</OperStatus>






  • 7.  RE: How interfaces speeds are decided for NetOps (PC CA)
    Best Answer

    Broadcom Employee
    Posted Nov 18, 2020 11:35 AM
    yeh, as you can see, SpeedIn/Out reflect the values read from the device.  But someone has overridden speedin/out.

    You need to use the PC UI or DA admin for Polled Metric Families->Interface, find the interface and choose to override the speeds.  if you set them back to the SpeedIn/Out values, it should set override to blank, I believe.


  • 8.  RE: How interfaces speeds are decided for NetOps (PC CA)

    Posted Nov 18, 2020 11:51 AM
    Edited by Tao Yang Nov 18, 2020 12:07 PM
    I think I found what you said, 
    Appreciate for your help! I learned a lot today :)