Specifications

Table Of Contents
snmp-server host
MP-813
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
snmp-server host
To specify the recipient of a Simple Network Management Protocol (SNMP) notification operation, use
the snmp-server host command in global configuration mode. To remove the specified host from the
configuration, use the no form of this command.
snmp-server host {ho
stname | ip-address} [vrf vrf-name] [traps | informs] [version {1 | 2c | 3
[auth | noauth | priv]} [community-string [udp-port port] [notification-type]]
no snmp-server host {ho
stname | ip-address} [vrf vrf-name] [traps | informs] [version {1 | 2c | 3
[auth | noauth | priv]} [community-string [udp-port port] [notification-type]]
Syntax Description hostname Name of the host. The SNMP notification host is typically a network
m
anagement station (NMS) or SNMP manager. This host is the recipient of
the SNMP traps or informs.
ip-address IP address or IPv6 address of the SNMP notification host.
vrf (Optional) Specifies that a Virtual Private Network (VPN) routing and
for
warding (VRF) instance should be used to send SNMP notifications.
vrf-name (Optional) VPN VRF instance used to send SNMP notifications.
traps (Optional) Specifies that notifications should be sent as traps. This is the
defa
ult.
informs (Optional) Specifies that notifications should be sent as informs.
version (Optional) Specifies the version of the SNMP that is used to send the traps
o
r informs. The default is 1.
If you use the v
ersion keyword, one of the following keywords must be
specified:
1—SNMPv1.
2c—SNMPv2C.
3—SNMPv3. The most secure model because it allows packet
encryption with the priv keyword. The default is noauth.
One of the following three optional security level keywords can follow
th
e 3 keyword:
auth—Enables Message Digest 5 (MD5) and Secure Hash
Algorithm (SHA) packet authentication.
noauth—Specifies that the noAuthNoPriv security level applies to
this host. This is the default security level for SNMPv3.
priv—Enables Data Encryption Standard (DES) packet encryption
(also called “privacy”).
community-string Password-like community string is sent with the notification operation.
Note You can set this string using the snmp-server host command by
itself, but Cisco recommends that you define the string using the
snmp-server community command prior to using the snmp-server
host command.
Note The “at” sign (@) is used for delimiting the context information.