Users Guide

Table Of Contents
Switch Management Commands 2267
ospf Enable/Disable OSPF Traps.
ospfv3 Enable/Disable OSPFv3 Traps.
pim Enable/Disable traps for protocol-independent
multicast.
port-security Enable/Disable switch level Maclock Violation trap
flag.
snmp Enable SNMP traps.
spanning-tree Configure spanning tree traps.
vrf Specify VPN Routing/Forwarding instance.
vrrp Enable/Disable VRRP trap.
The following example enables MAC notification, sets the buffer size to 255,
and enables MAC notification traps. This will send the MAC notification trap
and inform to all SNMP servers. Finally, the MAC notification trap is enabled
for interface GI1/0/3 for both added and removed MAC addresses.
console(config)#mac address-table notification change
console(config)#mac address-table notification change history 255
console(config)#smnp-server enable traps mac-notification
console(config)#interface gi1/0/3
console(config-if-Gi1/0/3)#snmp trap mac-notification change added
console(config-if-Gi1/0/3)#snmp trap mac-notification change removed
Command History
Introduced in version 6.2.0.1 firmware. Syntax added in version 6.7.0
firmware.
snmp-server engineID local
Use the snmpserver engineID local command in Global Configuration mode
to specify the Simple Network Management Protocol (SNMP) engine ID on
the local device.
To remove the configured engine ID, use the no form of this command.
Syntax
snmp-server engineID local {
engineid-string
| default}
no snmp-server engineID local
engineid-string — The character string that identifies the engine ID.
The engine ID is a concatenated hexadecimal string. Each byte in
hexadecimal character strings is two hexadecimal digits. Each byte can
be separated by a period or colon. (Range: 6-32 characters)