Management and Configuration Guide K/KA/KB.15.15

Syntax
[no]mac-count-notify traps <port-list> [<learned-count>]
Configures mac-count-notify traps on the specified ports (or all) for the entire switch.
The [no] form of the command disables mac-count-notify traps.
[<learned-count>]: The number of MAC addresses learned before sending a trap. Values
range between 1-128.
Default: 32
Example configuring mac-count notify traps on ports 5–7
HP Switch (config#) mac-count-notify traps 5-7 50
Viewing the mac-count-notify option
Use the show mac-count-notify traps [<port-list>] command to display information about the
configured value for sending a trap, the current count, and if a trap has been sent.
Example of information displayed for show mac-count-notify traps
command
HP Siwtch (config #) show mac-count-notify traps
Mac-count-notify Enabled: Yes
Port Count for Count Trap Sent
sending Trap
-----------------------------------------------------------------
1
2
3
4
5 50 0 No
6 50 2 No
7 50 0 No
8
9
...
The interface context can be used to configure the value for sending a trap.
Example of configuring mac-count-notify traps from the interface context
HP Switch (config#) interface 5
HP Switch (eth-5)# mac-count-notify traps 35
The show snmp-server traps command displays whether the MAC Address Count feature
is enabled or disabled.
Example of information about SNMP traps, including MAC address count
being Enabled/Disabled
(HP_Switch_name#) show snmp-server traps
Trap Receivers
Link-Change Traps Enabled on Ports [All] : All
Traps Category Current Status
_____________________________ __________________
SNMP Authentication : Extended
Password change : Enabled
Login failures : Enabled
Port-Security : Enabled
Authorization Server Contact : Enabled
DHCP-Snooping : Enabled
Viewing the mac-count-notify option 213