Cisco Cisco ASR 5000
Global Configuration Mode Commands (L-S)
snmp target ▀
Command Line Interface Reference, StarOS Release 18 ▄
5553
ip_address
Specifies the IP address of the receiver.
ip_address
must be specified using IPv4 dotted-decimal or IPv6
colon-separated-hexadecimal notation.
non-default
Specifies that this destination is only used for SNMP traps which have been specifically identified.
port
number
Default: 162
Specifies the port which is to be used in communicating with the remote receivers.
Specifies the port which is to be used in communicating with the remote receivers.
number
must be an
integer from 0 through 65535.
security-name
string
Default: no community string included
Specifies the community string to use in the unsolicited messages.
Specifies the community string to use in the unsolicited messages.
string
must be an alphanumeric string of
1 through 31 characters.
version { 1 | 2c | 3 } | view
Default: 1
Specifies the SNMP version the target supports and consequently the version of the SNMP protocol to use for
communications.
Specifies the SNMP version the target supports and consequently the version of the SNMP protocol to use for
communications.
Important:
The system can send either SNMPv1, SNMPv2c, or SNMPv3 traps to numerous target
devices.However, the Web Element Manager can only process SNMP version 1 (SNMPv1) and SNMP version 2c
(SNMPv2c) traps. If the SNMP target being configured is Web Element Manager application, then you must configure
this command to use version 1 or version 2c.
(SNMPv2c) traps. If the SNMP target being configured is Web Element Manager application, then you must configure
this command to use version 1 or version 2c.
informs
|
traps
Default: traps
Specifies the type of SNMP event to use to send notifications to SNPM targets.
Specifies the type of SNMP event to use to send notifications to SNPM targets.
traps
are unacknowledged
(fire and forget) whereas
informs
require a response from the SNMP target.
If the notification type is set to
informs
, the notification is resent if no response is received within 5
seconds. The notification is resent at most two times.
Usage
The target manages the list of remote receivers to which unsolicited messages are sent. Use this command to
add /remove a monitoring system to/from a network.
add /remove a monitoring system to/from a network.
Example
The following command configuures a target named rcvr021 at IP address 10.1.1.1 to accept version 2c traps
snmp target rcvr021 10.1.1.1 version 2c traps