Command: snmp-server host

Home | Command modes | Alphabetical listing

snmp-server host

Adds SNMP trap receivers to the trap receiver table or remove trap receivers from the table.

Syntax

Default

None

Command mode

Global Configuration

Command parameters

ParameterDescription

{A.B.C.D | <WORD>}

Specifies the address of a host for the trap destination.

<WORD>

If you use the proprietary method for SNMP, this parameter specifies a community string that works as a password and permits access to the SNMP protocol.

filter <WORD>

inform

Generates acknowledge Inform requests.

port <1-165535>

Specifies a value for the SNMP trap port.

retries <0-255>

Specifies the retries for inform requests.

timeout <1-2147483647>

Specifies the timeout for inform requests (centi-seconds).

v1 <WORD>

To configure the standards-based tables, using v1 creates trap receivers in the SNMPv3 MIBs. Multiple trap receivers with varying access levels can be created.

v2c <WORD>

To configure the new standards-based tables, using v2c creates trap receivers in the SNMPv3 MIBs. Multiple trap receivers with varying access levels can be created.

v3 {auth | no-auth | auth-priv} <WORD>

To configure the new standards-based tables, using v3 creates trap receivers in the SNMPv3 MIBs. Multiple trap receivers with varying access levels can be created. Auth specifies SNMPv3 traps are sent using authentication and no privacy. noauth specifies SNMPv3 traps are sent using with no authentication and no privacy. auth-priv specifies traps are sent using authentication and privacy; this parameter is available only if the image has full SHA/DES support. <WORD> specifies the username