Previous page Next page

snmp-server host

Defines hosts to which SNMP traps and informs should be sent.

Syntax
snmp-server host <address> 
 
                 [ traps | informs ] 
 
                 [ version {1 | 2c} ] 
 
                 <community-string> 
 
                 [ udp-port <port> ] 
 
                 [ <family> ... ]
 

 
no snmp-server host <address> <community-string>
 
Arguments
Prerequisites

Must be in configuration (config) mode, which requires privileged-level access.

Occurrence

Available for use multiple times in the configuration.

Default

No notifications unless configured.

If informs keyword not specified, traps is assumed.

version 1

port--162

If family is not specified, all trap families that have been enabled are sent to the specified host

Description

The snmp-server host command works in conjunction with the snmp-server enable traps and snmp-server informs commands to send traps and informs to remote hosts.

If community-string is set to a value that has not been defined with the snmp-server contact command, it will be defined automatically by CNA.

Multiple family values can be specified, but only one host address per command. You specify which traps are to be sent by naming one or more families. You cannot set individual traps.

Traps (and their descriptions) are:

The traps in the v2mib and ifmib families are defined in standard MIBs, RFC1213-MIB-2.txt and interfaces-MIB.txt files respectively. The traps in the pcmib and pcmib-verbose family are defined in the Avaya enterprise MIBs.

The no form of the command disables CNA traps to the specified host.

See the CNA Appendices Guide for more information about SNMP:


Previous page Next page