Specifications

2-258
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
snmp-server host
snmp-server host
Use the snmp-server host global configuration command to specify the recipient (host) of a Simple
Network Management Protocol (SNMP) notification operation. Use the no form of this command to
remove the specified host.
snmp-server host host-addr [informs | traps] [version {1 | 2c | 3 [auth | noauth | priv]}]
community-string [alarms | c2900 | cluster | config | entity | envmon | hsrp | mac-notification
| rtr | snmp | tty | udp-port | vlan-membership | vtp]
no snmp-server host host-addr [informs | traps] [version {1 | 2c | 3 [auth | noauth | priv]}]
community-string [alarms | c2900 | cluster | config | entity | envmon | hsrp | mac-notification
| rtr | snmp | tty | udp-port | vlan-membership | vtp]
Syntax Description host-addr Name or Internet address of the host (the targeted recipient).
informs | traps (Optional) Send SNMP traps or informs to this host.
version 1 | 2c | 3 (Optional ) Version of SNMP used to send the traps.
These keywords are supported:
1SNMPv1. This option is not available with informs.
2cSNMPv2C.
3SNMPv3. These optional keywords can follow the version 3 keyword:
auth (Optional). Enables Message Digest 5 (MD5) and Secure Hash
Algorithm (SHA) packet authentication.
noauth (Default). The noAuthNoPriv security level. This is the
default if the [auth | noauth] keyword choice is not specified.
priv (Optional). Enables Data Encryption Standard (DES) packet
encryption (also called privacy).
Note The priv keyword is available only when the crypto (encrypted)
software image is installed.
community-string Password-like community string sent with the notification operation.
Though you can set this string by using the snmp-server host command,
we recommend that you define this string by using the snmp-server
community global configuration command before using the snmp-server
host command.
alarms (Optional) Send SNMP alarm traps.
c2900 (Optional) Send SNMP switch traps.
cluster (Optional) Send cluster member status traps.
config (Optional) Send SNMP configuration traps.
entity (Optional) Send SNMP entity traps.
envmon (Optional) Send enviromental monitor (EnvMon) traps.
hsrp (Optional) Send Hot Standby Router Protocol (HSRP) traps.
mac-notification (Optional) Send MAC notification traps.
rtr (Optional) Send SNMP Response Time Reporter traps.
snmp (Optional) Send SNMP-type traps.