C
HAPTER
22
| SNMP Commands
– 560 –
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.
E
XAMPLE
Console(config)#snmp-server enable traps link-up-down
Console(config)#
R
ELATED
C
OMMANDS
snmp-server host (560)
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.
S
YNTAX
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)
community-string
- Password-like community string sent with the
notification operation to SNMP V1 and V2c hosts. Although you can
set this string using the
snmp-server host
command by itself, we
recommend defining it with the
snmp-server community
command
Содержание ES3510MA
Страница 1: ...Management Guide www edge core com 8 Port Layer 2 Fast Ethernet Switch...
Страница 4: ...ABOUT THIS GUIDE 4...
Страница 30: ...CONTENTS 30...
Страница 40: ...FIGURES 40...
Страница 46: ...TABLES 46...
Страница 48: ...SECTION I Getting Started 48...
Страница 72: ...SECTION II Web Configuration 72...
Страница 88: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 88...
Страница 115: ...CHAPTER 4 Basic Management Tasks Resetting the System 115 Figure 23 Restarting the Switch Regularly...
Страница 116: ...CHAPTER 4 Basic Management Tasks Resetting the System 116...
Страница 154: ...CHAPTER 5 Interface Configuration VLAN Trunking 154...
Страница 216: ...CHAPTER 8 Spanning Tree Algorithm Configuring Interface Settings for MSTP 216...
Страница 350: ...CHAPTER 14 Security Measures DHCP Snooping 350...
Страница 440: ...CHAPTER 17 IP Services Displaying the DNS Cache 440...
Страница 484: ...CHAPTER 19 Using the Command Line Interface CLI Command Groups 484...
Страница 554: ...CHAPTER 21 System Management Commands Switch Clustering 554...
Страница 574: ...CHAPTER 22 SNMP Commands 574...
Страница 582: ...CHAPTER 23 Remote Monitoring Commands 582...
Страница 636: ...CHAPTER 24 Authentication Commands Management IP Filter 636...
Страница 736: ...CHAPTER 29 Port Mirroring Commands RSPAN Mirroring Commands 736...
Страница 816: ...CHAPTER 34 VLAN Commands Configuring Voice VLANs 816...
Страница 830: ...CHAPTER 35 Class of Service Commands Priority Commands Layer 3 and 4 830...
Страница 848: ...CHAPTER 36 Quality of Service Commands 848...
Страница 900: ...CHAPTER 38 LLDP Commands 900...
Страница 910: ...CHAPTER 39 Domain Name Service Commands 910...
Страница 916: ...CHAPTER 40 DHCP Commands DHCP Client 916...
Страница 948: ...CHAPTER 41 IP Interface Commands IPv6 Interface 948...
Страница 950: ...SECTION IV Appendices 950...
Страница 982: ...INDEX 982...
Страница 983: ......
Страница 984: ...ES3510MA E032010 ST R01 149100000046A...