How to implement remote ping on our devices through snmp network management ?

Created Oct 23, 2018 09:18:34Latest reply Oct 31, 2018 09:25:37 448 13 10 0

[Problem background]

XXX customers want to implement remote ping on our devices through snmp network management.

 

[Steps]

1. Configure the SNMP agent on the AR and four commands in system view:

Snmp-agent community complexity-check disable

Snmp-agent community read public

Snmp-agent community write private

Snmp-agent sys-info version all

 

2. Open the mib browser and connect to the device

3. Find the pingCtlEntry table

091756abldb0qlz2nn8z2b.png

 

4. Right-click on the pingCtrlEntry table and select Multiple Variable BindingsPrompt For Instance...

Set to 1.49.1.49, the format is a.b.c.d, where a and c have no meaning, b represents the administrator name of the test case, d represents the test case name, b and d cannot be the same.

 

5. Set the required options

091757nbrhubeh9uau0hff.png

 

Note that the pingCtlType node has an OID and the supported OID is in the pingImplementationTypeDomains table.

 

When setting the OID, the commonly used ones are:

1.3.6.1.2.1.80.3.1 (pingIcmpEcho)

1.3.6.1.2.1.80.3.2 (pingUdpEcho)

In addition, our current ip address type only supports Ipv4

091758ygvcyfslhyziyjht.png

 

6. View the test case results, walk pingResultsTable this table:

The results are as follows:

 

091759rlpdyv8ll48bvyik.png

 

7. In fact, the principle of remote ping is to establish an NQA test instance on the device. You can check whether the remote ping test is successfully delivered by checking whether the NQA test instance is generated on the device.

091759y2t1ff0bwk8fdnnz.png

 

 

  • x
  • convention:

Finn92  Novice   Created Oct 23, 2018 09:22:05 Helpful(0) Helpful(0)

By default, the SNMP Agent is disabled.

Usage Scenario

The SNMP Agent is an agent process on a device on the network. The SNMP Agent maintains managed network devices by responding to the NMS request and reporting management data to the NMS. To configure SNMP on a device, the SNMP Agent must be enabled. The snmp-agent command enables the SNMP Agent.

Configuration Impact

After SNMP Agent is enabled using the snmp-agent command, the listening ports for IPv4 and IPv6 services are both enabled.

After SNMP Agent is disabled using the undo snmp-agent command, the listening ports for IPv4 and IPv6 services are both disabled.

 

 

This post was last edited by Finn92 at 2018-10-31 16:48.
  • x
  • convention:

SupperRobin  Novice   Created Oct 23, 2018 09:22:48 Helpful(0) Helpful(0)

By executing the snmp-agent command with any parameter enables the SNMP agent function. For example, if you execute the snmp-agent community command, the community name gets created and also SNMP agent function is enabled.
    To configure SNMP functions using the command, you do not need to run the snmp-agent command to enable the SNMP agent function.
    To configure SNMP functions using the configuration file, you need to run the snmp-agent command in the configuration file; otherwise, you cannot enable SNMP functions.

This post was last edited by SupperRobin at 2018-10-31 14:39.
  • x
  • convention:

yangyong  Adept   Created Oct 23, 2018 09:25:09 Helpful(0) Helpful(0)

I have encountered this question about you. I have checked a lot of information, but I still have not answered this question clearly. Thank you for sharing this knowledge and solving my doubts. I hope that you can continue to update such knowledge points. Thank you. !
  • x
  • convention:

Torrent     Created Oct 23, 2018 09:28:51 Helpful(0) Helpful(0)

1. Configure the SNMP agent on the AR and four commands in system view:

Snmp-agent community complexity-check disable

Snmp-agent community read public

Snmp-agent community write private

Snmp-agent sys-info version all


this show us how to configure snmp, thanks very much . we learned from it.

This post was last edited by Torrent at 2018-10-31 15:07.
  • x
  • convention:

littlestone     Created Oct 23, 2018 16:40:38 Helpful(0) Helpful(0)

 all member switches use the same stack domain ID. All member switches must use the same stack domain ID. Otherwise, they cannot set up a stack.

If member switches use different stack domain IDs, run the stack member { member-id | all } domain domain-id command to change their stack domain IDs to the same

This post was last edited by littlestone at 2018-10-31 13:59.
  • x
  • convention:

GongXiaochuan  Adept   Created Oct 23, 2018 16:42:26 Helpful(0) Helpful(0)

the software looks like very useful , thanks

This post was last edited by GongXiaochuan at 2018-10-30 13:56.
  • x
  • convention:

Good Good Study Day Day Up
Lieza     Created Oct 24, 2018 09:46:51 Helpful(0) Helpful(0)

Great. Thanks for sharing
  • x
  • convention:

GongXiaochuan  Adept   Created Oct 26, 2018 14:16:22 Helpful(0) Helpful(0)

very clearly steps for how to doing this , thank you for sharing , please keep on post

This post was last edited by GongXiaochuan at 2018-10-31 14:04.
  • x
  • convention:

Good Good Study Day Day Up
Mark.hu  Adept   Created Oct 26, 2018 14:29:08 Helpful(0) Helpful(0)

The steps are very clear, at least now I have read a little bit about how to implement remote ping through snmp network management. I have been obsessed with snmp before, but at least I know how to use this now. thanks for sharing This post was last edited by Mark.hu at 2018-10-31 14:16.
  • x
  • convention:

12
Back to list

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top