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.
Syntax Description
host-addr
udp-port port
informs | traps
version 1 | 2c | 3
vrf vrf-instance
community-string
Cisco ME 3400 Ethernet Access Switch Command Reference
2-546
snmp-server host host-addr [informs | traps] [version {1 | 2c | 3 {auth | noauth| priv}] [vrf
vrf-instance] {community-string [notification-type]}
no snmp-server host host-addr [informs | traps] [version {1 | 2c | 3 {auth | noauth | priv}] [vrf
vrf-instance] community-string
Name or Internet address of the host (the targeted recipient).
(Optional) Configure the User Datagram Protocol (UDP) port number of the
host to receive the traps. The range is from 0 to 65535.
(Optional) Send SNMP traps or informs to this host.
(Optional) Version of the SNMP used to send the traps.
These keywords are supported:
1—SNMPv1. This option is not available with informs.
2c—SNMPv2C.
3—SNMPv3. These optional keywords can follow the Version 3 keyword:
•
•
•
Note
(Optional) Virtual private network (VPN) routing instance and name for this
host.
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.
Note
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
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 | priv] keyword choice is not specified.
priv (Optional). Enables Data Encryption Standard (DES) packet
encryption (also called privacy).
The priv keyword is available only when the cryptographic
(encrypted) software image is installed.
The @ symbol is used for delimiting the context information. Avoid
using the @ symbol as part of the SNMP community string when
configuring this command.
OL-9640-07