Specifications

Table Of Contents
snmp-server host
MP-817
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Usage Guidelines If you enter this command with no optional keywords, the default is to send all notification-type traps to
the host. No informs will be sent to the host.
The no snmp-
server host command with no keywords disables traps, but not informs, to the host. To
disable informs, use the no snmp-server host informs command.
Note If a community string is not defined using the snmp-server community command prior to using this
command, the default form of the snmp-server community command will automatically be inserted
into the configuration. The password (community string) used for this automatic configuration of the
snmp-server community will be the same as specified in the snmp-server host command. This
automatic command insertion and use of passwords is the default behavior for Cisco IOS Release 12.0(3)
and later releases.
SNMP notifications can be sent as traps or inform requests. Traps are unreliable because the receiver
does not send acknowledgments when it receives traps. The sender cannot determine if the traps were
received. However, an SNMP entity that receives an inform request acknowledges the message with a
SNMP response protocol data unit (PDU). If the sender never receives the response, the inform request
can be sent again. Thus, informs are more likely than traps to reach their intended destination.
Compared to traps, informs consume more resources in the agent and in the network. Unlike a trap,
wh
ich is discarded as soon as it is sent, an inform request must be held in memory until a response is
received or the request times out. Also, traps are sent only once; an inform may be tried several times.
The retries increase traffic and contribute to a higher overhead on the network.
If you do not enter a s
nmp-server host command, no notifications are sent. To configure the router to
send SNMP notifications, you must enter at least one snmp-server host command. If you enter the
command with no optional keywords, all trap types are enabled for the host.
12.0(23)S The l
2tun-session notification-type keyword was added.
12.0(26)S The me
mory notification-type keyword was added.
12.0(27)S
Support for SNMP over IPv6 transport was added. Either an IP or IPv6
Internet address can be specified as the hostname argument.
The vrf vrf-name keyword argument pair was integrated into Cisco IOS
Release 12.0(27)S to support multiple Lightweight Directory Protocol
(LDP) contexts for VPNs.
12.0(31)S The l
2tun-pseudowire-status notification-type keyword was added.
Release 12.2S
12.2(18)S This command was integrated into Cisco IOS Release 12.2(18)S.
12.2(25)S
The cpu notification-type keyword was added.
The memory notification-type keyword was added.
12.2(28)SB This command was integrated into Cisco IOS Release 12.2(28)SB.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(31)SB2 The ce
f notification-type keyword was added.
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.
12.2(33)SB This command was integrated into Cisco IOS Release 12.2(33)SB.
Release Modification