EasyManua.ls Logo

Cisco Nexus 5600 Series - Configuring SNMP Notification Receivers with Vrfs; Filtering SNMP Notifications Based on a VRF

Cisco Nexus 5600 Series
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Configures SNMP to use the selected VRF to communicate
with the host receiver. The IP address can be an IPv4 or IPv6
switch# snmp-server host
ip-address use-vrf vrf_name
[udp_port number]
Step 2
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.
switch(config)# copy
running-config startup-config
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
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Filters notifications to the notification host receiver based on
the configured VRF. The IP address can be an IPv4 or IPv6
switch(config)# snmp-server host
ip-address filter-vrf vrf_name
[udp_port number]
Step 2
address. The VRF name can be any alphanumeric string up
to 255 characters. The UDP port number range is from 0 to
65535.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
158 OL-31641-01
Configuring SNMP
Configuring SNMP Notification Receivers with VRFs

Table of Contents

Other manuals for Cisco Nexus 5600 Series

Related product manuals