H3C V7 Switch check SNMP history interaction information method

2023-12-30 22:36:05 Published
  • 0 Followed
  • 0Collected ,3265Browsed

Network Topology

Null

Problem Description

When the NMS (Network Management System, such as H3C IMC) cannot read or control the H3C Comware V7 platform switch:

If the fault has always existed, you can turn on the relevant debugging on the switch to observe the switch receiving/sending SNMP messages in real time; However, if the fault has been automatically recovered or automatically disappeared, at this time, how can managers troubleshoot the historical cause of the fault?

Process Analysis

【View】

    probe view

【Command】

    display system internal snmp-agent packet receive 

    display system internal snmp-agent packet send


For example:

[H3C]probe

[H3C-probe]display system internal snmp-agent packet receive

[H3C-probe]display system internal snmp-agent packet send 

Solution

With the above commands, you can check the switch receive/send related SNMP MIB node history for the corresponding time nodes of RX and TX inside the switch.

[H3C] probe

[H3C-probe] display system internal snmp-agent packet receive

MIB name                         Type      Param         NMS IP         ID           User       RX time

 sysUpTime.0                    Get        0:0              100.3.x.xxx   80837     public     01-14 12:47:46:919

 ifHCInUcastPkts.23          Get        0:0              100.3.x.xxx     80837     public     01-14 12:47:46:919

 ifHCInMulticastPkts.23     Get       0:0              100.3.x.xxx     80837      public     01-14 12:47:46:919

 ifHCInBroadcastPkts.23    Get       0:0              100.3.x.xxx     80837      public     01-14 12:47:46:919

......


[H3C-probe]display system internal snmp-agent packet send 

MIB name                                    NMS IP                  ID                TX time 

sysUpTime.0                                100.3.x.xxx              80837          01-14 12:47:46:936 

ifHCInUcastPkts.23                      100.3.x.xxx              80837          01-14 12:47:46:936 

ifHCInMulticastPkts.23                100.3.x.xxx              80837          01-14 12:47:46:936

......


Attention: If you find that the switch has received SNMP request messages at the relevant historical point in time through the above commands, but there is no SNMP response, you can feedback them to Pub H3CTS for technical support after collecting the following commands individually under the probe view.

[H3C-probe]display udp verbose

[H3C-probe]display system internal snmp-agent packet timed-out 

[H3C-probe]display system internal snmp-age operation timed-out 


Please rate this case:   
0 Comments

No Comments

Add Comments: