10.
SNMP Server Configuration
MN700004 Rev 01
95
TAG-NAME
The name of the added/removed tag.
Example 1
device-name
(config)#
snmp-server target-address XYZ 192.168.0.121 162 param1
tag1
Example 2
device-name
(config)#
snmp-server target-address XYZ addtag tag2
Enabling Sending Authentication Failure Traps
The
snmp-server authentication-failure-trap
command
,
in Global Configuration mode,
enables sending authentication-failure traps. The
no
form of this command disables the
authentication-failure trap.
This command controls the value of MIB-II mib-2.snmp.snmpEnableAuthenTraps.
Command Syntax
device-name
(config)#
snmp-server authentication-failure-trap
device-name
(config)#
no snmp-server authentication-failure-trap
Defining a Notification Target Profile
The
snmp-server target-profile
command, in Global Configuration mode, includes or
excludes a branch of the MIB tree in a notification profile. The
no
form of this command
removes the notification target profile. Use this command only if you need to supply filters
that do not match the user definition.
In most cases the user can use the user defined filters by applying the
snmp-server user
command in Global Configuration mode.
NOTE
Before you use this command, it is recommended that you read RFC 3413 section 6.
When you create target profiles, it is required that you include snmpTrapOID.0 in the profile.
Command Syntax
device-name
(config)#
snmp-server target-profile
PROFILE-NAME
OBJECT-ID
{
included
|
excluded
} [
MASK
]
device-name
(config)#
no snmp-server target-profile
PROFILE-NAME
OBJECT-ID
{
included
|
excluded
}
Argument Description
PROFILE-NAME
The name of the profile.
OBJECT-ID
The starting point inside the MIB tree given in dot-notation or as an object
name.
included
The Object-ID is included in the profile.
excluded
The Object-ID is excluded from the profile.