Got it

How to configure the SNMP v2 and v3 protocols on eSight and simulate a link down alarm? [Configuration guide]

Latest reply: Sep 30, 2018 06:20:10 2286 11 17 0 0

Hello everyone! This post talks about the procedure of how to configure the SNMP v2 and v3 protocols on eSight and simulate a link-down alarm. Please see more details below.


[SNMP v2] The CE switch is used as an example. You only need to replace the red font.


 

//snmp v2 configuration


snmp-agent sys-info version all


snmp-agent mib-view include iso-view iso


snmp-agent community read public555 mib-view iso-view


snmp-agent community write private555 mib-view iso-view


//v2 alarm configuration


snmp-agent trap enable


snmp-agent target-host trap address udp-domain 10.179.118.117 udp-port 162 params securityname public555 v2c


snmp-agent trap source GigabitEthernet0/0/0


Parameter description


version all means v1/v2c/v3.


public555 Read community


private555 write community


10.179.118.117 NMS IP address (The floating IP address is configured when the 10.179.118.117 is deployed in a local two-node cluster.)


Default output port of the SNMP trap on the GigabitEthernet0/0/0


[SNMP v3] The CE switch is used as an example. You only need to replace the red font.


 

//snmp v3 configuration:


snmp-agent sys-info version all


snmp-agent mib-view include iso-view iso


snmp-agent group v3 LDPgroup privacy read-view iso-view write-view iso-view notify-view iso-view


snmp-agent usm-user v3 LDP group LDPgroup


snmp-agent usm-user v3 LDP authentication-mode md5 public555


snmp-agent usm-user v3 LDP privacy-mode aes128 private555


//v3 Alarm Configuration


snmp-agent target-host trap address udp-domain 10.179.118.117 params securityname LDP v3 privacy


snmp-agent trap source Ethernet0/0/0


snmp-agent trap enable


Parameter description 

 

LDPgroup user group (not displayed on eSight)


LDP user name


public555 authentication password


private555 encryption password


10.179.118.117 NMS IP address (The floating IP address is configured when the 10.179.118.117 is deployed in a two-node cluster.)


Default SNMP trap output port on the GigabitEthernet0/0/0


Note:

 

1. Run the commit command to commit the configuration.

 

2. How to obtain the default trap egress?

 

dis ip interface brief

 

The interface with the same IP address as the device is.

This is what I want to talk about/share with you today, thank you!

Any more doubt , please don’t hesitate to let me know , I will try the best to help you soon:)
View more
  • x
  • convention:

Thanks for sharing. Just curious, which command above will trigger link down alarm?
View more
  • x
  • convention:

Posted by zChan at 2018-09-14 03:41 Thanks for sharing. Just curious, which command above will trigger link down alarm?
snmp-agent target-host trap address udp-domain 10.179.118.117 udp-port 162 params securityname public555 v2c .....When an alarm is generated on a switch or device, the trapbuffer information will be sent to the NMS through this command.
View more
  • x
  • convention:

Very good. Thanks for sharing. How to configure the SNMP v2 and v3 protocols on eSight and simulate a link down alarm? [Configuration guide]-2750401-1
View more
  • x
  • convention:

it's useful
thanks for posting
View more
  • x
  • convention:

Hi,
Thanks for sharing. It's very useful but I have one suggestion :
snmp-agent trap source GigabitEthernet0/0/0 -> it's not so recommended to use a physical interface as the source of sending traps as this interface may go down due to some reasons.
It's more recommended to use a loopback interface or VLANIF.:)
View more
  • x
  • convention:

Thanks for sharing the good knowledge, its very helpful and understanding !
View more
  • x
  • convention:

Very good sharing....thanks
View more
  • x
  • convention:

that's very well explanation
thank you
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect 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 are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including 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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.