![D-Link xStack DGS-3324SRi Скачать руководство пользователя страница 50](http://html1.mh-extra.com/html/d-link/xstack-dgs-3324sri/xstack-dgs-3324sri_command-line-interface-reference-manual_3147971050.webp)
xStack Gigabit Layer 3 Switch Command Line Interface Manual
create snmp group
Authentication
−
Determines if an SNMP message is from
a valid source.
Encryption
−
Scrambles the contents of messages to
prevent it being viewed by an unauthorized source.
noauth_nopriv
−
Specifies that there will be no authorization and
no encryption of packets sent between the Switch and a remote
SNMP manager.
auth_nopriv
−
Specifies that authorization will be required, but
there will be no encryption of packets sent between the Switch
and a remote SNMP manager.
auth_priv
−
Specifies that authorization will be required, and that
packets sent between the Switch and a remote SNMP manger will
be encrypted.
read_view
– Specifies that the SNMP group being created can
request SNMP messages.
write_view
– Specifies that the SNMP group being created has
write privileges.
<view_name 32>
−
An alphanumeric string of up to 32 characters
that is used to identify the group of MIB objects that a remote
SNMP manager is allowed to access on the Switch.
notify_view
−
Specifies that the SNMP group being created can
receive SNMP trap messages generated by the Switch’s SNMP
agent.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To create an SNMP group named “sg1:”
DGS-3324SRi:4#create snmp group sg1 v3 noauth_nopriv
read_view v1 write_view v1 notify_view v1
Command: create snmp group sg1 v3 noauth_nopriv read_view v1
write_view v1 notify_view v1
Success.
DGS-3324SRi:4#
delete snmp group
Purpose
Used to remove an SNMP group from the Switch.
Syntax
delete snmp group <groupname 32>
Description
The
delete snmp group
command is used to remove an SNMP
group from the Switch.
Parameters
<groupname 32>
−
An alphanumeric name of up to 32 characters
that will identify the SNMP group to be deleted.
42