177
CHAPTER 3
CLI CONFIGURATION
3.9.43.19 (config-snmps-host)# version
Syntax:
(config-snmps-host)# version { v1 [ <v1_comm> ] | v2 [ <v2_comm> ] | v3 [ probe | engineID
<v_word10_to_32> ] [ <securtyname> ] }
Parameters:
{ v1 [ <v1_comm> ] | v2 [ <v2_comm> ] | v3 [ probe | engineID <v_word10_to_32> ] [ <securtyname> ] }: Specify
one of the SNMP versions.
v1 [v1_comm]:
Support SNMPv1 and trap community access string when sending SNMP trap packet. The
allowed string length is 0 to 255, and the allowed content is ASCII characters from 0x21 to 0x7E.
v2 [v2_comm]:
Support SNMPv2c and trap community access string when sending SNMP trap packet. The
allowed string length is 0 to 255, and the allowed content is ASCII characters from 0x21 to 0x7E.
v3 [ probe | engineID <v_word10_to_32> ] [ <securtyname> ]:
Support SNMPv3.
[ probe | engineID <v_word10_to_32> ]:
Indicates the SNMP trap probe security engine ID or SNMP
trap security engine ID. SNMPv3 sends traps and informs use USM for authentication and privacy. A
unique engine ID for these traps and informs is needed. When "Trap Probe Security Engine ID" is
enabled, the ID will be probed automatically. Otherwise, the ID specified in this field is used. 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.
[ <securtyname> ]:
Indicates the SNMP trap security name. SNMPv3 traps and informs use USM for
authentication and privacy. A unique security name is needed when traps and informs are enabled.
Explanation:
Configure SNMP version and its corresponding values.
Example:
Support SNMPv2c version.
Negation:
(config-snmps-host)# no version
3.9.43.20 (config-snmps-host)# informs retries
Syntax:
(config-snmps-host)# informs retries <retries> timeout <timeout>
Explanation:
Configure SNMP trap retry times and timeout.
Parameters:
<retries>: Indicates the SNMP trap inform retry times. The allowed range is 0 to 255.
<timeout>: Indicates the SNMP trap inform timeout. The allowed range is 0 to 2147.
Negation:
(config-snmps-host)# no informs
# config t
(config-snmps-host)# version v2 public
Содержание IFS-1604GSM Series
Страница 385: ......