Specifications

Configuring SNMP
March 28, 2011 Page 11 of 27
enterasys(su)->set snmp access groupRW security-model v1 read RW write RW
notify RW
enterasys(su)->set snmp view viewname RW subtree 1
enterasys(su)->set snmp view viewname RW subtree 0.0
enterasys(su)->set snmp view viewname RW subtree 1.3.6.1.6.3.13.1 excluded
enterasys(su)->set snmp targetparams TVv1public user public security-model v1
message processing v1
enterasys(su)->set snmp targetaddr TVTrap 10.42.1.10 param TVv1public taglist
TVTraptag
enterasys(su)->set snmp notify TVTrap tag TVTrapTag
Adding to or Modifying the Default Configuration
Bydefault,SNMPv1isconfiguredonEnterasysswitches.Asinglecommunityname‐public‐is
configured,whichgrantsreadwriteaccesstothewholeMI BtreeforbothSNMPv1and
SNMPv2c.
Thebeginningcommandsequenceinthedefaultconfigurationissimilartothefirstpartofthe
previousexample.Itlookslike
this:
enterasys(su)->set snmp community public
enterasys(su)->set snmp group groupRW user public security-model v1
enterasys(su)->set snmp access groupRW security-model v1 read All write All notify
All
enterasys(su)->set snmp view viewname All subtree 1
Youcanmodifythisdefaultconfigurationasshowninthefollowingexamples.
Adding a New Community Name
UsethesecommandstoaddanewSNMPv1communitynamecallednewnamewiththesame
permissionsasthedefaultconfiguration:
enterasys(su)->set snmp community newname
enterasys(su)->set snmp group groupRW user newname security-model v1
Usethiscommandtoremovethepubliccommunitynamefromthedefaultconfiguration:
enterasys(su)->clear snmp community public
RefertoConfiguringSecureSNMPCommunityNamesonpage18foradescriptionofa
recommendedconfigurationthatwillpreventunsecuredaccesstoSNMPinformation.
Configuring SNMPv3
Procedure 2showshowtocomplete abasicSNMPv3configuration.Foradditionalconfiguration
information,referto:
•“ConfiguringanSNM Pv3InformorTrapEngineIDonpage14
•“ConfiguringanSNMPViewonpage15
Note: Any use of the parameter 'All' must be exactly as shown in this example. Any other variation
(including, but not limited to, values such as 'all' or 'ALL') will not be valid.
Note: You can leave the set snmp group groupRW user public security-model v1 statement in
the default configuration in case you want to re-activate the public community name at some point,
or can clear it as well.