Download Chapter 2 Port Configuration

Transcript
Authkey is authentication key. Unauthenticated key is in the range of 16 byte (using md5
key folding) or 20 byte (using SHA-1 key folding). Authenticated key is in the range of 16
byte (using md5 key folding) or 24 byte (using SHA-1 key folding).
Privkey is encrpted key. Unencypted key ranes from 16 byte, and encrypted key ranes
from 16 byte.
Keyword encrypt-authpassword、encrypt-authkey、encrypt-privpassword、encrypt-privkey
are only used in command line created by compile to prevent leaking plain text password
and key. When deconfiguring SNMP, user cannot use above keywords.
For example:
!Add user “user1” for local engine to group “grp1”,and configure this user not to use
authentication and encryption.
QTECH(config)# snmp-server user user1 grp1
!Add user “user2” for local engine to group “grp2”,and configure this user to use md5
authentication and non-encryption with the auth-password to be 1234
QTECH(config)# snmp-server user user2 grp2 auth md5 auth-password 1234
!Add user “user3” for local engine to group “grp3”,and configure this user to use md5
11-47