EasyManua.ls Logo

Enterasys D-Series - Example

Enterasys D-Series
540 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Creating a Basic SNMP Trap Configuration
7-38 SNMP Configuration
Example
Thisexampleshowshowto:
CreateanSNMPcommunitycalledmgmt.
ConfigureatrapnotificationcalledTrapSink.
Thistrapnotificationwillbesentwiththecommunitynamemgmttotheworkstation
192.168.190.80(whichistargetaddresstr).Itwillusesecurityandauthorizationcriteriacontained
inatargetparametersentry
calledv2cExampleParams.
D2(su)->set snmp community mgmt
D2(su)->set snmp targetparams v2cExampleParams user mgmt
security-model v2c message-processing v2c
D2(su)->set snmp notify entry1 tag TrapSink
D2(su)->set snmp targetaddr tr 192.168.190.80 param v2cExampleParams taglist
TrapSink
How SNMP Will Use This Configuration
Inordertosendatrap/notificationrequestedbyaMIBcode,theSNMPagentrequiresthe
equivalentofatrap“door”,a“key”tounlockthedoor,anda“procedure”forcrossingthe
doorstep.Todetermineifalltheseelementsareinplace,theSNMPagentproceedsasfollows:
1. Determinesif
the“keys”fortrap“doors”doexist.Intheexampleconfigurationabove,the
keythatSNMPislookingforisthenotificationentrycreatedwiththesetsnmpnotify
commandwhich,inthiscase,isakeylabeledentry1.
2. Searchesforthedoorsmatchingsuchakey.Forexample,the
parameterssetfortheentry1key
showsthatitopensonlythedoorTrapSink.
3. VerifiesthatthespecifieddoorTrapSinkis,infact,available.Inthiscaseitwasbuiltusingthe
setsnmptargetaddrcommand.Thiscommandalsospecifiesthatthisdoorleadstothe
managementstation192.168.190.80,and
the“procedure”(targetparams)tocrossthedoorstep
iscalledv2ExampleParams.
4. Verifiesthatthev2ExampleParamsdescriptionofhowtostepthroughthedooris,infact,
there.Theagentcheckstargetparamsentriesanddeterminesthisdescriptionwasmadewith
thesetsnmptargetparamscommand,whichtellsexactlywhichSNMPprotocol
touseand
whatcommunitynametoprovide.Inthiscase,thecommunitynameismgmt.
5. Verifiesthatthemgmtcommunity nameisavailable.Inthiscase,ithasbeenconfiguredusing
thesetsnmpcommunitycommand.
6. Sendsthetrapnotificationmessage.

Table of Contents

Related product manuals