Chapter 5
| SNMP Commands
SNMP Target Host Commands
– 142 –
Command Mode
Global Configuration
Command Usage
◆
If you do not enter an
snmp-server enable traps
command, no notifications
controlled by this command are sent. In order to configure this device to send
SNMP notifications, you must enter at least one
snmp-server enable traps
command. If you enter the command with no keywords, both authentication
and link-up-down notifications are enabled. If you enter the command with a
keyword, only the notification type related to that keyword is enabled.
◆
The
snmp-server enable traps
command is used in conjunction with the
snmp-server host
command. Use the
snmp-server host
command to specify
which host or hosts receive SNMP notifications. In order to send notifications,
you must configure at least one
snmp-server host
command.
◆
The authentication, link-up, and link-down traps are legacy notifications, and
therefore when used for SNMP Version 3 hosts, they must be enabled in
conjunction with the corresponding entries in the Notify View assigned by the
snmp-server group
command.
Example
Console(config)#snmp-server enable traps link-up-down
Console(config)#
Related Commands
snmp-server host (142)
snmp-server host
This command specifies the recipient of a Simple Network Management Protocol
notification operation. Use the
no
form to remove the specified host.
Syntax
snmp-server host
host-addr
[
inform
[
retry
retries
|
timeout
seconds
]]
community-string
[
version
{
1
|
2c
|
3
{
auth
|
noauth
|
priv
} [
udp-port
port
]}
no snmp-server host
host-addr
host-addr
- Internet address of the host (the targeted recipient).
(Maximum host addresses: 5 trap destination IP address entries)
inform
- Notifications are sent as inform messages. Note that this option is
only available for version 2c and 3 hosts. (Default: traps are used)
retries
- The maximum number of times to resend an inform message if
the recipient does not acknowledge receipt. (Range: 0-255; Default: 3)
seconds
- The number of seconds to wait for an acknowledgment
before resending an inform message. (Range: 0-2147483647
centiseconds; Default: 1500 centiseconds)
Содержание EX-3524
Страница 2: ......
Страница 28: ...Figures 28 ...
Страница 34: ...Section I Getting Started 34 ...
Страница 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Страница 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Страница 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Страница 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Страница 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Страница 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Страница 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Страница 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Страница 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Страница 366: ...Chapter 15 Address Table Commands 366 ...
Страница 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Страница 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Страница 578: ...Section I Appendices 578 ...
Страница 594: ...Appendix C Customer Support Manuals 594 ...