
173
CHAPTER 3
CLI CONFIGURATION
{ v1 | v2c | v3 }: Indicates the security model that this entry should belong to.
<security_name>: A string identifying the security name that this entry should belong to. The allowed string
length is 1 to 32, and the allowed content is ASCII characters from 0x21 to 0x7E.
<group_name>: A string identifying the group name that this entry should belong to. The allowed string
length is 1 to 32, and the allowed content is ASCII characters from 0x21 to 0x7E.
Negation:
(config)# no snmp-server security-to-group model { v1 | v2c | v3 } name <security_name>
Show:
# show snmp security-to-group [ { v1 | v2c | v3 } <security_name> ]
3.9.43.10 (config)# snmp-server trap
Syntax:
(config)# snmp-server trap
Explanation:
Enable SNMP server trap function.
Example:
Enable SNMP server trap function.
Negation:
(config)# no snmp-server trap
Show:
# show snmp
3.9.43.11 (config)# snmp-server user
Syntax:
(configt)# snmp-server user <username> engine-id <engineID> [ { md5 <md5_passwd> | sha <sha_passwd> }
[ priv { des | aes } <priv_passwd> ] ]
Explanation:
Configure SNMPv3 User settings.
Parameters:
<username: word 32>: A string identifying the user name that this entry should belong to. The allowed string
length is 1 to 32, and the allowed content is ASCII characters from 0x21 to 0x7E.
engine-id <engineID>: An octet string identifying the engine ID that this entry should belong to. The string must
contain an even number (in hexadecimal format) with number of digits between 10 and 64, but all-zeros and all-
'F's are not allowed. The SNMPv3 architecture uses the User-based Security Model (USM) for message security
and the View-based Access Control Model (VACM) for access control. For the USM entry, the usmUserEngineID
and usmUserName are the entry's keys. In a simple agent, usmUserEngineID is always that agent's own
snmpEngineID value. The value can also take the value of the snmpEngineID of a remote SNMP engine with
which this user can communicate. In other words, if user engine ID equal system engine ID then it is local user;
otherwise it is a remote user.
{ md5 <md5_passwd> | sha <sha_passwd> }: Indicates the authentication protocol that this entry should belong
to. Possible authentication protocols are:
# config t
(config)# snmp-server trap
Содержание IFS-1604GSM Series
Страница 385: ......