|
|
|
Enable Cisco devices for NetFlow via command line
|
|
Applies to:
|
PacketTrap pt360
|
|
Enable Cisco devices for NetFlow via command line.
Enabling NetFlow
Use the following commands beginning in global configuration mode:
Step 1 interface type slot/port-adapter/port (Cisco 7500 series routers) - Specifies the interface, and enter interface configuration mode.
interface type slot/port (Cisco 7200 series routers)
Step 2 ip route-cache flow - Enables Netflow.
Exporting NetFlow Statistics
NetFlow information can also be exported to network management applications. To configure the router to export NetFlow statistics maintained in the NetFlow cache to a workstation when a flow expires, use one of the following commands in global configuration mode:
Step 1 ip flow-export ip-address udp-port[version 1] - Configures the router to export NetFlow cache entries to a workstation if you are using receiving software that requires version 1. Version 1 is the default.
Step 2 ip flow-export ip-address udp-portversion 5[origin-as |peer-as] - Configures the router to export NetFlow cache entries to a workstation if you are using receiving software that accepts version 5. Optionally specify origin or peer autonomous system (AS). The default is to export neither AS which provides improved performance.
More information can be found here http://www.cisco.com/en/US/docs/ios/12_1/switch/configuration/guide/xcdnfc.html
|
|
|
|
|