10.
SNMP Server Configuration
MN700004 Rev 01
94
Argument Description
WORD
The name of the target parameter.
SEC-NAME
The security name.
v1, v2c, v3
The security model of the target-parameter. It specifies the version of the protocol in
which the traps would be sent (
v1
, with TRAP-V1 PDU type or
v2c
and
v3
, with TRAP-
V2 PDU type).
noauth
Security level, which implies no authentication and no encryption of the PDUs.
auth
Authentication of the PDUs based on HMAC-MD5 or HMAC-SHA. No encryption.
priv
Authentication based on HMAC-MD5 or HMAC-SHA and CBC-DES encryption for the
message data.
PROFILE
(Optional) Profile name.
Example
device-name
(config)#
snmp-server target-param param1 ABC v3 auth
Defining the Notification Target Address
The
snmp-server target-addr
command, in Global Configuration mode, defines the
notification target address. The
no
form of this command, deletes the notification target
address.
Command Syntax
device-name
(config)#
snmp-server target-addr
NAME A.B.C.D
<
udp-port
>
PAR-NAME
TAG1
[
TAG2
...
TAGN
]
device-name
(config)#
snmp-server target-addr
NAME
{
addtag
|
deltag
}
TAG-NAME
device-name
(config)#
no snmp-server target-addr
NAME
NOTE
The command with addtag and deltag arguments can be used only if the notification tag
address was defined.
Argument Description
NAME
The name of the notification target address.
A.B.C.D
The IP address of the target.
udp-port
The UDP port number of the target address in the range <1-65535>.
PAR-NAME
Parameter name.
<TAG1> [<TAG2> ...
<TAGN>]
A list of tags. You can add one or more tags.
addtag
Adds the specified tag to the list.
deltag
Removes the specified tag from the list.