
Creating a Basic SNMP Trap Configuration
6-36
SNMP Configuration
Parameters
Defaults
None.
Mode
Switch
command,
read
‐
write.
Example
This
example
shows
how
to
delete
SNMP
notify
profile
“area51”:
C2(su)->clear snmp notifyprofile area51 targetparam v3ExampleParams
Creating a Basic SNMP Trap Configuration
Traps
are
notification
messages
sent
by
an
SNMPv1
or
v2
agent
to
a
network
management
station,
a
console,
or
a
terminal
to
indicate
the
occurrence
of
a
significant
event,
such
as
when
a
port
or
device
goes
up
or
down,
when
there
are
authentication
failures,
and
when
power
supply
errors
occur.
The
following
configuration
example
shows
how
to
use
CLI
commands
to
associate
SNMP
notification
parameters
with
security
and
authorization
criteria
(target
parameters),
and
map
the
parameters
to
a
management
target
address.
Complete
an
SNMPv2
trap
configuration
on
a
SecureStack
C2
device
as
follows:
1.
Create
a
community
name
that
will
act
as
an
SNMP
user
password.
2.
Create
an
SNMP
target
parameters
entry
to
associate
security
and
authorization
criteria
to
the
users
in
the
community
created
in
Step
1.
3.
Verify
if
any
applicable
SNMP
notification
entries
exist,
or
create
a
new
one.
You
will
use
this
entry
to
send
SNMP
notification
messages
to
the
appropriate
management
targets
created
in
Step 2.
4.
Create
a
target
address
entry
to
bind
a
management
IP
address
to:
–
The
notification
entry
and
tag
name
created
in
Step
3
and
–
The
target
parameters
entry
created
in
Step
2.
shows
the
commands
used
to
complete
an
SNMPv2
trap
configuration
on
a
SecureStack
C2
device.
profile
Specifies
an
SNMP
filter
notify
name
to
delete.
targetparam
targetparam
Specifies
an
associated
entry
in
the
snmpTargetParamsTable.
Note:
This example illustrates how to configure an SNMPv2 trap notification. Creating an
SNMPv1 or v3 Trap, or an SNMPv3 Inform notification would require using the same commands
with different parameters, where appropriate. Always ensure that v1/v2 communities or v3 users
used for generating traps or informs are pre-configured with enough privileges to access
corresponding MIBs.
Table 6-11
Basic SNMP Trap Configuration
To do this...
Use these commands...
Create a community name.
Содержание SecureStack C2
Страница 1: ...SecureStack C2 Stackable Switches Configuration Guide Firmware Version 5 1 xx P N 9033991 16 ...
Страница 2: ......
Страница 28: ...xxvi ...
Страница 106: ...set ssl 3 52 Basic Configuration ...
Страница 226: ...Creating a Basic SNMP Trap Configuration 6 38 SNMP Configuration ...
Страница 278: ...show spantree nonforwardingreason 7 52 Spanning Tree Configuration ...
Страница 302: ...set garp timer 8 24 802 1Q VLAN Configuration ...
Страница 448: ...show dhcp pool configuration 14 30 DHCP Server Configuration ...
Страница 454: ...no license advanced 15 6 Preparing for Router Mode ...