SNMP

CHAPTER 16: SNMP

trap <adddelete> id=<id> [type=<v1v2inform>] [host=<host-ip>] [community=<string>] [port=<1-65534>]

The show-trap command shows the configured trap stations in tabular format. The id argument is optional and is the number corresponding to the trap entry number in the table.

show-trap [id=<id#>]

The com2sec command specifies the mapping from a source/community pair to a security name. Up to 10 entries can be specified. This part of the View based Access Control Model (VACM) as defined in RFC 2275.

com2sec <adddelete> id=<id> [secname=<name>] [source=<source>] [community=<community>]

The group command defines the mapping from sec model or a sec name to a group. A sec model is one of v1, v2c, or usm. Up to 10 entries can be specified. This part of the View based Access Control Model (VACM) as defined in RFC 2275.

group <adddelete> id=<id> [groupname=<name>] [model=<v1v2cusm>] [com2secid=<com2sec-id>]

The show-groupcommand displays all or specific group entries. The id argument is optional and is the number corresponding to the group entry number in the table

show-group [id=<id>]

The view command defines a manager or group or manager stations what it can access inside the MIB object tree. Up to 10 entries can be specified. This part of the View based Access Control Model (VACM) as defined in RFC 2275

view <adddelete> id=<id> [viewname=<name>] [type=<includedexcluded>] [subtree=<oid>] [mask=<hex-string>]

The show-viewcommand display all or specific view entries. The id argument is optional and is the number corresponding to the view entry number in the table.

show-view [id=<id>]

The user command adds user entries. The ML1200 allows up to 5 users to be added. Currently, the ML1200 agent only support noauth and auth-md5for v3 authentication and auth-desfor priv authentication.

user <adddelete> id=<id> [username=<name>] [usertype=<readonlyreadwrite>] [authpass=<pass-phrase>]

[privpass=<pass-phrase>] [level=<noauthauthpriv>] [subtree=<oid>]

The show-usercommand displays all or specific view entries. The id is optional and is the number corresponding to the view entry number in the table.

show-user [id=<id>]

16.2.2 Example

The following example shows how to configure SNMP.

16–6

MULTILINK ML1200 MANAGED FIELD SWITCH – INSTRUCTION MANUAL

Page 260
Image 260
GE ML1200 instruction manual Show-trap id=id#, Show-group id=id, Show-view id=id, Show-user id=id