Snmp-Server Enable Traps - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

45
881
Example
The following example displays the SNMP engine ID.
switchxxxxxx#
show snmp engineID
Local SNMP engineID: 08009009020C0B099C075878
IP address
Remote SNMP engineID
-----------
-------------------------------
172.16.1.1
08009009020C0B099C075879

45.18 snmp-server enable traps

To enable the device to send SNMP traps, use the snmp-server enable traps
Global Configuration mode command. To disable all SNMP traps, use the no form
of the command.
Syntax
snmp-server enable traps
no snmp-server enable traps
Default Configuration
SNMP traps are enabled.
Command Mode
Global Configuration mode
User Guidelines
If no snmp-server enable traps has been entered, you can enable failure traps by
using
snmp-server trap authentication
Example
The following example enables SNMP traps except for SNMP failure traps.
switchxxxxxx(config)# snmp-server enable traps
switchxxxxxx(config)# no snmp-server trap authentication
Network Management Protocol (SNMP) Commands
as shown in the example.
OL-32830-01 Command Line Interface Reference Guide

Advertisement

Table of Contents
loading

Table of Contents