Cisco CS-MARS NetFlow Configuration

Cisco IOS NetFlow

1. Configure NetFlow using the following global commands:


Router# configure terminal
Router(config)# ip flow-export destination 172.16.100.100 2055
Router(config)# ip flow-export source FastEthernet0/0
Router(config)# ip flow-export version 5
Router(config)# ip flow-cache timeout active 5
Router(config)# ip flow-cache timeout inactive 15

Note: In the preceding example, the IP address of the CS-MARS appliance is 172.16.10.10.

2. For each interface where traffic should be monitored, add the following command:

Router(config)# interface FastEthernet0/0
Router(config-if)# ip route-cache flow