User manual

2
2-86
E/OS Command Line Interface User Manual
config
config.snmp.addAccessViews
Syntax addAccessViews index secModel secLevel groupName
Purpose This command sets the views for a particular entry in the access table.
This command has a one-to-one mapping with the
config.snmp.addAccessEntry command.
Parameters This command has four parameters:
Command Example
Root> config snmp addaccessview 1 internet management
experimental
config.snmp.addCommunity
Syntax addCommunity commIndex commName writeAuthorization
trapRecipient udpPortNum
Purpose This command adds an SNMP community to the SNMP
configuration and specifies a trap recipient.
Parameters This command has five parameters. Up to six community names and
trap recipients may be defined as follows:
index Index of the access entry. Valid values are 1 to 12.
readView The name of the Read View. See the View table for
possible values.
writeView The name of the Write View. See the View table for
possible values.
notifyView The name of the Notify View. See the View table for
possible values.
commIndex Specifies the community to be created or edited.
Valid values are integers in the range 1–6.
commName Specifies the community name of the community
specified by commIndex. The community name
must not exceed 32 characters in length. Valid
characters include all those in the ISO Latin-1
character set.
Duplicate community names are allowed but the
corresponding writeAuthorization values must
match.