A-183
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)E2
AppendixA Command Reference
SNMP Commands
snmp-server host
To specify the recipient for SNMP notification messages, use the snmp-server host command. To
remove the specified host, use the no form of the command.
snmp-server host host-addr [traps | informs] [version [1 | 2c | 3 {auth | noauth}]]
community-string [udp-port port] [notification-type]
no snmp-server host host-addr {traps | informs}
Syntax Description host-addr Specifies the name or IP address of the targeted recipient host.
traps Sends SNMP trap notifications to this host. This is the default. (Optional)
informs Sends SNMP inform notifications to this host. (Optional)
version Specifies the version of the SNMP used to send the traps. (Optional)
Version 3 is the most secure model, as it allows packet encryption with
the priv keyword. If you use the version keyword, one of the following
must be specified:
1 SNMPv1. This option is not available with informs.
2c SNMPv2C.
3 SNMPv3. The following three optional keywords can follow the
version 3 keyword:
authEnables MD5 (Message Digest 5) and SHA (Secure Hash
Algorithm) packet authentication.
noauthGives the noAuthNoPriv security level. This is the
default if no keyword is specified.
community-string Specifies the password-like community string sent with the notification
operation. Though you can set this string using the snmp-server host
command by itself, we recommend you define this string using the
snmp-server community command prior to using the snmp-server host
command.