17
mac-address notification mac-move
Use
mac-address notification mac-move
to enable MAC address move notifications and
optionally specify a MAC move detection interval.
Use
undo mac-address notification mac-move
to disable MAC address move
notifications.
Syntax
mac-address notification mac-move
[
interval interval
]
undo mac-address notification mac-move
Default
MAC address move notifications are disabled.
Views
System view
Predefined user roles
network-admin
Parameters
interval interval
: Specifies the interval for detecting MAC address moves, in the range of 1 to
60 minutes. If you do not specify this option, the default setting of 1 minute is used.
Usage guidelines
With MAC address move notifications enabled, the system records the MAC address move logs
every MAC move detection interval. Each record of the MAC address move logs contains the
following information:
•
MAC address.
•
VLAN ID of the MAC address entry.
•
Current port and source port of the MAC address moves.
•
Number of MAC address moves within a detection interval.
A MAC address can have only one MAC address move record. If a MAC address moves multiple
times, the new record overrides the old record.
Within a detection interval, an IRF member device can record MAC address move information for a
maximum of 20 MAC addresses. The records are ranked in descending order of MAC move counts.
If the number of MAC address move records exceeds 20, only the first 20 records are retained. Then
in the next detection interval, the device discards all MAC address move records generated in the
previous detection interval and starts another round of MAC move record generation.
After you execute this command, the system sends only syslog messages to the information center
module. If the
snmp-agent trap enable mac-address
command is also executed, the
system also sends SNMP notifications to the SNMP module.
Examples
# Enable MAC address move notifications.
<Sysname> system-view
[Sysname] mac-address notification mac-move
[Sysname]
%May 14 17:16:45:688 2013 Sysname MAC/4/MAC_NOTIFICATION: MAC address 0000-0012-0034 in
VLAN 500 has moved from port GE1/0/1 to port GE1/0/2 for 1 times
The output shows that:
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...