
Creating a Basic SNMP Trap Configuration
Enterasys G-Series CLI Reference 5-37
Complete
an
SNMPv2
trap
configuration
on
a
G
‐
Series
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.
Table 5
‐
11
shows
the
commands
used
to
complete
an
SNMPv2
trap
configuration
on
a
G
‐
Series
device.
Example
This
example
shows
how
to:
•
Create
an
SNMP
community
called
mgmt
.
•
Configure
a
trap
notification
called
TrapSink
.
This
trap
notification
will
be
sent
with
the
community
name
mgmt
to
the
workstation
192.168.190.80
(which
is
target
address
tr
).
It
will
use
security
and
authorization
criteria
contained
in
a
target
parameters
entry
called
v2cExampleParams
.
G3(su)->set snmp community mgmt
G3(su)->set snmp targetparams v2cExampleParams user mgmt
security-model v2c message-processing v2c
G3(su)->set snmp notify entry1 tag TrapSink
G3(su)->set snmp targetaddr tr 192.168.190.80 param v2cExampleParams taglist
TrapSink
How SNMP Will Use This Configuration
In
order
to
send
a
trap/notification
requested
by
a
MIB
code,
the
SNMP
agent
requires
the
equivalent
of
a
trap
“door”,
a
“key”
to
unlock
the
door,
and
a
“procedure”
for
crossing
the
doorstep.
To
determine
if
all
these
elements
are
in
place,
the
SNMP
agent
proceeds
as
follows:
1.
Determines
if
the
“keys”
for
trap
“doors”
do
exist.
In
the
example
configuration
above,
the
key
that
SNMP
is
looking
for
is
the
notification
entry
created
with
the
set
snmp
notify
command
which,
in
this
case,
is
a
key
labeled
entry1
.
Table 5-11 Basic SNMP Trap Configuration
To do this...
Use these commands...
Create a community name.
set snmp community
Create an SNMP target parameters entry.
set snmp targetparams
Verify if any applicable SNMP notification
entries exist.
show snmp notify
Create a new notification entry.
set snmp notify
Create a target address entry.
set snmp targetaddr
Содержание G3G170-24
Страница 1: ...Enterasys G Series Ethernet Switch CLI Reference Firmware Version 1 00 xx P N 9034358 01...
Страница 2: ......
Страница 30: ...xxviii...
Страница 100: ...set ssl 2 56 Basic Configuration...
Страница 132: ...clear lldp port tx tlv 3 32 Discovery Protocol Configuration...
Страница 272: ...show spantree nonforwardingreason 6 52 Spanning Tree Configuration...
Страница 296: ...set garp timer 7 24 802 1Q VLAN Configuration...
Страница 384: ...clear nodealias config 11 34 Logging and Network Management...
Страница 438: ...Enabling Router Configuration Modes 14 4 Preparing for Router Mode...
Страница 514: ...show ip pimsm staticrp 16 56 IPv4 Routing Protocol Configuration...
Страница 524: ...traceroute ipv6 17 10 IPv6 Management...
Страница 602: ...show ipv6 ospf virtual link 19 46 OSPFv3 Configuration...