Configuring Snmp To Send Traps Using An Inband Port - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring SNMP to Send Traps Using an Inband Port

Step 3
Step 4
Configuring SNMP to Send Traps Using an Inband Port
You can configure SNMP to send traps using an inband port. To do so, you must configure the source interface
(at the global or host level) and the VRF used to send the traps.
Procedure
Step 1
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
190
Command or Action
Example:
switch(config)# snmp-server
host 192.0.2.1 use-vrf Blue
[no] snmp-server host ip-address
filter-vrf vrf-name [udp_port
number]
Example:
switch(config)# snmp-server
host 192.0.2.1 filter-vrf Red
copy running-config
startup-config
Example:
switch(config)# copy
running-config startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
Purpose
This command adds an entry into the ExtSnmpTargetVrfTable
of the CISCO-SNMP-TARGET-EXT-MB.
The no form of this command removes the VRF reachability
information for the configured host and removes the entry from
the ExtSnmpTargetVrfTable of the
CISCO-SNMP-TARGET-EXT-MB.
This command does not remove the host
Note
configuration.
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.
This command adds an entry into the ExtSnmpTargetVrfTable
of the CISCO-SNMP-TARGET-EXT-MB.
The no form of this command removes the VRF filter
information for the configured host and removes the entry from
the ExtSnmpTargetVrfTable of the
CISCO-SNMP-TARGET-EXT-MB.
This command does not remove the host
Note
configuration.
(Optional)
Copies the running configuration to the startup configuration.
Purpose
Enters global configuration mode.
Configuring SNMP

Advertisement

Table of Contents
loading

Table of Contents