Cisco应用程序可见性及控制(AVC)提供Cisco ASR1k和ISR-G2路由器的详细信息,包括NBAR2应用、应用响应时间、QoS层级结构和HTTP URL报表的信息。
Easy Performance Monitor(“ezPM”)是Cisco推出的最新功能,用于配置监视器以导出AVC信息至外部采集器(如NetFlow Analyzer)。ezPM增加了功能性,而且不影响现有的配置监视器的方法。它在IOS平台从15.4(1)T可用,在IOS XE平台从3.10S可用。NetFlow Analyzer支持通过ezPM方式从ASR1k和ISR G2路由器导出的AVC流。
Easy perf-mon包含如下2个配置文件:
1. 应用经验
2. 应用统计
NetFlow Analyzer基于设备的应用经验配置文件配置显示详细信息。应用经验配置文件包含以下监视器:
1. 应用响应时间(ART)
2. URL
3. 媒体
4. 会话流量统计数据
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
将AVC统计数据从Cisco ASR1K或ISR G2路由器导出至ip为192.168.2.1的服务器和从源接口GigabitEthernet0/1导出至UDP端口9996的配置步骤:
router>enable
router#config terminal
router(config)#performance monitor context netflowAVC profile application-experience // 此处的netflowAVC是环境名称。
router( config-perf-mon )# exporter destination 192.168.2.1 source GigabitEthernet0/1 port 9996 // 192.168.2.1是安装NetFlow Analyzer的服务器位置。
router(config-perf-mon)# traffic-monitor application-response-time ipv4 // 导出Ipv4ART统计数据。您可以使用ipv6代替ipv4来导出ipv6统计数据。
router( config-perf-mon )# traffic-monitor conversation-traffic-stats ipv4 // 导出Ipv4会话统计数据。您可以使用ipv6代替ipv4来导出ipv6统计数据。
router( config-perf-mon )# traffic-monitor url ipv4 // 导出Ipv4 Url监视器。您可以使用ipv6代替ipv4来导出ipv6统计数据。
router( config-perf-mon )# traffic-monitor media ipv4 // 导出Ipv4 medianet信息监视器。您可以使用ipv6代替ipv4来导出ipv6统计数据。
// 必须对设备的所有活动接口执行以下步骤
router(config)# Interface GigabitEthernet0/1
router(config-if)# performance monitor context netflowAVC
配置完成后,NetFlow数据将被导出,数据将被填入接口的AVC页签下。