Enabling Mac Address Notification - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 16
Configuring Port Security

Enabling MAC Address Notification

Enabling MAC address notification allows you to monitor MAC addresses at the module and port level
that were added by the switch or removed from the CAM table.
A new MAC address is added when either of the following occurs:
A MAC address is removed from the CAM table when one of the following is true:
MAC address notification settings are ignored on PAgP and LACP EtherChannel ports.
Note
To enable MAC address notification globally, perform this task in privileged mode:
Task
Step 1
Enable MAC address notification globally.
Step 2
Set the history log size.
Step 3
Enable notification of added MAC addresses.
Step 4
Enable notification of removed MAC addresses.
Step 5
Verify the configuration.
MAC addresses are stored in memory between notifications. To set the interval time between
notifications and verify the configuration, perform this task in privileged mode:
Task
Step 1
Set the interval time between notifications.
Step 2
Verify the configuration.
If the set cam notification interval is set to 0, the switch will send notification immediately. If the
notifications are sent immediately, they will have an impact on the performance of the switch.
You can generate SNMP traps whenever a MAC address change occurs; do so by enabling the
set snmp trap enable macnotification, set cam notification, and set cam notification historysize
commands.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
When a packet is received from a new device on one of the ports of the switch with a new source
address
When the MAC address is added to the CAM table by the CLI
When the MAC address receives no packets during the time-out period
When the switch invalidates a CAM table entry and replaces the entry with a new entry
When the MAC address is removed from the CAM table by the CLI
Configuring Port Security on the Switch
Command
set cam notification {enable | disable}
set cam notification historysize log_size
set cam notification added {enable | disable}
mod/port
set cam notification removed {enable | disable}
mod/port
show cam notification all
Command
set cam notification interval time
show cam notification all
16-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents