SNMP Commands
snmp-server v3-host
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 344
26
User Guidelines
When configuring an SNMPv1 or SNMPv2 notification recipient , a notification view
for that recipient is automatically generated for all the MIB.
When configuring an SNMPv1 notification recipient, the Inform option cannot be
selected.
If a trap and inform are defined on the same target, and an inform was sent, the
trap is not sent.
Example
The following example enables SNMP traps for host 10.1.1.1 with community string
“management” using SNMPv2.
Console(config)# snmp-server host 10.1.1.1 management 2
snmp-server v3-host
The snmp-server v3-host Global Configuration mode command specifies the
recipient of Simple Network Management Protocol Version 3 notifications. Use the
no form of this command to remove the specified host.
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]
Parameters
ip-address
— Specifies the IP address of the host (targeted recipient).
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.