Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring SNMP (Rev. 03)
Simple Network Management Protocol
© 2008 Foundry Networks, Inc.
Page 29 of 48
Example 2
device-name
(config)#
snmp-server target-addr XYZ addtag tag2
Enabling Sending snmpSetExecuted Notifications
The
snmp-server set-execute-trap
command in Global Configuration mode, enables sending
snmpSetExecuted
notifications upon each successful SET request. The
no
form of this command
disables sending
snmpSetExecuted
notifications.
Command Syntax
device-name
(config)#
snmp-server set-execute-trap
device-name
(config)#
no snmp-server set-execute-trap
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.snmpEnableAuthTraps.
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 the user needs to supply filters that do not match the user’s definition.
NOTE
Before the user uses this command, it is recommended that the user reads RFC
3413 section 6.
When the user creates target profiles, the user is required to include
snmpTrapOID.0 in the profile.
NOTE
It is recommended to first define the Notification Target Parameter (target-param)
and Target Address (target-addr) and then the Target Profile. Otherwise the user
will receive an error message.
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
}