What are the OIDs of CPU and memory usage MIBs on S series switch

33

On S series switches (except S1700), you can view CPU usage and memory usage through MIB OIDs:
- hwEntityCpuUsage 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5, used to query CPU usage
- hwEntityCpuUsageThreshold 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.6, used to query CPU usage alarm threshold
- hwEntityMemUsage 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.7, used to query memory usage
- hwEntityMemUsageThreshold 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.8, used to query memory usage alarm threshold

Other related questions:
What is the OID of the MIB object used for CPU usage query
The OID of the MIB object used for CPU usage query is 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5. You can use this OID and the corresponding index to query CPU usage of a card.

View CPU usage and memory usage on s series switch
For S series switches except S1700 switches, you can run commands to display CPU and memory usage. - display cpu-usage [ slave | slot slot-id ]: displays CPU usage statistics. - display cpu-usage configuration [ slave | slot slot-id ]: displays CPU usage configuration. - display memory-usage [ slave | slot slot-id ]: displays memory usage statistics. - display memory-usage threshold [ slot slot-id ]: displays the alarm threshold for memory usage. For S series switches and E series switches except S1700 switches, you can check CPU and memory usage through the related MIB OIDs. - hwEntityCpuUsage 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5: provides CPU usage. - hwEntityCpuUsageThreshold 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.6: provides the alarm threshold for CPU usage. - hwEntityMemUsage 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.7: provides memory usage. - hwEntityMemUsageThreshold 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.8: provides the alarm threshold for memory usage.

Method of querying CPU usage on an AR router
Query CPU usage by running the following commands on an AR router: - display cpu-usage [ slot slot-id ] Or display cpu-usage [ process process-id ] [ slave ] - display cpu-usage configuration [ slave | slot slot-id ]. This command is used to query configuration information about CPU usage. Query CPU usage based on the NMS OID on an AR router: - hwEntityCpuUsage 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5, querying CPU usage - hwEntityCpuUsageThreshold 1.3.6.1.4.1.2011.5.25.31.1.1.1.1.6, querying alarm thresholds for CPU usage Query CPU usage through the web NMS on an AR router: Log in to the web NMS, and choose Device Information > Device Information to view the CPU usage item.

MIB node of CPU usage
The HUAWEI-CPU-MIB file is used to query CPU usage information of the SRU and interface card. The hwCpuDevTable is used to describe CPU usage. The OID prefix of the table is 1.3.6.1.4.1.2011.6.3.4.1. The indexes of the table are hwFrameIndex, hwSlotIndex, and hwCpuDevIndex. hwCpuDevIndex [1] Integer32 This node is used for expansion. On a single-CPU router, this value is 0. not-accessible For the SRU, the value 0 indicates the information of the primary core, and a value from 1 to 255 indicates the information of a secondary core. Example: 5 indicates that the CPU usage of the primary core of the SRU is 27% and the CPU usage of the secondary core 1 is 1%. ***** SNMP QUERY STARTED ***** 1: hwCpuDevDuty.0.0.0 (integer) 27 2: hwCpuDevDuty.0.0.1 (integer) 1 3: hwAvgDuty1min.0.0.0 (integer) 27 4: hwAvgDuty1min.0.0.1 (integer) 1 5: hwAvgDuty5min.0.0.0 (integer) 27 6: hwAvgDuty5min.0.0.1 (integer) 1 ***** SNMP QUERY FINISHED *****

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top