Cisco Cisco Packet Data Gateway (PDG) Merkblatt

Seite von 8487
Global Configuration Mode Commands (L-S)   
▀  snmp target 
 
 
▄  Cisco ASR 5x00 Command Line Interface Reference 
5254 
   
ip_address
 
Specifies the IP address of the receiver. 
ip_address
 must be specified using IPv4 dotted-decimal 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. 
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. 
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. 
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. 
informs
 | 
traps
 
Default: traps 
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. 
Example
 
snmp target sampleReceiver 1.2.3.4 security-name sampleComm 
snmp target sampleReceiver 1.2.5.6 port 100 
snmp target sampleReceiver 1.2.7.8 version 2c traps 
no snmp target sampleReceiver