Cisco Cisco Prime Infrastructure 2.0 Installation Guide

Page of 32
16
  flow monitor PerfMon
! Enter RTP monitor metric configuration mode.
  monitor metric rtp
!Specifies the minimum number of sequential packets required to identify a stream as being an RTP flow.
  min-sequential 2
! Specifies the maximum number of dropouts allowed when sampling RTP video-monitoring metrics.
  max-dropout 2
! Specifies the maximum number of reorders allowed when sampling RTP video-monitoring metrics.
  max-reorder 4
! Enter IP-CBR monitor metric configuration mode
  monitor metric ip-cbr
! Rate for monitoring the metrics (1 packet per sec)
  rate layer3 packet 1
interface interfacename
  service-policy type performance-monitor input PerfMonPolicy
  service-policy type performance-monitor output PerfMonPolicy
In this example configuration:
PrInIP
 is the IP address of the Prime Infrastructure server.
PiInPort
 is the UDP port on which the Prime Infrastructureserver is listening for Medianet data (the default is 9991).
interfaceName
 is the name of the interface (such as GigabitEthernet0/0 or fastethernet 0/1) sending Medianet 
NetFlow data to the specified PrInIP.
For more information on Medianet configuration, see the 
Enabling NetFlow and Flexible NetFlow
To ensure that Prime Infrastructure can make use of NetFlow data, your network devices must:
Have NetFlow enabled on the interfaces you want to monitor.
Export the NetFlow data to the Prime Infrastructure server and port.
Use the commands below to enable NetFlow on Cisco IOS devices:
interface interfaceName
ip route-cache flow
where 
interfaceName
 is the name of the interface (such as “fastethernet” or “fastethernet0/1”) on which you want to enable 
NetFlow.
Note that you must enable NetFlow on each physical interface for which you want Prime Infrastructure to collect data. These 
will normally be Ethernet or WAN interfaces. This applies to physical interfaces only. You do not need to enable NetFlow on 
VLANs and Tunnels, as they are included automatically whenever you enable NetFlow on a physical interface. 
Use the following commands to see NetFlow working on the device:
show ip flow export
show ip cache flow
show ip cache verbose flow
Once NetFlow is enabled, you can configure the device to export NetFlow data to Prime Infrastructure using these IOS 
configuration-mode commands:
ip flow-export version 5
ip flow-export destination PrInIP PiInPort
ip flow-export source interfaceName
where:
PrInIP
 is the IP address of the Prime Infrastructure server
PiInPort
 is the UDP port on which the Prime Infrastructure server is listening for NetFlow data (the default is 9991)
interfaceName
 is the name of the interface sending NetFlow data to the specified PrInIP. This will cause the source 
interface’s IP address to be sent to Cisco Prime Infrastructure as part of NetFlow export datagrams.