2 example, Xample – GE ML1600 User Manual

Page 252

Advertising
background image

16–6

MULTILINK ML1600 ETHERNET COMMUNICATIONS SWITCH – INSTRUCTION MANUAL

CONFIGURING SNMP THROUGH THE COMMAND LINE INTERFACE

CHAPTER 16: SNMP

trap <add|delete> id=<id> [type=<v1|v2|inform>] [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 <add|delete> 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 <add|delete> id=<id> [groupname=<name>] [model=<v1|v2c|usm>]
[com2secid=<com2sec-id>]

The

show-group

command 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 <add|delete> id=<id> [viewname=<name>] [type=<included|excluded>]
[subtree=<oid>] [mask=<hex-string>]

The

show-view

command 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 ML1600 allows up to 5 users to be added.

Currently, the ML1600 agent only support

noauth

and

auth-md5

for v3 authentication and

auth-des

for

priv

authentication.

user <add|delete> id=<id> [username=<name>] [usertype=<readonly|readwrite>]
[authpass=<pass-phrase>]
[privpass=<pass-phrase>] [level=<noauth|auth|priv>] [subtree=<oid>]

The

show-user

command 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.

Advertising