Users Guide

Table Of Contents
Switch Management Commands 2264
Syntax
snmp-server enable traps [acl | all | auto-copy-sw | bgp state-changes
limited |buffers |captive-portal
cp-type
| cpu |dhcp-snooping |dot1q |
dvrmp | link | port-security [trap-rate] | multiple-users | [vrf
vrf-name
] ospf
ospftype
| ospfv3
ospfv3type
|pim |poe | snmp authentication | spanning-
tree | vrrp | mac-notification]
no snmp-server enable traps [acl | all|auto-copy-sw | bgp state-changes
limited |buffers | captive-portal
cp-type
| cpu |dhcp-snooping| dot1q |
dvrmp | link | port-security [trap-rate]| multiple-users | [vrf
vrf-name
] ospf
ospftype
| ospfv3
ospfv3type
| pim | poe | snmp authentication | spanning-
tree |vrrp | mac-notification]
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.
all—Enable all traps (not recommended).
auto-copy-sw—Enable traps on automatic download of switch software.
bgp state-changes limited—Enable the two traps defined in the
standard BGP MIB, RFC 4273. A trap is sent when an adjacency reaches
the ESTABLISHED state and when a backward adjacency state
transition occurs.
captive-portal—Enable captive-portal traps.
dhcp-snooping—Enable DHCP Snooping violation traps.
dot1q—Enable traps on VLAN configuration failures.