event_register_mat
Registers for a MAT event. Use this Tcl command extension to generate an event when a mac-address is
learned in the mac-address-table.
Syntax
event_register_identity [tag ?] interface ?
[mac-address ?]
[type {add | delete}]
[hold-down ?]
[maxrun ?]
Arguments
(Optional) String identifying a tag that can be used
with the trigger Tcl command extension to support
multiple event statements within a Tcl script.
tag
A regular expression pattern to match against interface
names.
interface
Mandatory if the interface parameter is not specified.
A regular expression pattern that can be used to filter
events by mac addresses of the remote device.
mac-address
(Optional) Filter based on a mac-address-table event
type of add or delete. If not specified, the event type
is not used in determining whether the event should
be triggered.
type
(Optional) When a mac-address-table event comes
in, the hold-down timer can be set to make the event
to wait between 1 and 4294967295 seconds before
processing the policy. If not set then the policy is not
delayed in being processed.
hold-down
(Optional) Maximum run time of the script (specified
in SSSSSSSSSS[.MMM] format, where SSSSSSSSSS
must be an integer representing seconds between 0
and 31536000, inclusive, and where MMM must be
an integer representing milliseconds between 0 and
999). If this argument is not specified, the default
20-second run-time limit is used.
maxrun
Result String
None
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1904
event_register_mat
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......