10.
SNMP Server Configuration
MN700004 Rev 01
88
Example 3
The following example shows how to remove a defined user named
IVAN
from an associated
group
ACC
:
device-name
(config)#
no
snmp-server user IVAN group ACC v3
Configuring the SNMP Notification Log
The
snmp-server log-notify
command in Privileged (Enable) mode, enables the SNMP
notification log. When used without arguments, the command enables logging of all
notifications to the internal Flash memory. The
no
form of this command disables the SNMP
notification log and clears its content.
Command Syntax
device-name#
snmp-server log-notify
[<
Tag
>]
device-name#
no
snmp-server log-notify
[<
Tag
>]
Argument Description
Tag
Name of the tag associated with the notifications to be logged. If the parameter is not
supplied, logging of all notifications is enabled/disabled.
NOTE
If logging of particular notifications has been disabled with a specific (with an
argument)
no
snmp-server log-notify
Tag1
command, using the general (without
the argument)
snmp-server log-notify
command will not enable them. In this case,
you have to explicitly enable these notifications. E.g. if you have set
device-name#no snmp-server log-notify Tag1
then using
device-name#snmp-server log-notify
will enable all notifications except those associated with
Tag1
. To enable them, use
device-name#snmp-server log-notify Tag1
Clearing the SNMP Notification Log
The
clear snmp-server log-notify
command in Privileged (Enable) mode erases the content
the SNMP notification log.
Command Syntax
device-name#
clear snmp-server log-notify
Controlling the Access to the Switch
Table 10-2 lists the commands used for controlling the following access functions: