3com 4500 26-PORT Manuel D’Utilisation
204
C
HAPTER
8: U
SING
Q
O
S/ACL C
OMMANDS
groupname:
Group name, ranging from 1 to 32 bytes.
authentication:
If this parameter is added to configuration command, the
system will authenticate but not encrypt SNMP data packets.
privacy:
Authenticates and encrypts the packets.
read-view:
Sets read-only view.
read-view:
Read-only view name, ranging from 1 to 32 bytes.
write-view:
Sets
read-write view.
write-view:
Read-write view name, ranging from 1 to 32 bytes.
notify-view:
Sets notify view.
notify-view:
Notify view name, ranging from 1 to 32 bytes.
acl acl-number:
the number identifier of basic number-based ACLs, ranging
from 2000 to 2999
Description
Using the
snmp-agent group
command, you can configure a new SNMP group
and reference the ACL to perform ACL control to the network management users
by
by
acl
acl-number
. Using the
undo snmp-agent group
command, you can
remove a specified SNMP group.
Example
Creates a new SNMP group: MyCompany, and reference the ACL 2001 to perform
ACL control to the network management users (basic ACL 2001 has already been
defined).
ACL control to the network management users (basic ACL 2001 has already been
defined).
<4500>system-view
System View: return to User View with Ctrl+Z
[4500]snmp-agent group v1 MyCompany acl 2001
[4500]
snmp-agent usm-user
Syntax
snmp-agent usm-user { v1 | v2c } user-name group-name [ acl
acl-number ]
undo snmp-agent usm-user { v1 | v2c } user-name group-name
snmp-agent usm-user v3 user-name group-name [ authentication-mode {
md5 | sha } auth-password ] [ acl acl-number ]
undo snmp-agent usm-user v3 user-name group-name { local | engineid
engineid-string }
View
System View