Configuring SNMP 353
snmp-server v3-host {
ip-
address
|
hostname
}
username
{traps |
informs} [noauth | auth
| priv] [timeout
seconds
] [retries
retries
]
[udpport
port
] [filter
filtername
]
For SNMPv3, configure the system to receive SNMP traps
or informs.
ip-address
— Specifies the IP address of the host
(targeted recipient).

hostname

— Specifies the name of the host. (Range: 1-
158 characters.)

username

— Specifies user name used to generate the
notification. (Range: 1-25 characters.)
traps
— Indicates that SNMP traps are sent to this host.
informs
— Indicates that SNMPv2 informs are sent to
this host.
noauth
— Specifies sending of a packet without
authentication.
auth
— Specifies authentication of a packet without
encrypting it
priv
— Specifies authentication and encryption of a
packet.
seconds
— Number of seconds to wait for an
acknowledgment before resending informs. This is not
allowed for hosts configured to send traps. The default is
15 seconds. (Range: 1-300 seconds.)

retries

— Maximum number of times to resen d an inform
request. This is not allowed for hosts configured to send
traps. The default is 3 attempts. (Range: 0-255 retries.)
port
— UDP port of the host to use. The default is 162.
(Range: 1-65535.)

filter-name

— Specifies the optional filter (defined with
the
snmp-server filter
command) to use for the host.
(Range: 1-30 characters.)
exit Exit to Privileged EXEC mode.
show trapflags View the status of the configurable SNMP traps.
Command Purpose