
CP6923
Management Commands
Page 7 - 25
CP6923 CLI Reference Manual
7.8.12
snmptrap
This command adds an SNMP trap receiver. The maximum length of
<name>
is 16 case-sensitive alphanumeric
characters. The
<snmpversion>
is the version of SNMP. The version parameter options are snmpv1 or snmpv2.
The SNMP trap address can be set using both an IPv4 address format as well as an IPv6 global address format.
Example:
The following shows an example of the CLI command.
(admin #) snmptrap mytrap ip6addr 3099::2
7.8.12.1
no snmptrap
This command deletes trap receivers for a community.
7.8.13
snmptrap snmpversion
This command modifies the SNMP version of a trap. The maximum length of
<name>
is 16 case-sensitive
alphanumeric characters. The
<snmpversion>
parameter options are snmpv1 or snmpv2.
7.8.14
snmptrap ipaddr
This command assigns an IP address to a specified community name. The maximum length of name is 16 case-
sensitive alphanumeric characters.
Note:
The
<name>
parameter does not need to be unique, however; the
<name>
and
<ipaddr>
pair
must be unique. Multiple entries can exist with the same
<name>
, as long as they are associated with a
different
<ipaddr>
. The reverse scenario is also acceptable. The
<name>
is the community name used
when sending the trap to the receiver, but the
<name>
is not directly associated with the SNMP
Community Table, See “snmp-server community” on page39.”
Default
snmpv2
Format
snmptrap
<name> <ipaddr> [snmpversion <snmpversion>]
Mode
Global Config
Format
no snmptrap
<name> <ipaddr>
Mode
Global Config
Note:
This command does not support a “no” form.
Default
snmpv2
Format
snmptrap snmpversion
<name> <ipaddr> <snmpversion>
Mode
Global Config
Note:
IP addresses in the SNMP trap receiver table must be unique. If you make multiple entries using
the same IP address, the first entry is retained and processed. All duplicate entries are ignored.
Format
snmptrap ipaddr
<name> <ipaddrold> <ipaddrnew>
Mode
Global Config
Содержание CP6923
Страница 4: ...Page iv ...
Страница 35: ...Using the Command Line Interface Chapter 1 1 Page 1 1 CP6923 CLI Reference Manual CP6923 ...
Страница 44: ...Using the Command Line Interface CP6923 CP6923 CLI Reference Manual Page 1 10 ...
Страница 45: ...Switching Commands Chapter 1 2 Page 2 1 CP6923 CLI Reference Manual CP6923 ...
Страница 174: ...Switching Commands CP6923 CP6923 CLI Reference Manual Page 2 130 ...
Страница 175: ...Quality of Service Commands Chapter 1 3 Page 3 1 CP6923 CLI Reference Manual CP6923 ...
Страница 213: ...Routing Commands Chapter 1 4 Page 4 1 CP6923 CLI Reference Manual CP6923 ...
Страница 285: ...Multicast Commands Chapter 1 5 Page 5 1 CP6923 CLI Reference Manual CP6923 ...
Страница 314: ...Multicast Commands CP6923 CP6923 CLI Reference Manual Page 5 30 ...
Страница 315: ...Utility Commands Chapter 6 Page 6 1 CP6923 CLI Reference Manual CP6923 ...
Страница 387: ...Management Commands Chapter 1 7 Page 7 1 CP6923 CLI Reference Manual CP6923 ...
Страница 428: ...Management Commands CP6923 CP6923 CLI Reference Manual Page 7 42 ...
Страница 429: ...CP6923 Page A 1 CP6923 CLI Reference Manual Getting Help Appendix A ...
Страница 434: ...CP6923 Page B 1 CP6923 CLI Reference Manual FASTPATH log messages Appendix B ...
Страница 450: ...CP6923 Page C 1 CP6923 CLI Reference Manual List of Commands Appendix C ...