Reference Guide

Table Of Contents
snmp-server host
Configures a host to receive SNMP traps.
Syntax
snmp-server host {hostname | ipv4address | ipv6address} {traps | version
version-number| snmp-string} [ udp-port port-number]
Parameters
hostname | ipv4address | ipv6address Enter either the name or IPv4/IPv6 address
of the host.
version-number Enter the SNMP version number to be used for notification messages. OS10
supports SNMPv1 and SNMPv2c.
snmp-string Enter SNMPv1 community string name
port-number (Optional) Enter the UDP port number, ranging from 0 to 65535.
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
The no version of this command disables the host from receiving the SNMP traps.
Example
OS10(config)# snmp-server host 10.1.1.1 traps version 1 snmptest udp-
port 1
Supported
Releases
10.2.0E or later
snmp-server location
Configures the location of the SNMP server.
Syntax
snmp-server location text
Parameters text Enter an alphanumeric string (up to 55 characters).
Default United States
Command Mode CONFIGURATION
Usage
Information
The no version of this command removes the SNMP location.
Example
OS10(config)# snmp-server location datacenter10
Supported
Releases
10.2.0E or later
snmp-server vrf
Configures an SNMP agent to receive SNMP traps for the management VRF instance.
Syntax
snmp-server vrf management
Parameters None
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
The no version of this command disables the SNMP agent from receiving the SNMP traps.
Example
OS10(config)# snmp-server vrf management
System management 517