4-34
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
To configure MAC move notification, perform this task:
This example shows how to specify 172.69.59.93 as the network management system, enable the switch
to send MAC move notification traps to the NMS, enable the MAC move notification feature, and enable
traps whenever a MAC address moves from one port to another:
Switch#
configure terminal
Switch(config)#
snmp-server host 171.69.59.93 private mac-notification
Switch(config)#
snmp-server enable traps mac-notification move
Switch(config)#
mac address-table notification mac-move
Switch(config)#
end
Switch#
show mac address-table
notification mac-move
MAC Move Notification: Enabled
Command
Purpose
Step 1
configure terminal
Enters global configuration mode.
Step 2
snmp-server host
host-addr
[
traps
|
informs
] {
version
{
1
|
2c
|
3
}} [
auth
|
noauth
|
priv
]
community-string
[
udp-port port
] [
notification-type
]
Specifies the recipient of the trap message.
•
For
host-addr
, specify the name or address of the
NMS.
•
Specify
traps
(the default) to send SNMP traps
to the host. Specify
informs
to send SNMP
informs to the host.
•
Specify the SNMP version to support. Version 1,
the default, is not available with informs.
•
For
community-string,
specify the string to send
with the notification operation. Though you can
set this string by using the
snmp-server host
command, we recommend that you define this
string by using the
snmp-server community
command before using the
snmp-server host
command.
•
For
notification-type
, use the
mac-notification
keyword.
Step 3
snmp-server enable traps mac-notification move
Enables the switch to send MAC move notification
traps to the NMS.
To disable the switch from sending MAC notification
traps, use the
no snmp-server enable traps
mac-notification
move
global configuration command.
Step 4
mac address-table notification mac-move
Enables the MAC-move notification feature.
To disable this feature, use the
no mac-address-table notification mac-move
global configuration command.
Step 5
end
Returns to privileged EXEC mode.
Step 6
show mac address-table notification mac-move
show running-config
Displays the MAC-move notification status.
Step 7
copy running-config startup-config
(Optional) Saves your entries in the configuration
file.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...