Enabling Snmp Notifications - Cisco Nexus 9000 Series Configuration Manual

Nx-os system management configuration guide, release 6.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Enabling SNMP Notifications

Step 3
Step 4
Step 5
Step 6
Enabling SNMP Notifications
You can enable or disable notifications. If you do not specify a notification name, Cisco NX-OS enables all
notifications.
Note
The snmp-server enable traps command enables both traps and informs, depending on the configured
notification host receivers.
The following table lists the commands that enable the notifications for Cisco NX-OS MIBs.
Table 10: Enabling SNMP Notifications
MIB
All notifications
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
124
Command or Action
show snmp source-interface
Example:
switch(config)# show snmp
source-interface
snmp-server host ip-address use-vrf
vrf-name [udp_port number]
Example:
switch(config)# snmp-server host
171.71.48.164 use-vrf default
show snmp host
Example:
switch(config)# show snmp host
copy running-config startup-config
Example:
switch(config)# copy
running-config startup-config
Purpose
(Optional)
Displays information about configured source interfaces.
Configures SNMP to use the selected VRF to communicate
with the host receiver. The ip-address can be an IPv4 or
IPv6 address. The VRF name can be any alphanumeric
string up to 255 characters. The UDP port number range
is from 0 to 65535. This command adds an entry into the
ExtSnmpTargetVrfTable of the
CISCO-SNMP-TARGET-EXT-MB.
Note
By default, SNMP sends the traps using the
management VRF. If you do not want to use the
management VRF, you must use this command
to specify the desired VRF.
(Optional)
Displays information about configured SNMP hosts.
(Optional)
Copies the running configuration to the startup
configuration.
Related Commands
snmp-server enable traps
Configuring SNMP

Advertisement

Table of Contents
loading

Table of Contents