HP PC Blade Switch CLI Reference Guide
www.hp.com
21-1
21
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
]
snmp-server community-group
community group-name
[
ip-address
]
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)
Default Setting
The community PUBLIC is set with read-only access. No write communities are defined by
default.
Command Mode
Global Configuration mode
Command Usage
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.
Содержание Bc1500 - BladeSystem - Blade PC
Страница 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Страница 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Страница 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Страница 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Страница 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Страница 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Страница 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Страница 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Страница 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Страница 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Страница 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Страница 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...