Configuring A Host Receiver For Snmp Notifications; Configuring Snmp For Inband Access - Cisco Nexus 5600 Series Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring a Host Receiver for SNMP Notifications

What to Do Next
To display information about configured source interfaces, enter the show snmp source-interface command.
Configuring a Host Receiver for SNMP Notifications
This configuration overrides the global source interface configuration.
Note
Complete the following steps to configure a host receiver on a source interface responsible for receiving all
SNMP notifications:
Procedure
Step 1
Step 2
To the following example configures a source interface responsible for receiving all SNMP notifications:
switch# config t
switch(config) # snmp-server host 192.0.2.1 source-interface ethernet 2/1
What to Do Next
To display information about configured source interface, enter the show snmp source-interface command.

Configuring SNMP for Inband Access

You can configure SNMP for inband access using the following:
• Using SNMP v2 without context—You can use a community that is mapped to a context. In this case,
• Using SNMP v2 with context—The SNMP client needs to specify the context by specifying a community;
• Using SNMP v3—You can specify the context.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
160
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
switch(config) # snmp-server host ip-address
source-interface if-type if-number [udp_port
number]
Example:
switch(config) # snmp-server host 192.0.2.1
source-interface traps ethernet 2/1
the SNMP client does not need to know about the context.
for example, <community>@<context>.
Configuring SNMP
Purpose
Enters global configuration mode.
Configures a host receiver for SNMPv2c
traps or informs. The ip-address can be an
IPv4 or IPv6 address. Use ? to determine the
supported interface types.
OL-31641-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents