cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
788
Views
0
Helpful
1
Replies

Enable AVC in 6500 and 4500

mohammad saeed
Level 5
Level 5

Hi All

I have cisco pi 3 and want to enable AVC in 6500 and 4500 platform.

Any Idea plz

Thnks

1 Reply 1

Francesco Molino
VIP Alumni
VIP Alumni

Hi 

 

Below a configuration example. 

The first part Record is what you want to get. 

The second part exporter is where to send the nervous information (CPI in you're example).

Last part monitor is what you'll apply to your interfaces to get the netflow information.

This gonna take all information. You can tweak/adjust what you want in the record part.

 

flow record Record-CPI
Record match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
match flow direction
match application name
collect routing source as
collect routing destination as
collect routing next-hop address ipv4
collect ipv4 dscp
collect ipv4 id
collect ipv4 source prefix
collect ipv4 source mask
collect ipv4 destination mask
collect transport tcp flags
collect interface output
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last
!
flow exporter Export-CPI
destination Prime_IP
source Loopback0 --> source interface used to communicate with CPI
output-features
transport udp 9991 --> CPI default UDP port for netflow
export-protocol netflow-v9
option interface-table
option application-table
!
flow monitor Monitor-CPI
record Record-CPI
exporter Export-CPI
cache timeout active 60


interface GigabitEthernetx/x or vlan XX
ip flow monitor Monitor-FNF input
ip flow monitor Monitor-FNF output

 

Hope that helps


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: