snmp-server mac-count-notify

Syntax

[no] snmp-server enable traps mac-count-notify

Description

Sends a trap when the number of MAC addresses learned on the specified ports exceeds the configured <learned-count> value.

Parameters

no

Disables mac-count-notify traps.

mac-count-notify

To configure the mac-count-notify option on a port or ports, enter this command. When the configured number of MAC addresses is exceeded (the learned-count), a trap is sent.

traps <PORT-LIST>

Configures mac-count-notify traps on the specified ports for the entire switch. With no <PORT-LIST> specified, confiures all ports.

<LEARNED-COUNT>

The number of MAC addresses learned before sending a trap. Values range between 1-128. Defaults to 32.

Usage

[no] mac-count-notify traps <PORT-LIST> [<learned-count>]

Configuring mac-count notify traps on ports 5–7

switch(config)# mac-count-notify traps 5-7 50