snmp-server v3-host
The snmp-server v3-host global configuration command specifies the recipient of Simple Network
Management Protocol Version 3 notifications. To remove the specified host, use the no form of this
command.
Syntax
snmp-server v3-host {ip-address | hostname} username [traps | informs] {noauth | auth |
priv} [udp-port port] [filter filtername] [timeout seconds] [retries retries]
no snmp-server v3-host {ip-address | hostname} username [traps | informs]
•
ip-address—Specifies the IP address of the host (targeted recipient). For information
about specifying an out-of-band IP address, see the user guidelines.
•
hostname—Specifies the name of the host. (Range:1-158 characters)
•
username—Specifies the name of the user to use to generate the notification.
(Range: 1-24)
•
traps—Indicates that SNMP traps are sent to this host.
•
informs—Indicates that SNMP informs are sent to this host.
•
noauth—Indicates no authentication of a packet.
•
auth—Indicates authentication of a packet without encrypting it.
•
priv—Indicates authentication of a packet with encryption.
•
port—Specifies the UDP port of the host to use. (Range: 1-65535)
•
filtername—Specifies a string that defines the filter for this host. If unspecified, nothing
is filtered. (Range: 1-30 characters)
•
seconds—Specifies the number of seconds to wait for an acknowledgment before
resending informs. (Range: 1-300)
•
retries—Specifies the maximum number of times to resend an inform request.
(Range: 0-255)
Default Configuration
•
The default UDP port of the host to use is 162.
•
The default timeout period to wait for an acknowedgement before resending informs is
15 seconds.
•
The default maximum number of times to resend an inform request is 3.
Command Mode
Global Configuration mode
365
SNMP Commands