4-33
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 4 Administering the Switch
Managing the MAC Address Table
This example shows how to specify 172.69.59.93 as the network management system, enable the switch
to send MAC change notification traps to the network management system, enable the MAC change
notification feature, set the interval time to 60 seconds, set the history-size to 100 entries, and enable
traps whenever a MAC address is added on the specified port:
Switch#
configure terminal
Switch(config)#
snmp-server host 172.69.59.93 private mac-notification
Switch(config)#
snmp-server enable traps mac-notification change
Switch(config)#
mac address-table notification change
Switch(config)#
mac address-table notification change interval 60
Switch(config)#
mac address-table notification change history-size 100
Switch(config)#
interface fastethernet0/2
Switch(config-if)#
snmp trap mac-notification change added
Switch(config-if)#
end
Switch#
show mac address-table
notification change interface
MAC Notification Feature is Enabled on the switch
MAC Notification Flags For All Ethernet Interfaces :
----------------------------------------------------
Interface MAC Added Trap MAC Removed Trap
--------- -------------- ----------------
GigabitEthernet1/1 Enabled Enabled
GigabitEthernet1/2 Enabled Enabled
GigabitEthernet1/3 Enabled Enabled
GigabitEthernet1/4 Enabled Enabled
GigabitEthernet1/5 Enabled Enabled
GigabitEthernet1/6 Enabled Enabled
GigabitEthernet1/7 Enabled Enabled
GigabitEthernet1/8 Enabled Enabled
GigabitEthernet1/9 Enabled Enabled
GigabitEthernet1/10 Enabled Enabled
GigabitEthernet1/11 Enabled Enabled
GigabitEthernet1/12 Enabled Enabled
Switch#
Configuring MAC Move Notification Traps
When you configure MAC move notification, an SNMP notification is generated and sent to the network
management system whenever a MAC address moves from one port to another within the same VLAN.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...