S Commands
snmp-server host filter-vrf
385
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
snmp-server host filter-vrf
To configure a Simple Network Management Protocol (SNMP) host receiver to gather notifications that
occur on a specific virtual routing and forwarding (VRF) instance, use the snmp-server host filter-vrf
command. To remove the VRF filter, use the no form of this command.
snmp-server host host-address filter-vrf vrf-name [udp-port port]
no snmp-server host host-address filter-vrf vrf-name [udp-port port]
Syntax Description
Defaults None
Command Modes Global configuration mode
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure the host receiver to receive notifications from the red VRF.
switch# config terminal
switch(config)# snmp-server host 10.1.1.1 filter-vrf red
Related Commands
host-address Name or IP address of the host (the targeted recipient).
vrf-name Name of the VRF. The name can be any alphanumeric string up to 63
characters.
udp-port port (Optional) Specifies the port UDP port of the host to use. The range is from
0 to 65535. The default is 162.
Release Modification
4.0(1) This command was introduced.
Command Description
show snmp Displays SNMP information.
snmp-server host Configures an SNMP host receiver.
snmp-server host
use-vrf
Configures Cisco NX-OS to send notifications on the specified VRF to
communicate with an SNMP host receiver.