20 snmp commands, 1 snmp-server community, Syntax – Planet Technology WGSD-8000 User Manual

Page 288

Advertising
background image

User’s Manual of WGSD-1022/WGSD-8000

- 288 –

5.20 SNMP Commands

5.20.1 snmp-server community

The snmp-server community global configuration command sets up the community access string to permit access to the

SNMP protocol. To remove the specified community string, use the no form of this command.

Syntax

snmp-server community community

[ro | rw | su] [ip-address]

snmp-server community-group community group-name

[ip-address]

no snmp-server community string

[ip-address]

ƒ

community — Character string that acts like a password and permits access to the SNMP protocol. (Range: 1 - 20

characters)

ƒ

ro — Specifies read-only access.

ƒ

rw — Specifies read-write access.

ƒ

su — Specifies SNMP administrator access.

ƒ

ip-address — Management station IP address. Default is all IP addresses. An out-of-band IP address can be specified as

described in the usage guidelines.

ƒ

group-name — Name of a previously defined group. The group defines the objects available to the community. (Range: 1

- 30 characters)

ƒ

The

View-name

command cannot be specified for su, which has access to the whole MIB. However, the View-name

command can be used to restrict the access rights of a community string.

Specifying a view-name parameter does the following:

ƒ

Generates an internal security-name.

ƒ

Maps the internal security-name for SNMPv1 and SNMPv2 security models to an internal group-name.

ƒ

Maps the internal group-name for SNMPv1 and SNMPv2 security models to view-name (read-view and notify-view

always, and for rw for write-view also)

The group-name command can be used to restrict the access rights of a community string.

Specifying a group-name parameter does the following:

ƒ

Generates an internal security-name.

ƒ

Maps the internal security-name for SNMPv1 and SNMPv2 security models to the group-name.

To define a management station on the out-of-band port, use the out-of-band IP address format —oob/ipaddress.

For a user to define OOB management port configurations, such as ip address, default gateway, RADIUS, and so forth, you

must define two SNMP communities. A super user can configure OOB management port settings with a single community, by

switching between the two communities.

The OOB/ip address indicates whether the selected management station being configured is an OOB management station.

The type is used for a different purpose. From an SNMP perspective, the OOB port is treated as a separate device. Therefore,

when defining an SNMP community, the administrator must indicate which tables are being configured. If type is oob, this

indicates that OOB tables are being configured. If type is router, it means that the device's tables are being configured.

Advertising