3com 4500 PWR 26-PORT User Manual

Page of 466
384
C
HAPTER
 12: U
SING
 S
YSTEM
 M
ANAGEMENT
 C
OMMANDS
Configure community name as 
mgr
 and read-write access permission.
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]snmp-agent community write mgr 
[SW4500]
Delete the community name 
comaccess
.
[SW4500]undo snmp-agent community comaccess
snmp-agent group
Syntax
snmp-agent group { v1 | v2c } group_name [ read-view read-view ] [ 
write-view write-view ] [ notify-view notify-view ] [ acl acl-list ]
undo snmp-agent group { v1 | v2c } group-name
snmp-agent group v3 group-name [ authentication | privacy ] [ 
read-view read-view
 ] [ write-view write-view ] [ notify-view 
notify-view ] [ acl acl-list
 
undo snmp-agent group v3 group-name [ authentication | privacy ]
View
System view
Parameter
group-name:
 Enter a group name, up to 32 characters in length.
authentication:
 Specifies that the packet is authenticated without encryption.
privacy:
 Specifies that the packet is authenticated and encrypted.
read-view:
 Configures read-only view settings.
read-view:
 Enter a read-only view name, up to 32 characters in length.
write-view:
 Configures read and write view settings.
write-view:
 Enter a read and write view name, up to 32 characters in length.
notify-view:
 Configures notify view settings.
notify-view:
 Enter a notify view name, up to 32 characters in length.
acl acl-list
Enter the access control list for this group name. 
v3:
 Configures SNMP version 3.
Description
Use the
 snmp-agent group
 command to configure a new SNMP group, that is, 
map an SNMP user to SNMP view. 
Use the 
undo snmp-agent group
 command to delete a specified SNMP group.