S Commands
snmp-server host use-vrf
386
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
snmp-server host use-vrf
To configure the device to communicate with a Simple Network Management Protocol (SNMP) host
receiver on a specific virtual routing and forwarding (VRF) instance, use the snmp-server host use-vrf
command. To return to the default, use the no form of this command.
snmp-server host host-address use-vrf vrf-name [udp-port port]
no snmp-server host host-address use-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 Cisco NX-OS to communicate with the host receiver on the blue
VRF.
switch# config terminal
switch(config)# snmp-server host 10.1.1.1 use-vrf blue
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
filter-vrf
Sends only notifications on the specified VRF to the host receiver.