![D-Link DXS-3250 - xStack Switch - Stackable Cli Manual Download Page 273](http://html1.mh-extra.com/html/d-link/dxs-3250-xstack-switch-stackable/dxs-3250-xstack-switch-stackable_cli-manual_4139512273.webp)
D-Link CLI Reference Guide
Page 272
Section 22. SNMP Commands
snmp-server community
The
snmp-server community
Global Configuration mode command configures 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
][
view
view-name
] [
type
{router |}]
snmp-server community-group
community group-name
[
ip-address
] [
type
{router |}]
no snmp-server community community
[
ip-address
]
Parameters
•
community —
Community string that acts like a password and permits access to the SNMP protocol.
(Range: 1-20 characters)
•
ro
— Indicates read-only access (default).
•
rw
—Indicates read-write access.
•
su
—Indicates SNMP administrator access.
•
ip-address
— Specifies the IP address of the management station.
•
group-name
— Specifies the name of a previously defined group. A group defines the objects available to the
community. (Range: 1-30 characters)
•
view-name
— Specifies the name of a previously defined view. The view defines the objects available to the
community. (Range: 1-30 characters)
•
router
— Indicates that a community is used for SNMP access to the device only.
Default Configuration
No communities are defined.
Command Mode
Global Configuration mode
User Guidelines
The
view-name
parameter cannot be specified for
su
, which has access to the whole MIB.
The
view-name
parameter can be used to restrict the access rights of a community string. When it is specified:
An internal security name is generated.
The internal security name for SNMPv1 and SNMPv2 security models is mapped to an internal group name.
The internal group name for SNMPv1 and SNMPv2 security models is mapped to a view-name (read-view and
notify-view always, and for
rw
for write-view also)
The
group-name
parameter can also be used to restrict the access rights of a community string. When it is
specified:
An internal security name is generated.
Summary of Contents for DXS-3250 - xStack Switch - Stackable
Page 12: ...Page 11 ...
Page 46: ...ACL Commands Page 45 ...
Page 68: ...Address Table Commands Page 67 ...
Page 124: ...Ethernet Configuration Commands Page 123 ...
Page 134: ...GVRP Commands Page 133 ...
Page 144: ...IGMP Snooping Commands Page 143 ...
Page 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Page 166: ...IP Addressing Commands Page 165 ...
Page 186: ...Line Commands Page 185 ...
Page 194: ...Management ACL Commands Page 193 ...
Page 200: ...PHY Diagnostics Commands Page 199 ...
Page 208: ...Port Monitor Commands Page 207 ...
Page 216: ...Power over Ethernet Commands Page 215 ...
Page 272: ...RMON Commands Page 271 ...
Page 334: ...Spanning Tree Commands Page 333 ...
Page 428: ...VLAN Commands Page 427 ...
Page 466: ...802 1x Commands Page 465 ...