169
CHAPTER 3
INTRODUCTION TO CLI
3.9.44.9 (config)# snmp-server security-to-group model
Syntax:
(configt)# snmp-server security-to-group model { v1 | v2c | v3 } name <security_name> group <group_name>
Explanation:
Configure SNMPv3 Group settings.
Parameters:
{ 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.44.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.44.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-
# config t
(config)# snmp-server trap
Содержание MSW-4424C Series
Страница 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Страница 382: ......