Cisco Cisco Packet Data Gateway (PDG)
Global Configuration Mode Commands (L-S)
snmp target ▀
Command Line Interface Reference, StarOS Release 17 ▄
5491
snmp target
Configures remote receivers for SNMP notifications.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration
configure
Entering the above command sequence results in the following prompt:
[local]host_name(config)#
Syntax
snmp target name ip_address [ port number ] [ non-default ] [ security-name string ] [
version { 1 | 2c | 3 | view ] [ security-level { noauth | { auth | priv-auth privacy [
encrypted ] des privpassword } authentication [ encrypted ] { md5 | sha } authpassword }
} [ informs | traps ]
version { 1 | 2c | 3 | view ] [ security-level { noauth | { auth | priv-auth privacy [
encrypted ] des privpassword } authentication [ encrypted ] { md5 | sha } authpassword }
} [ informs | traps ]
no snmp target name
no
Removes the specified target as a receiver of unsolicited SNMP messages (traps).
authentication { md5 | sha }
authpassword
Reads the authentication type and password if the security level of the SNMP messages is set to
auth
or
priv-auth
. Authentication types are:
md5
: Configures the hash-algorithm to implement MD5 per RFC 1321.
sha
: Specifies that the hash protocol is Secure Hash Algorithm.
security-level
{ noauth | { auth | priv-auth privacy [ encrypted ] des
privpassword
}
Sets the security level of the SNMPv3 messages, as follows:
noauth
: No authentication and encryption is used.
auth
: Only authentication will be used.
priv-auth
: Both authentication and encryption will be used.
privacy des
privpassword
: Reads the privacy type and password.
name
Specifies a logical name to use to refer to the remote receiver.
name
must be an alphanumeric string of 1
through 31 characters.