Skip to main content

Overview

NMIS provides specialized monitoring for Huawei VRP (Versatile Routing Platform) devices through Common models that collect vendor-specific performance metrics.

Available Huawei Models

The following Common-Huawei models are available in models-default/:
  • Common-Huawei-NQA.nmis - Network Quality Analysis (similar to Cisco IP SLA)
  • Common-Huawei-Hqos.nmis - Hierarchical Quality of Service
  • Common-Huawei-cbqos.nmis - Class-Based Quality of Service
  • Common-Huawei-status.nmis - Device status and environmental monitoring

Network Quality Analysis (NQA)

Overview

Huawei NQA provides network performance measurement and SLA monitoring, similar to Cisco’s IP SLA. It measures:
  • Round-trip time (RTT)
  • Jitter (delay variation)
  • Packet loss
  • Network path quality

Model Structure

# Common-Huawei-NQA.nmis
'systemHealth' => {
  'sys' => {
    'nqaAdminCtrl' => {
      'indexed' => 'nqaAdminCtrlEntry',
      'index_oid' => '1.3.6.1.4.1.2011.5.25.111.2.1.1.1',
      'index_regex' => '\.(\d+)$',
      'headers' => 'index,nqaAdminCtrlOwnerIndex,nqaAdminCtrlStatus,nqaAdminCtrlTestName',
      'snmp' => {
        'nqaAdminCtrlOwnerIndex' => {
          'oid' => '1.3.6.1.4.1.2011.5.25.111.2.1.1.1',
          'title' => 'NQA Admin Control Owner Index'
        },
        'nqaAdminCtrlStatus' => {
          'oid' => '1.3.6.1.4.1.2011.5.25.111.2.1.1.10',
          'title' => 'NQA Admin Control Status',
          'replace' => {
            '1' => 'Active (1)',
            '6' => 'Destroy (6)',
            '4' => 'CreateAndGo (4)'
          }
        },
        'nqaAdminCtrlTestName' => {
          'oid' => '1.3.6.1.4.1.2011.5.25.111.2.1.1.2',
          'title' => 'NQA Admin Control Test Name'
        }
      }
    }
  }
}

NQA Jitter Statistics

'nqaJitterStats' => {
  'indexed' => 'nqaJJitterOut',
  'index_oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.51',
  'index_regex' => '\.4\.3\.1\.\d+\.([\d\.]+)\.\d+$',
  'headers' => 'nqaSentProbes,nqaAvgJitterDS,nqaProbeResponses,nqaRTTMin,nqaRTTMax,nqaRTTAvg',
  'snmp' => {
    'nqaSentProbes' => {
      'title' => 'Sent Probes',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.41'
    },
    'nqaProbeResponses' => {
      'title' => 'Probe Responses',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.40'
    },
    'nqaRTTMin' => {
      'title' => 'RTT Minimum',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.8'
    },
    'nqaRTTMax' => {
      'title' => 'RTT Maximum',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.9'
    },
    'nqaRTTAvg' => {
      'title' => 'RTT Average',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.46'
    },
    'nqaPacketLossSD' => {
      'title' => 'Packet Loss SD',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.34'
    },
    'nqaPacketLossDS' => {
      'title' => 'Packet Loss DS',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.35'
    },
    'nqaJitterOut' => {
      'title' => 'Jitter Out',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.51'
    },
    'nqaJitterIn' => {
      'title' => 'Jitter In',
      'oid' => '1.3.6.1.4.1.2011.5.25.111.4.3.1.52'
    }
  }
}

Collected NQA Metrics

RTT Statistics:
  • Minimum, maximum, and average round-trip time
  • RTT sum and count
  • RTT square sum (for calculating standard deviation)
Jitter Metrics:
  • Jitter in (source to destination)
  • Jitter out (destination to source)
  • Delay statistics (min/max/avg) for both directions
Packet Loss:
  • Packets lost source to destination (SD)
  • Packets lost destination to source (DS)
  • Packet loss ratio
  • Unknown packet loss
Probe Information:
  • Sent probes count
  • Probe responses received
  • Completion status

NQA Graphs

The model generates multiple graph types:
'rrd' => {
  'nqaJitterStats' => {
    'graphtype' => 'NQA-jitter-in-out,NQA-probes,NQA-rtt-mma,NQA-rtt-info,NQA-pkt-loss,NQA-jitter-delay-ds,NQA-jitter-delay-sd',
    'indexed' => 'true',
    'threshold' => 'nqaJitter_In,nqaJitter_Out'
  }
}

NQA Thresholds

'threshold' => {
  'name' => {
    'nqaJitter_In' => {
      'item' => 'nqaJitterIn',
      'event' => 'Proactive nqa Jitter In High',
      'select' => {
        'default' => {
          'value' => {
            'fatal' => '3',
            'critical' => '2.50',
            'major' => '2',
            'minor' => '1.50',
            'warning' => '1.40'
          }
        }
      }
    }
  }
}

Hierarchical QoS (HQoS)

Overview

Huawei HQoS provides per-subscriber QoS management, commonly used in access networks for traffic shaping and prioritization.

Model Structure

# Common-Huawei-Hqos.nmis
'systemHealth' => {
  'sys' => {
    'Huawei_ProfUserHQoS' => {
      'indexed' => 'true',
      'index_oid' => '.1.3.6.1.4.1.2011.5.25.132.1.29.1.6',
      'index_regex' => '2011\.5\.25\.132\.1\.29\.1\.6\.(.+)$',
      'headers' => 'ifDescr,Description,ifIndex,QueueIndex,QueueStatsDirection,QinQPeID,QinQCeID',
      'snmp' => {
        'ifIndex' => {
          'title' => 'Interface Index',
          'oid' => '.1.3.6.1.4.1.2011.5.25.132.1.29.1.1',
          'sysObjectName' => 'hwhqosProfileUserQueueStatisticsInterfaceIndex'
        },
        'QueueIndex' => {
          'title' => 'DSCP Value',
          'oid' => '.1.3.6.1.4.1.2011.5.25.132.1.29.1.6',
          'sysObjectName' => 'hwhqosProfileUserQueueStatisticsQueueIndex',
          'replace' => {
            '1' => 'be',
            '2' => 'af1',
            '3' => 'sf2',
            '4' => 'af3',
            '5' => 'af4',
            '6' => 'ef6',
            '7' => 'cs6',
            '8' => 'sc7',
            '9' => 'total'
          }
        },
        'QueueStatsDirection' => {
          'title' => 'Direction',
          'oid' => '.1.3.6.1.4.1.2011.5.25.132.1.29.1.2',
          'sysObjectName' => 'hwhqosProfileUserQueueStatisticsDirection',
          'replace' => {
            '1' => 'In',
            '2' => 'Out'
          }
        },
        'QinQPeID' => {
          'title' => 'QinQ-Ptag',
          'oid' => '.1.3.6.1.4.1.2011.5.25.132.1.29.1.3',
          'sysObjectName' => 'hwhqosProfileUserQueueStatisticsPevid'
        },
        'QinQCeID' => {
          'title' => 'QinQ-Ctag',
          'oid' => '.1.3.6.1.4.1.2011.5.25.132.1.29.1.4',
          'sysObjectName' => 'hwhqosProfileUserQueueStatisticsCevid'
        }
      }
    }
  }
}

HQoS Features

Queue Statistics per Interface:
  • Tracks traffic by DSCP value (Best Effort, AF1-4, EF, CS6, etc.)
  • Separate statistics for inbound and outbound traffic
  • QinQ VLAN tag support (PE and CE VLAN IDs)
Metrics Collected:
  • Bytes/packets passed
  • Bytes/packets dropped
  • Queue depth
  • Traffic rates
HQoS monitoring is particularly useful for ISPs and service providers managing per-subscriber bandwidth policies.

Class-Based QoS (CBQoS)

Overview

Huawei CBQoS provides similar functionality to Cisco’s CBQoS, with traffic classification, marking, and policy enforcement.

Model Structure

# Common-Huawei-cbqos.nmis
'systemHealth' => {
  'sys' => {
    'QualityOfServiceStat' => {
      'indexed' => 'hwCBQoSPolicyStatClassifierName',
      'index_oid' => '.1.3.6.1.4.1.2011.5.25.32.1.1.5.6.4.1.1',
      'index_regex' => '\.4\.1\.1\.([\d\.]+)$',
      'headers' => 'ifDescr_ClassifierName_Direction,ClassifierName,Direction,ifIndex',
      'snmp' => {
        'ClassifierName' => {
          'oid' => '.1.3.6.1.4.1.2011.5.25.32.1.1.5.6.4.1.1',
          'title' => 'QoS Name'
        },
        'Direction' => {
          'title' => 'Direction'
        },
        'ifIndex' => {
          'title' => 'Interface Index'
        }
      }
    },
    'CBQoSPolicyClass' => {
      'indexed' => 'hwCBQoSPolicyClassIndex',
      'index_regex' => '\\.(\\d+\\.\\d+)$',
      'snmp' => {
        'hwCBQoSPolicyClassClassifierName' => {
          'oid' => '1.3.6.1.4.1.2011.5.25.32.1.1.3.3.1.3',
          'title' => 'CBQoS Policy Class Classifier Name'
        },
        'hwCBQoSPolicyClassBehaviorName' => {
          'oid' => '1.3.6.1.4.1.2011.5.25.32.1.1.3.3.1.5',
          'title' => 'CBQoS Policy Class Behavior Name'
        }
      }
    }
  }
}

CBQoS Collected Data

Policy Information:
  • Policy name and direction (inbound/outbound)
  • Classifier (traffic matching rules)
  • Behavior (actions applied to matched traffic)
Statistics:
  • Matched packets and bytes
  • Passed packets and bytes
  • Dropped packets and bytes
  • Average rate

RRD Collection

'rrd' => {
  'QualityOfServiceStat' => {
    'indexed' => 'true',
    'graphtype' => 'QualityOfServiceStat',
    'snmp' => {
      'MatchedPackets' => {
        'oid' => '.1.3.6.1.4.1.2011.5.25.32.1.1.5.6.4.1.2',
        'option' => 'counter,0:U'
      },
      'MatchedBytes' => {
        'oid' => '.1.3.6.1.4.1.2011.5.25.32.1.1.5.6.4.1.3',
        'option' => 'counter,0:U'
      },
      'MatchedDropPackets' => {
        'oid' => '.1.3.6.1.4.1.2011.5.25.32.1.1.5.6.4.1.8',
        'option' => 'counter,0:U'
      },
      'MatchedDropBytes' => {
        'oid' => '.1.3.6.1.4.1.2011.5.25.32.1.1.5.6.4.1.9',
        'option' => 'counter,0:U'
      }
    }
  }
}

Including Huawei Models

To enable Huawei-specific monitoring in a custom model:
'-common-' => {
  'class' => {
    'Huawei-NQA' => {
      'common-model' => 'Huawei-NQA'
    },
    'Huawei-Hqos' => {
      'common-model' => 'Huawei-Hqos'
    },
    'Huawei-cbqos' => {
      'common-model' => 'Huawei-cbqos'
    },
    'Huawei-status' => {
      'common-model' => 'Huawei-status'
    }
  }
}

Comparison: Huawei NQA vs Cisco IP SLA

FeatureHuawei NQACisco IP SLA
MIBHUAWEI-NQA-MIBCISCO-RTTMON-MIB
Test TypesICMP, UDP, TCP, JitterEcho, Jitter, UDP, TCP, Path
Jitter SupportYesYes
RTT MeasurementYesYes
Packet LossBi-directionalUni-directional
ConfigurationCLI or SNMPCLI primarily

Next Steps

Build docs developers (and LLMs) love