Configuring Snmp Notification Receivers With Vrfs - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring SNMP
Procedure
Step 1
Step 2
Step 3

Configuring SNMP Notification Receivers with VRFs

SNMP adds entries into the cExtSnmpTargetVrfTable of the CISCO-SNMP-TARGET-EXT-MIB when you
configure the VRF reachability and filtering options for an SNMP notification receiver.
Note
You must configure the host before configuring the VRF reachability or filtering options.
You can configure Cisco NX-OS to use a configured VRF to reach the host receiver or to filter notifications
based on the VRF in which the notification occurred.
Procedure
Step 1
Step 2
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
snmp-server user name [auth {md5 | sha}
passphrase [auto] [priv [aes-128] passphrase]
[engineID id]
Example:
switch(config)# snmp-server user NMS auth
sha abcd1234 priv abcdefgh engineID
00:00:00:63:00:01:00:10:20:15:10:03
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
[no] snmp-server host ip-address
use-vrf vrf-name [udp_port
number]
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Configuring SNMP Notification Receivers with VRFs
Purpose
Enters global configuration mode.
Configures the notification target user with
the specified engine ID for the notification
host receiver. The engine ID format is a
12-digit colon-separated decimal number.
(Optional)
Copies the running configuration to the
startup configuration.
Purpose
Enters global configuration mode.
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.
189

Advertisement

Table of Contents
loading

Table of Contents