C
OMMAND
L
INE
I
NTERFACE
4-132
Example
Related Commands
snmp-server enable traps (4-132)
snmp-server enable traps
This command enables this device to send Simple Network Management
Protocol traps or informs (i.e., SNMP notifications). Use the
no
form to
disable SNMP notifications.
Syntax
[
no
]
snmp-server enable traps
[
authentication
|
link-up-down
]
•
authentication
- Keyword to issue authentication failure
notifications.
•
link-up-down
- Keyword to issue link-up or link-down
notifications.
Default Setting
Issue authentication and link-up-down traps.
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.
Console(config)#snmp-server host 10.1.19.23 inform retries 10
timeout 30 batman version 2c udp-port 162
Console(config)#
Summary of Contents for 6128L2
Page 2: ......
Page 21: ...CONTENTS xvii Glossary Index ...
Page 22: ...CONTENTS xviii ...
Page 26: ...TABLES xxii ...
Page 40: ...INTRODUCTION 1 10 ...
Page 54: ...INITIAL CONFIGURATION 2 14 ...
Page 193: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 257: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Page 313: ...COMMAND GROUPS 4 13 PE Privileged Exec VC VLAN Database Configuration ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......