Got it

SNMP configuration (3)

Latest reply: Aug 5, 2021 05:54:52 763 19 15 0 1


Hello, everyone!



Today I will continue to show the SNMP configuration. I will show commands for SNMP configuration. This is the third and main article about SNMP configuration.



1. Commands for set the SNMP version, location and contact


TEST(config)#snmp-agent sys-info location ni


TEST(config)#snmp-agent sys-info version v2c


TEST(config)#snmp-agent sys-info contact vlada


And command for display all of these information:


TEST(config)#display snmp-agent sys-info

{ <cr>|contact<K>|location<K>|version<K>||<K> }:


Command:

display snmp-agent sys-info

The contact person for this managed node:

vlada


The physical location of this node:

ni


SNMP version running in the system:

SNMPv2c



2. Commands for display and configure read and write community name:


TEST(config)#display snmp-agent community read

{ <cr>||<K> }:


Command:

display snmp-agent community read


Total number is 0


TEST(config)#snmp-agent community read cipher "xxxxxxxxx"


TEST(config)#display snmp-agent community read

{ <cr>||<K> }:


Command:

display snmp-agent community read

Community name: xxxxxxxxx

Storage type: nonVolatile

View name: ViewDefault


Total number is 1


TEST(config)#display snmp-agent community write

{ <cr>||<K> }:


Command:

display snmp-agent community read


Total number is 0


TEST(config)#snmp-agent community write cipher "xxxxxxxxx"


TEST(config)#display snmp-agent community write

{ <cr>||<K> }:


Command:

display snmp-agent community write

Community name: xxxxxxxxx

Storage type: nonVolatile

View name: ViewDefault


Total number is 1



3. Commands for configuring trap messages


The command for trap message enable:


TEST(config)#snmp-agent trap enable standard


The command for setting a target host:


TEST(config)#snmp-agent target-host trap-hostname "acs" address x.x.x.x udp-port 162 trap-paramsname "xxx"


The command for configuring the parameters for sending traps:


TEST(config)#snmp-agent target-host trap-paramsname "xxx" v2c securityname cipher "xxx" trap-filterprofilename "xxx"



4. Commands for display trap format and source:


TEST(config)#display snmp-agent trap-format

{ <cr>||<K> }:


Command:

display snmp-agent trap-format

System trap format: standard


TEST(config)#display snmp-agent trap-source

{ <cr>||<K> }:


Command:

display snmp-agent trap-source

trap source interface: auto




Thank you!



Reference:



The post is synchronized to: Author groupVlada85's Author Collection

Thanks for your sharing.
View more
  • x
  • convention:

andersoncf1
MVE Author Created Jul 14, 2021 13:00:13

Good sharing friend. Congrats
View more
  • x
  • convention:

I will try those commands
View more
  • x
  • convention:

ulrichwandja
ulrichwandja Created Jul 16, 2021 19:11:08 (0) (0)
 
Good
View more
  • x
  • convention:

zaheernew
MVE Author Created Jul 15, 2021 03:51:14

SNMP configuration (3)-4034133-1
View more
  • x
  • convention:

Good
View more
  • x
  • convention:

Good
View more
  • x
  • convention:

Thanks for sharing!! SNMP configuration (3)-4034987-1
View more
  • x
  • convention:

Useful post friend, 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.