SNMP Commands 247• 1— SNMPv1 traps will be used.• 2— SNMPv2 traps will be used (Default).• udp-port port — UDP port of the host to use. The default is 162. (Range: 1 - 65535)• filter filtername — A string that is the name of the filter that define the filter for thishost. If unspecified, does not filter anything. (Range : Up to 30 characters).• timeout seconds — Number of seconds to wait for an acknowledgment before resendinginforms. The default is 15 seconds. (Range :1 - 300)• retries retries — Maximum number of times to resend an inform request, when responseis not received for generated message. The default is 3. (Range: 0 - 255)Default ConfigurationThis command has no default configuration.Command ModeGlobal Configuration modeUser Guidelines• When configuring snmp v1 or v2 notification recipients, the software should automaticallygenerate notification views for those recipients, for all MIBs.ExampleThe following example specifies the recipient of Simple Network Management Protocolnotification operation.snmp-server setThe snmp-server set Global Configuration mode command sets SNMP MIB value by the CLI.Syntaxsnmp-server set variable-name name1 value1 [name2 value2 …]• variable-name — MIB variable name.• name value.— List of name and value pairs. In case of scalar MIBs there is only a singlepair of name values. In case of entry in a table the first pairs are the indexes, followed byone or more fields.Default ConfigurationThis command has no default configuration.Console (config)# snmp-server host 10.1.1.1 management 2