Enabling Snmp Notifications - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring SNMP
Step 2
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.
Command or Action
snmp-server source-interface traps
if-type if-number
Example:
switch(config)# snmp-server
source-interface traps ethernet
1/2
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
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Enabling SNMP Notifications
Purpose
Globally configures a source interface for sending out
SNMP traps. Use ? to determine the supported interface
types.
You can configure the source interface at the global level
or at a host level. When the source interface is configured
globally, any new host configuration uses the global
configuration to send the traps.
To configure a source interface at the host level,
Note
use the snmp-server host ip-address
source-interface if-type if-number command.
(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.
By default, SNMP sends the traps using the
Note
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.
191

Advertisement

Table of Contents
loading

Table of Contents