2-5
View
System view
Parameters
v1
: SNMPv1.
v2c
: SNMPv2c.
v3
: SNMPv3.
user-name
: User name, a string of 1 to 32 characters.
group-name
: Name of the group to which the user corresponds. This argument is a string of 1 to 32
characters.
cipher
:
Specifies the authentication or encryption password to be in ciphertext.
authentication-mode
: Requires authentication. If this keyword is not provided, neither authentication
nor encryption is performed.
md5
: Adopts HMAC-MD5 algorithm.
sha
: Adopts HMAC-SHA algorithm.
auth-password
: Authentication password, a string of 1 to 64 characters in plain text, a 32-bit
hexadecimal number in cipher text if MD5 algorithm is used, and a 40-bit hexadecimal number in cipher
text if SHA algorithm is used.
privacy
: Encrypts packets.
des56
: Specifies data encryption standard (DES) for encrypting.
aes128
: Specifies advanced encryption standard (AES) for encrypting.
priv-password
: Encryption password, a string of 1 to 64 characters in plain text, a 32-bit hexadecimal
number in cipher text if MD5 algorithm is used, and a 40-bit hexadecimal number in cipher text if SHA
algorithm is used.
acl-number
: Basic ACL number, ranging from 2000 to 2999.
local
: Specifies local entity users.
engineid
-string: Engine ID associated with the user, a string of even number of hexadecimal numbers
and comprising of 10 to 64 hexadecimal digits.
Description
Use the
snmp-agent usm-user
command to add a user to an SNMP group. You can also optionally
use this command to apply an ACL for network management users.
Use the
undo snmp-agent usm-user
command to remove an SNMP user from the corresponding
SNMP group and to remove the ACL configuration on the user.
Examples
# Add a user named
aaa
to an SNMP group named
group1
, specify to require authentication, specify
the authentication protocol as
HMAC-MD5-96
and authentication password as
123
, and apply ACL
2002 to filter network management users (assuming that ACL 2002 already exists).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent usm-user v3 aaa group1 authentication-mode md5 123 acl 2002
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...