5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
84
location Loc
Select a system location up to 255 characters in length.
sysname sysname
Select a system name up to 255 characters in length.
user user
Select a new SNMP v3 user on the host that can connect to the agent
(up to 30 characters).
V3-host v3-host
Select a group name (up to 30 characters) to specify the recipient of the
SNMP notification.
view-name view
Select a label to display the record, create or update.
Default
The default is None.
Command Mode
Global Config
4-92
snmp-server community
This command is used to add (name) a new SNMP community, and can also be used (optionally) to set
the access mode, to set the allowed IP address, and to create a view for the community.
The
no
command is used to remove the community name in question from the table. That is, the name
specified indicates the community name that is to be deleted.
Note:
The community names listed in the SNMP Community Table must all be unique. As such when
multiple entries are made using the same community name, the first of those entries is kept and
processed, while all the duplicate entries are ignored.
snmp-server community community-name [{ro | rw | su}] [ipaddress ip-address] [view view-name]
no snmp-server community community-name
Parameters
community-name
Indicates a community name associated with the switch, as well as with
the set of SNMP managers that manage it at
a specified level of
privilege. The length of a given
community-name
may be a maximum of
16 case-sensitive characters.
ro | rw | su
(Optional) Indicates the access mode for the SNMP community, which
can be public (Read-Only/RO), private (Read-Write/RW), or Super User
(SU).
ipaddress ip-address
(Optional) Indicates the associated community SNMP packet sending
address. It is used in conjunction with the client IP mask value in order
to specify the range of IP addresses from which the SNMP clients may
utilize that community so as to access the device. Setting a value of
0.0.0.0 will allow access from any IP address. Otherwise, this value is
added with the mask in order to specify the range of allowed client IP
addresses.
view view-name
(Optional) Indicates the name of the view to be created or updated.
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...