SNMP Commands 1533
Syntax
snmp-server enable traps [acl | all | boot auto-copy-sw | captive-portal
cp-
type
| dot1q | dvrmp | link | maclock | multiple-users | ospf
ospftype
|
ospfv3
ospfv3type
|pim |poe | snmp authentication | spanning-tree | stack
|vrrp]
no snmp-server enable traps [acl | all| boot auto-copy-sw | captive-portal
cp-type
| dot1q | dvrmp | link | maclock| multiple-users | ospf
ospftype
|
ospfv3
ospfv3type
| pim | poe | snmp authentication | spanning-tree
|stack|vrrp ]
cp-type - { all, client-auth-failure, client-connect, client-db-full,
client-disconnect }
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 }}
Parameter Description
Parameter Description
acl Enable traps on ACL match events.
all Enable all traps (not recommended).
boot auto-copy-sw Enable traps on automatic download of switch software.
captive-portal Enable captive-portal traps.
dot1q Enable traps on VLAN configuration failures.
dvmrp Enable dvmrp traps.
maclock Enable traps on MAC locking violations.
2CSPC4.XCT-SWUM2XX1.book Page 1533 Monday, October 3, 2011 11:05 AM