![]() | Command: snmp-server host |
Adds SNMP trap receivers to the trap receiver table or remove trap receivers from the table.
snmp-server host {A.B.C.D | <WORD>} [port <1-165535>] v1 <WORD> [filter <WORD>]
snmp-server host {A.B.C.D | <WORD>} <WORD>
snmp-server host {A.B.C.D | <WORD>} [port <1-165535>] v2c <WORD> [filter <WORD>] [inform] [retries <0-255>] [timeout <1-2147483647>]
snmp-server host {A.B.C.D | <WORD>} [port <1-165535>] v3 {auth | no-auth | auth-priv} <WORD> [filter <WORD>] [inform] [retries <0-255>] [timeout <1-2147483647>]
default snmp-server host
no snmp-server host [A.B.C.D | <WORD>] [port <1-165535>] [v1] [v2c] [v3 <WORD>] [<WORD>]
None
Global Configuration
| Parameter | Description |
|---|---|
|
{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 |