xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
create snmp group
messages.
write_view
– Specifies that the SNMP group being created has write privileges.
notify_view
−
Specifies that the SNMP group being created can receive SNMP trap
messages generated by the Switch’s SNMP agent.
•
<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.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To create an SNMP group named “sg1:”
DGS-3612G: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-3612G: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 with which the new SNMP user will be
associated.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To delete the SNMP group named “sg1”.
DGS-3612G:4#delete snmp group sg1
Command: delete snmp group sg1
Success.
DGS-3612G:4#
show snmp groups
Purpose
Used to display the group-names of SNMP groups currently configured on
the Switch. The security model, level, and status of each group are also
displayed.
Syntax
show snmp groups
Description
The
show snmp groups
command displays the group-names of SNMP
groups currently configured on the Switch. The security model, level, and
status of each group are also displayed.
36