Management and Configuration Guide K/KA/KB.15.15

Trap-interval : 60
Port MAC Addresses trap learned/removed
------ ----------------------------------
1 None
2 None
3 Removed
4 Removed
5 Learned
6 Learned
The configured mac-notify commands are displayed in the show running-configuration
output.
Example of running config file with mac-notify parameters configured
(HP_Switch_name#) show running-config
Running configuration:
; J9087A Configuration Editor; Created on release #R.11.XX
hostname "Switch"
snmp-server community "public" Unrestricted
snmp-server host 15.255.133.236 "public"
snmp-server host 15.255.133.222 "public"
snmp-server host 15.255.133.70 "public"
snmp-server host 15.255.134.235 "public"
vlan 1
name "DEFAULT_VLAN"
untagged 1-28
ip address dhcp-bootp
exit
snmp-server enable traps mac-notify mac-move
snmp-server enable traps mac-notify trap-interval 60
snmp-server enable traps mac-notify
mac-notify traps 5-6 learned
mac-notify traps 3-4 removed
Configuring listening mode
For more information, See “Configuring listening mode” (page 216).
Syntax
snmp-server [ listen [ oobm | data | both ] ]
Enables or disables inbound SNMP access on a switch.
Use the no version of the command to disable inbound SNMP access.
The listen parameter is available only on switches that have a separate out-of-band management
port. Values for this parameter are:
Inbound SNMP access is enabled only on the out-of-band management
port.
oobm
Inbound SNMP access is enabled only on the data ports.data
Inbound SNMP access is enabled on both the out-of-band management port
and on the data ports.
both
This is the default value.
The listen parameter is not available on switches that do not have a separate out-of-band
management port.
216 Configuring for Network Management Applications