Configuring A Source Interface For 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

Configuring a Source Interface for SNMP Notifications

Step 4
Step 5
Configuring a Source Interface for SNMP Notifications
You can configure SNMP to use the IP address of an interface as the source IP address for notifications. When
a notification is generated, its source IP address is based on the IP address of this configured interface.
You can configure a source interface as follows:
• All notifications sent to all SNMP notification receivers.
• All notifications sent to a specific SNMP notification receiver. This configuration overrides the global
Configuring the source interface IP address for outgoing trap packets does not guarantee that the device
Note
will use the same interface to send the trap. The source interface IP address defines the source address
inside of the SNMP trap, and the connection is opened with the address of the egress interface as source.
Procedure
Step 1
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
120
Command or Action
Example:
switch(config)# snmp-server host
192.0.2.1 informs version 2c public
snmp-server host ip-address {traps |
informs} version 3 {auth | noauth | priv}
username [udp_port number]
Example:
switch(config)# snmp-server host
192.0.2.1 informs version 3 auth NMS
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
source interface configuration.
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
Purpose
Configures a host receiver for SNMPv3 traps or
informs. The ip-address can be an IPv4 or IPv6
address. The username can be any alphanumeric string
up to 255 characters. The UDP port number range is
from 0 to 65535.
The SNMP manager must know the user
Note
credentials (authKey/PrivKey) based on the
SNMP engine ID of the Cisco NX-OS device
to authenticate and decrypt the SNMPv3
messages.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Configuring SNMP

Advertisement

Table of Contents
loading

Table of Contents