mace enable
To apply the global Measurement, Aggregation, and Correlation Engine (MACE) policy on an interface, use the mace enable command in interface configuration mode. To disable the MACE policy on an interface, use the no form of this command.
mace enable
no mace enable
Syntax Description
This command has no arguments or keywords.
Command Default
No MACE policy is applied on an interface.
Command Modes
Interface configuration (config-if)
Command History
Release |
Modification |
---|---|
15.1(4)M |
This command was introduced. |
Usage Guidelines
Use the mace enable command to apply the global MACE policy on an interface. This command applies the global MACE policy in both directions, ingress and egress, of the interface. The MACE runs on the traffic coming over this interface. MACE policy is limited to targets for which the Wide-Area Application Services (WAAS) policy can be enabled. MACE supports all the interfaces that are supported by WAAS.
Note |
MACE does not interoperate with Network Address Translation (NAT) on the ingress (LAN) interface if the ip nat inside command is configured on the ingress interface. However, MACE interoperates with NAT on the egress (WAN) interface if the ip nat outside command is configured on the egress interface. |
Before you enable MACE, you must configure the following:
-
Flow record of type MACE
-
Flow exporter
-
Flow monitor of type MACE
-
Class map of type WAAS
-
Policy map of type MACE
When you configure the mace enable command, the metrics of the matching flows are collected and updated on every packet. When the export timer expires, these metrics are aggregated and exported to various collectors according to the defined configuration. On optimizing the flow by using WAAS, the metrics of both segments, pre-WAAS and post-WAAS, of the flow are exported.
Examples
The following example shows how to enable MACE on Ethernet interface 0/0:
Device(config)# interface ethernet0/0
Device(config-if)# mace enable