How to configure Application Visibility and Control (AVC) in Cisco devices?

    Cisco Application Visibility and Control (AVC) provides detailed information from Cisco ASR1k and ISR-G2 routers with information on NBAR2 applications, Application Response Time, QoS hierarchy and HTTP URL reporting.

    Easy Performance Monitor (“ezPM”) is the latest feature introduced in Cisco to configure monitors to export AVC information to external Collectors like NetFlow Analyzer. ezPM adds functionality and does not affect the existing methods for provisioning monitors. It is available in IOS Platform from 15.4(1)T and in IOS XE Platform from 3.10S. NetFlow Analyzer support the AVC flow exported using the ezPM method from ASR1k and ISR G2 routers.

    Easy perf-mon include 2 profiles as mentioned below:

    1. Application Experience
    2. Application Statistics

    NetFlow Analyzer show the detailed information based on the Application Experience profiles configuration in the Device. Application Experience Profile contains below monitors:

    1. Application Response Time ( ART )
    2. URL
    3. Media
    4. Conversation Traffic Stats

    Refer the below steps to configure AVC:

    1.enable
    2.configure terminal
    3.performance monitor context {context-name} profile application-experience
    4.exporter destination {ip address of Netflow Installed Server} source {source interface name} port {UDP port} [UDP port number by default 9996 for NetFlow Analyzer]
    5.traffic- monitor {application-response-time |
    conversation-traffic-stats | media [ingress | egress] | url}
    [ipv4 | ipv6] [sampling-rate number] 6.To configure additional traffic monitor parameters, repeat Step
    7.exit
    8.interface {interface name }
    9.performance monitor context context-name
    10.exit

    Example:

    This below configuration show steps to export AVC stats from Cisco ASR1K or ISR G2 router to the server with ip 192.168.2.1 and source interface GigabitEthernet0/1 to the UDP port 9996:

    router>enable
    router#config terminal
    router(config)#performance monitor context netflowAVC profile application-experience // netflowAVC here is the context name
    router( config-perf-mon )# exporter destination 192.168.2.1 source GigabitEthernet0/1 port 9996 // Where 192.168.2.1 is NetFlow Analyzer installed server.
    router(config-perf-mon)# traffic-monitor application-response-time ipv4 // to export Ipv4ART statics. You can use ipv6 instead of ipv4 to export ipv6 statistics.
    router( config-perf-mon )# traffic-monitor conversation-traffic-stats ipv4 // to export Ipv4 Conversation kstatistics. You can use ipv6 instead of ipv4 to export ipv6 statistics.

    router( config-perf-mon )# traffic-monitor url ipv4 // to export Ipv4 Url monitor . You can use ipv6 instead of ipv4 to export ipv6 statistics.
    router( config-perf-mon )# traffic-monitor media ipv4 // to export Ipv4 medianet information monitor . You can use ipv6 instead of ipv4 to export ipv6 statistics.

    // Below steps has to be applied on all active interfaces of the device
    router(config)# Interface GigabitEthernet0/1
    router(config-if)# performance monitor context netflowAVC

    Once the configuration is complete, NetFlow data will be exported and the data will be populated under AVC tab for an interface.