Difference between revisions of "Cisco"
From Observer GigaFlow Support | VIAVI Solutions Inc.
Kevin Wilkie (Talk | contribs) |
Kevin Wilkie (Talk | contribs) |
||
Line 4: | Line 4: | ||
To enable netflow you must first enable the global set of commands | To enable netflow you must first enable the global set of commands | ||
− | :ip flow-export destination '''ip_address''' | + | :ip flow-export destination '''ip_address''' '''port''' |
:ip flow-export source '''interface''' | :ip flow-export source '''interface''' | ||
− | :ip flow-export version 5 [peer-as | origin-as] | + | :ip flow-export version 5 ['''peer-as''' | '''origin-as'''] |
:ip flow-cache timeout active 1 | :ip flow-cache timeout active 1 | ||
:ip flow-cache timeout inactive 15 | :ip flow-cache timeout inactive 15 |
Revision as of 11:05, 30 September 2016
Netflow Version 5 is the most popular and one of the simplest versions of netflow to enable. Its popular due to its almost ubiquitous support on Cisco routers as well as the fact that it is also the most efficient in terms of bandwidth usage.
To enable netflow you must first enable the global set of commands
- ip flow-export destination ip_address port
- ip flow-export source interface
- ip flow-export version 5 [peer-as | origin-as]
- ip flow-cache timeout active 1
- ip flow-cache timeout inactive 15
- snmp-server ifindex persist
Then enable netflow on each interface you wish to monitor