Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring SNMP (Rev. 03)
Simple Network Management Protocol
© 2008 Foundry Networks, Inc.
Page 27 of 48
Every notification that was sent through the network is logged. The log entry includes the target
addresses to which it was sent.
When this command is applied, one entry per notification is added for each IP address that the
notification was destined to, including the sequence ID for each of the IP addresses.
NOTE
Those notifications that are not sent to a management station due to a
configuration error are not logged.
Command Syntax
device-name
(config)#[
no
]
snmp-server log-sent-notify
Clearing the SNMP Notification Log
The
clear snmp-server log-notify
command in Privileged (Enable) mode, clears the SNMP
notification log.
Command Syntax
device-name
#
clear snmp-server log-notify
Defining the Notification Target Parameter
The
snmp-server target-param
command, in Global Configuration mode, defines the notification
target parameter. The
no
form of this command removes the notification target parameter.
The SNMP server target parameter sets the trap security parameters and specifies the user that
sends the trap to the target address. The target parameter defines the security level -
noAuthNoPriv
,
AuthNoPriv
or
AuthPriv
. The user data contains the keys for the trap PDU encryption. Optionally
the user can define a target profile that represents a set of filters, which restrict the access to the
MIB tree for trap sending.
Command Syntax
device-name
(config)#
snmp-server target-param NAME USER-NAME v1
[
PROFILE-
NAME
]
device-name
(config)#
snmp-server target-param NAME USER-NAME v2c
[
PROFILE-
NAME
]
device-name(
config)#
snmp-server target-param NAME USER-NAME v3
{
auth
|
noauth
|
priv
} [
PROFILE-NAME
]
device-name
(config)#
no snmp-server target-param NAME
Argument Description
NAME
The name of the target parameter.
USER-NAME
The name of the user on the host that connects to the agent.
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, v2c
with TRAP-V2 PDU type OR v3, with TRAP-V2 PDU type).