Configuring Snmp Notification Receivers With Vrfs; Filtering Snmp Notifications Based On A Vrf - Cisco Nexus 3548 Configuration Manual

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

Advertisement

Configuring SNMP Notification Receivers with VRFs

Configuring SNMP Notification Receivers with VRFs
You can configure Cisco NX-OS to use a configured VRF to reach the host receiver. 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.
You must configure the host before configuring the VRF reachability or filtering options.
Note
Procedure
Step 1
Step 2
Step 3
The following example shows how to configure the SNMP server host with IP address 192.0.2.1 to use the
VRF named "Blue:"
switch# configuration terminal
switch(config)# snmp-server host 192.0.2.1 use-vrf Blue
switch(config)# copy running-config startup-config

Filtering SNMP Notifications Based on a VRF

You can configure Cisco NX-OS filter notifications based on the VRF in which the notification occurred.
Procedure
Step 1
Step 2
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
126
Command or Action
switch# configure terminal
switch# snmp-server host
ip-address use-vrf vrf_name
[udp_port number]
switch(config)# copy
running-config startup-config
Command or Action
switch# configure terminal
switch(config)# snmp-server host
ip-address filter-vrf vrf_name
[udp_port number]
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. This command adds an entry into thc
ExtSnmpTargetVrfTable of the
CISCO-SNMP-TARGET-EXT-MB.
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
Purpose
Enters global configuration mode.
Filters notifications to the notification host receiver based on
the configured VRF. 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.
Configuring SNMP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents