Configuring Snmp Notification Receivers With Vrfs - Cisco Nexus 3548 series Configuration Manual

Nx-os system management, release 7.x
Hide thumbs Also See for Nexus 3548 series:
Table of Contents

Advertisement

Configuring SNMP
Command
switch(config)# snmp-server host ip-address
{traps | informs} version 3 {auth | noauth |
priv} username [udp_port number]
Note
The SNMP manager must know the user credentials (authKey/PrivKey) based on the SNMP engineID of the
Cisco Nexus device to authenticate and decrypt the SNMPv3 messages.
The following example shows how to configure a host receiver for an SNMPv1 trap:
switch(config)# snmp-server host 192.0.2.1 traps version 1 public
The following example shows how to configure a host receiver for an SNMPv2 inform:
switch(config)# snmp-server host 192.0.2.1 informs version 2c public
The following example shows how to configure a host receiver for an SNMPv3 inform:
switch(config)# snmp-server host 192.0.2.1 informs version 3 auth NMS

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.
Note
You must configure the host before configuring the VRF reachability or filtering options.
Procedure
Step 1
Step 2
Command or Action
switch# configure terminal
switch# snmp-server host ip-address use-vrf
vrf_name [udp_port number]
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
Configuring SNMP Notification Receivers with VRFs
Purpose
Configures a host receiver for SNMPv2c 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.
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.
99

Advertisement

Table of Contents
loading

Table of Contents