#show performance monitor context plx configuration !=============================================================================== ! Equivalent Configuration of Context plx ! !=============================================================================== !Exporters !========== ! flow exporter plx-1 description performance monitor context plx exporter destination 10.1.4.66 source GigabitEthernet0/0/0 transport udp 2002 export-protocol ipfix template data timeout 300 option interface-table timeout 300 option vrf-table timeout 300 option sampler-table timeout 300 option application-table timeout 300 option application-attributes timeout 300 option sub-application-table timeout 300 option c3pl-class-table timeout 300 option c3pl-policy-table timeout 300 ! !Access Lists !============= ip access-list extended plx-art_ipv4_tcp permit tcp any any ! ipv6 access-list plx-art_ipv6_tcp permit tcp any any ! ip access-list extended plx-media_ipv4_udp permit udp any any ! ipv6 access-list plx-media_ipv6_udp permit udp any any ! ip access-list extended plx-url_ipv4_tcp permit tcp any any ! ipv6 access-list plx-url_ipv6_tcp permit tcp any any ! !Class-maps !=========== class-map match-any plx-app_ts match protocol dns match protocol dht ! class-map match-all plx-conv_ts_ipv4 match protocol ip ! class-map match-all plx-conv_ts_ipv6 match protocol ipv6 ! class-map match-all plx-art_ipv4 match access-group name plx-art_ipv4_tcp ! class-map match-all plx-art_ipv6 match access-group name plx-art_ipv6_tcp ! class-map match-any plx-media_app match protocol telepresence-media match protocol rtp ! class-map match-all plx-media_ipv4_in match access-group name plx-media_ipv4_udp match class-map plx-media_app ! class-map match-all plx-media_ipv4_out match access-group name plx-media_ipv4_udp match class-map plx-media_app ! class-map match-all plx-media_ipv6_in match access-group name plx-media_ipv6_udp match class-map plx-media_app ! class-map match-all plx-media_ipv6_out match access-group name plx-media_ipv6_udp match class-map plx-media_app ! class-map match-any plx-url_app match protocol napster match protocol gotomypc match protocol yahoo-messenger match protocol tunnel-http match protocol baidu-movie match protocol flashmyspace match protocol directconnect match protocol audio-over-http match protocol skype match protocol video-over-http match protocol pando match protocol flashyahoo match protocol msn-messenger match protocol flash-video match protocol webthunder match protocol vnc-http match protocol activesync match protocol irc match protocol realmedia match protocol gmail match protocol google-earth match protocol gnutella match protocol rtmpt match protocol http match protocol ms-update match protocol rtsp match protocol http-alt match protocol share-point match protocol binary-over-http match protocol ms-sms match protocol megavideo ! class-map match-all plx-url_ipv4 match access-group name plx-url_ipv4_tcp match class-map plx-url_app ! class-map match-all plx-url_ipv6 match access-group name plx-url_ipv6_tcp match class-map plx-url_app ! class-map match-all plx-art_url_ipv4 match class-map plx-art_ipv4 match class-map plx-url_ipv4 ! class-map match-all plx-art_url_ipv6 match class-map plx-art_ipv6 match class-map plx-url_ipv6 ! !Samplers !========= sampler plx-url granularity connection mode random 1 out-of 50 ! !Records and Monitors !===================== ! flow record type performance-monitor plx-app_ts_in description ezPM record match routing vrf input match ipv4 version match ipv4 protocol match interface input match flow direction match application name account-on-resolution match services waas segment account-on-resolution collect datalink source-vlan-id collect ipv4 dscp collect interface output collect counter bytes long collect counter packets collect timestamp sys-uptime first collect timestamp sys-uptime last collect connection initiator collect connection new-connections collect connection sum-duration collect routing vrf output collect services waas passthrough-reason ! ! flow monitor type performance-monitor plx-app_ts_in record plx-app_ts_in exporter plx-1 cache entries 1000 cache timeout synchronized 60 ! ! flow record type performance-monitor plx-app_ts_out description ezPM record match ipv4 version match ipv4 protocol match interface output match flow direction match application name account-on-resolution match routing vrf output match services waas segment account-on-resolution collect datalink source-vlan-id collect routing vrf input collect ipv4 dscp collect interface input collect counter bytes long collect counter packets collect timestamp sys-uptime first collect timestamp sys-uptime last collect connection initiator collect connection new-connections collect connection sum-duration collect services waas passthrough-reason ! ! flow monitor type performance-monitor plx-app_ts_out record plx-app_ts_out exporter plx-1 cache entries 1000 cache timeout synchronized 60 ! ! flow record type performance-monitor plx-conv_ts_ipv4 description ezPM record match routing vrf input match ipv4 protocol match application name account-on-resolution match connection client ipv4 address match connection server ipv4 address match connection server transport port match services waas segment account-on-resolution collect datalink source-vlan-id collect ipv4 dscp collect ipv4 ttl collect interface input collect interface output collect timestamp sys-uptime first collect timestamp sys-uptime last collect connection initiator collect connection new-connections collect connection sum-duration collect connection server counter bytes long collect connection server counter packets long collect connection client counter bytes long collect connection client counter packets long collect services waas passthrough-reason ! ! flow monitor type performance-monitor plx-conv_ts_ipv4 record plx-conv_ts_ipv4 exporter plx-1 cache entries 625000 cache timeout synchronized 60 ! ! flow record type performance-monitor plx-conv_ts_ipv6 description ezPM record match routing vrf input match ipv6 protocol match application name account-on-resolution match connection client ipv6 address match connection server transport port match connection server ipv6 address match services waas segment account-on-resolution collect datalink source-vlan-id collect ipv6 dscp collect ipv6 hop-limit collect interface input collect interface output collect timestamp sys-uptime first collect timestamp sys-uptime last collect connection initiator collect connection new-connections collect connection sum-duration collect connection server counter bytes long collect connection server counter packets long collect connection client counter bytes long collect connection client counter packets long collect services waas passthrough-reason ! ! flow monitor type performance-monitor plx-conv_ts_ipv6 record plx-conv_ts_ipv6 exporter plx-1 cache entries 625000 cache timeout synchronized 60 ! ! flow record type performance-monitor plx-art_ipv4 description ezPM record match routing vrf input match ipv4 protocol match application name account-on-resolution match connection client ipv4 address match connection server ipv4 address match connection server transport port match services waas segment account-on-resolution collect datalink source-vlan-id collect ipv4 dscp collect ipv4 ttl collect interface input collect interface output collect timestamp sys-uptime first collect timestamp sys-uptime last collect connection initiator collect connection new-connections collect connection sum-duration collect connection delay response to-server sum collect connection server counter responses collect connection delay response to-server histogram late collect connection delay network to-server sum collect connection delay network to-client sum collect connection client counter packets retransmitted collect connection delay network client-to-server sum collect connection delay application sum collect connection delay application max collect connection delay response client-to-server sum collect connection transaction duration sum collect connection transaction counter complete collect connection server counter bytes long collect connection server counter packets long collect connection client counter bytes long collect connection client counter packets long collect services waas passthrough-reason ! ! flow monitor type performance-monitor plx-art_ipv4 record plx-art_ipv4 exporter plx-1 cache entries 225000 cache timeout synchronized 60 ! ! flow record type performance-monitor plx-art_ipv6 description ezPM record match routing vrf input match ipv6 protocol match application name account-on-resolution match connection client ipv6 address match connection server transport port match connection server ipv6 address match services waas segment account-on-resolution collect datalink source-vlan-id collect ipv6 dscp collect ipv6 hop-limit collect interface input collect interface output collect timestamp sys-uptime first collect timestamp sys-uptime last collect connection initiator collect connection new-connections collect connection sum-duration collect connection delay response to-server sum collect connection server counter responses collect connection delay response to-server histogram late collect connection delay network to-server sum collect connection delay network to-client sum collect connection client counter packets retransmitted collect connection delay network client-to-server sum collect connection delay application sum collect connection delay application max collect connection delay response client-to-server sum collect connection transaction duration sum collect connection transaction counter complete collect connection server counter bytes long collect connection server counter packets long collect connection client counter bytes long collect connection client counter packets long collect services waas passthrough-reason ! ! flow monitor type performance-monitor plx-art_ipv6 record plx-art_ipv6 exporter plx-1 cache entries 225000 cache timeout synchronized 60 ! ! flow record type performance-monitor plx-media_ipv4_in description ezPM record match routing vrf input match ipv4 protocol match ipv4 source address match ipv4 destination address match transport source-port match transport destination-port match transport rtp ssrc match interface input collect datalink source-vlan-id collect ipv4 dscp collect ipv4 ttl collect transport packets lost counter collect transport rtp jitter maximum collect interface output collect counter bytes long collect counter packets collect timestamp sys-uptime first collect timestamp sys-uptime last collect application name collect connection initiator collect connection new-connections collect transport rtp payload-type collect transport rtp jitter mean sum collect routing vrf output ! ! flow monitor type performance-monitor plx-media_ipv4_in record plx-media_ipv4_in exporter plx-1 cache entries 4000 cache timeout synchronized 60 history size 10 ! ! flow record type performance-monitor plx-media_ipv6_in description ezPM record match routing vrf input match ipv6 protocol match ipv6 source address match ipv6 destination address match transport source-port match transport destination-port match transport rtp ssrc match interface input collect datalink source-vlan-id collect ipv6 dscp collect ipv6 hop-limit collect transport packets lost counter collect transport rtp jitter maximum collect interface output collect counter bytes long collect counter packets collect timestamp sys-uptime first collect timestamp sys-uptime last collect application name collect connection initiator collect connection new-connections collect transport rtp payload-type collect transport rtp jitter mean sum collect routing vrf output ! ! flow monitor type performance-monitor plx-media_ipv6_in record plx-media_ipv6_in exporter plx-1 cache entries 4000 cache timeout synchronized 60 history size 10 ! ! flow record type performance-monitor plx-media_ipv4_out description ezPM record match ipv4 protocol match ipv4 source address match ipv4 destination address match transport source-port match transport destination-port match transport rtp ssrc match interface output match routing vrf output collect datalink source-vlan-id collect routing vrf input collect ipv4 dscp collect ipv4 ttl collect transport packets lost counter collect transport rtp jitter maximum collect interface input collect counter bytes long collect counter packets collect timestamp sys-uptime first collect timestamp sys-uptime last collect application name collect connection initiator collect connection new-connections collect transport rtp payload-type collect transport rtp jitter mean sum ! ! flow monitor type performance-monitor plx-media_ipv4_out record plx-media_ipv4_out exporter plx-1 cache entries 4000 cache timeout synchronized 60 history size 10 ! ! flow record type performance-monitor plx-media_ipv6_out description ezPM record match ipv6 protocol match ipv6 source address match ipv6 destination address match transport source-port match transport destination-port match transport rtp ssrc match interface output match routing vrf output collect datalink source-vlan-id collect routing vrf input collect ipv6 dscp collect ipv6 hop-limit collect transport packets lost counter collect transport rtp jitter maximum collect interface input collect counter bytes long collect counter packets collect timestamp sys-uptime first collect timestamp sys-uptime last collect application name collect connection initiator collect connection new-connections collect transport rtp payload-type collect transport rtp jitter mean sum ! ! flow monitor type performance-monitor plx-media_ipv6_out record plx-media_ipv6_out exporter plx-1 cache entries 4000 cache timeout synchronized 60 history size 10 ! ! flow record type performance-monitor plx-url_ipv4 description ezPM record match connection id collect routing vrf input collect interface input collect interface output collect flow sampler collect timestamp sys-uptime first collect timestamp sys-uptime last collect application name collect connection initiator collect connection new-connections collect application http uri statistics collect connection delay response to-server sum collect connection server counter responses collect connection delay response to-server histogram late collect connection delay network to-server sum collect connection delay network to-client sum collect connection client counter packets retransmitted collect connection delay network client-to-server sum collect connection delay application sum collect connection delay application max collect connection delay response client-to-server sum collect connection transaction duration sum collect connection transaction counter complete collect connection server counter bytes long collect connection server counter packets long collect connection client counter bytes long collect connection client counter packets long collect connection client ipv4 address collect connection client transport port collect connection server ipv4 address collect connection server transport port collect services waas segment collect services waas passthrough-reason collect application http host ! ! flow monitor type performance-monitor plx-url_ipv4 record plx-url_ipv4 exporter plx-1 cache type normal cache entries 10000 cache timeout event transaction-end ! ! flow record type performance-monitor plx-url_ipv6 description ezPM record match connection id collect routing vrf input collect interface input collect interface output collect flow sampler collect timestamp sys-uptime first collect timestamp sys-uptime last collect application name collect connection initiator collect connection new-connections collect application http uri statistics collect connection delay response to-server sum collect connection server counter responses collect connection delay response to-server histogram late collect connection delay network to-server sum collect connection delay network to-client sum collect connection client counter packets retransmitted collect connection delay network client-to-server sum collect connection delay application sum collect connection delay application max collect connection delay response client-to-server sum collect connection transaction duration sum collect connection transaction counter complete collect connection server counter bytes long collect connection server counter packets long collect connection client counter bytes long collect connection client counter packets long collect connection client transport port collect connection client ipv6 address collect connection server transport port collect connection server ipv6 address collect services waas segment collect services waas passthrough-reason collect application http host ! ! flow monitor type performance-monitor plx-url_ipv6 record plx-url_ipv6 exporter plx-1 cache type normal cache entries 10000 cache timeout event transaction-end ! !Policy-maps !============ policy-map type performance-monitor plx-in parameter default account-on-resolution class plx-app_ts flow monitor plx-app_ts_in class plx-art_url_ipv4 flow monitor plx-art_ipv4 flow monitor plx-url_ipv4 sampler plx-url class plx-art_url_ipv6 flow monitor plx-art_ipv6 flow monitor plx-url_ipv6 sampler plx-url class plx-art_ipv4 flow monitor plx-art_ipv4 class plx-art_ipv6 flow monitor plx-art_ipv6 class plx-url_ipv4 flow monitor plx-url_ipv4 sampler plx-url flow monitor plx-conv_ts_ipv4 class plx-url_ipv6 flow monitor plx-url_ipv6 sampler plx-url flow monitor plx-conv_ts_ipv6 class plx-media_ipv4_in flow monitor plx-media_ipv4_in class plx-media_ipv6_in flow monitor plx-media_ipv6_in class plx-conv_ts_ipv4 flow monitor plx-conv_ts_ipv4 class plx-conv_ts_ipv6 flow monitor plx-conv_ts_ipv6 ! policy-map type performance-monitor plx-out parameter default account-on-resolution class plx-app_ts flow monitor plx-app_ts_out class plx-art_url_ipv4 flow monitor plx-art_ipv4 flow monitor plx-url_ipv4 sampler plx-url class plx-art_url_ipv6 flow monitor plx-art_ipv6 flow monitor plx-url_ipv6 sampler plx-url class plx-art_ipv4 flow monitor plx-art_ipv4 class plx-art_ipv6 flow monitor plx-art_ipv6 class plx-url_ipv4 flow monitor plx-url_ipv4 sampler plx-url flow monitor plx-conv_ts_ipv4 class plx-url_ipv6 flow monitor plx-url_ipv6 sampler plx-url flow monitor plx-conv_ts_ipv6 class plx-media_ipv4_out flow monitor plx-media_ipv4_out class plx-media_ipv6_out flow monitor plx-media_ipv6_out class plx-conv_ts_ipv4 flow monitor plx-conv_ts_ipv4 class plx-conv_ts_ipv6 flow monitor plx-conv_ts_ipv6 ! !Interface Attachments !====================== interface GigabitEthernet0/0/0 service-policy type performance-monitor input plx-in service-policy type performance-monitor output plx-out ! interface GigabitEthernet0/0/3 service-policy type performance-monitor input plx-in service-policy type performance-monitor output plx-out !