The service-awareness enable command enables the service awareness (SA) function.
The undo service-awareness enable command disables the SA function.
By default, the SA function is disabled.
GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, VLANIF interface view, port group view
Usage Scenario
Traditional traffic classification technologies only check the content at Layer 4 and lower layers in packets, for example, source IP address, destination IP address, source port number, destination port number, and service type. It cannot analyze applications in packets. SA is a traffic detection and control technology based on the application layer. Apart from the IP packet header, SA can analyze the content of the application layer.
To identify the application of the traffic passing through an interface, run the service-awareness enable command to enable SA on the interface.
Prerequisites
The resource allocation mode has been set to sac for the slot corresponding to the interface. To check the current resource allocation mode of the switch and the resource allocation mode specified using the assign resource-mode command, run the display resource-mode configuration command. If the resource allocation mode is not sac, run the assign resource-mode sac command to change the resource allocation mode to sac, save the configuration, and restart the switch.