Cisco nexus 3000 series Command Reference Manual page 335

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

Chapter
System Management Commands
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
Command Modes
Global configuration mode
Command History
Release
5.0(3)U1(1)
Usage Guidelines
SNMP notifications can be sent as traps or inform requests. Traps are unreliable because the receiver
does not send acknowledgments when it receives traps. The sender cannot determine if the traps were
received. However, an SNMP entity that receives an inform request acknowledges the message with an
SNMP response PDU. If the sender never receives the response, the inform request can be sent again.
Therefore, informs are more likely to reach their intended destination.
Examples
This example shows how to sends the SNMP traps to the host specified by the IPv4 address 192.168.0.10.
The community string is defined as my_acl_for_public:
switch# configure terminal
switch(config)# snmp-server community public use-acl my_acl_for_public
switch(config)# snmp-server host 192.168.0.10 my_acl_for_public
switch(config)#
This example shows how to send all inform requests to the host myhost.cisco.com using the community
string my_acl_for_public:
switch# configure terminal
switch(config)# snmp-server enable traps
switch(config)# snmp-server host myhost.cisco.com informs version 2c my_acl_for_public
switch(config)#
Related Commands
Command
show snmp host
OL-29557-04
Modification
This command was introduced.
Description
Displays information about the SNMP host.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
snmp-server host
-SM-311

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents