Administrator Guide

Table Of Contents
Switch Management Commands 2137
Example
The following example displays setting up the system contact point as
“Dell_Technical_Support”.
console(config)# snmp-server contact Dell_Technical_Support
snmp-server enable traps
Use the snmp-server enable traps command in Global Configuration mode to
enable sending SNMP traps globally or to enable sending individual SNMP
traps. Use the no form of this command to disable sending SNMP traps
individually or globally.
Syntax
snmp-server enable traps [acl | all | auto-copy-sw | bgp state-changes
limited |buffers |captive-portal cp-type | cpu |dot1q | dvrmp | link | port-
security [trap-rate] | multiple-users | [vrf vrf-name] ospf ospftype | ospfv3
ospfv3type |pim |poe | snmp authentication | spanning-tree | vrrp]
no snmp-server enable traps [acl | all|auto-copy-sw | bgp state-changes
limited |buffers | captive-portal cp-type | cpu | dot1q | dvrmp | link |
port-security [trap-rate]| multiple-users | [vrf vrf-name] ospf ospftype |
ospfv3 ospfv3type | pim | poe | snmp authentication | spanning-tree |vrrp]
cp-type — {all, client-auth-failure, client-connect, client-db-full, client-
disconnect}
vrf-name—The name of a VRF instance for OSPF traps.
ospftype— {all | errors {all | authentication failure | bad packet |
config error | virt authentication failure | virt bad packet | virt config
error} | lsa {all | lsa-maxage | lsa-originate} | overflow {all | lsdb-
overflow | lsdbapproaching- overflow} | retransmit {all | packets | virt-
packets} | state-change {all | if state change | neighbor state change |
virtifstate change | virtneighbor state change}}
ospfv3type—{all | errors {all | bad packet | config error | virt bad
packet | virt config error} | lsa {all | lsa-maxage | lsa-originate} |
overflow {all | lsdb-overflow | lsdb-approaching-overflow} | retransmit
{all | packets | virt-packets} | state-change {all | if state change |
neighbor state change | virtif state change | virtneighbor state change}}
acl—Enable traps on ACL match events.