D-Link DIS-200G-12PS [112/172] Command default level

D-Link DIS-200G-12S [112/172] Command default level
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
109
25-9
snmp-server community
This command is used to configure the community string to access the SNMP. Use the
no
form of this
command to remove the community string,
snmp-server community
COMMUNITY-STRING
[ro | rw]
no snmp-server community
COMMUNITY-STRING
Parameters
COMMUNITY-STRING
Specifies the community string with a maximum of 32 characters.
Spaces are not allowed here.
ro
(Optional) Specifies read-only access.
rw
(Optional) Specifies read-write access.
Default
Community
Access right
private
Read/Write
public
Read Only
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
This command provides an easy way to create a community string for SNMPv1 and SNMPv2c management.
When creating a community with the snmp-server community command, two SNMP group entries, one for
SNMPv1 and one for SNMPv2c, which has the community name as their group names are created.
Example
This example shows how to create a new community named “IFCOM”with read-only access right.
Switch# configure terminal
Switch(config)# snmp-server community IFCOM ro
Switch(config)#

Содержание

Скачать