What are the steps to enable Netflow on a Supervisor Engine 720 with the following Policy Feature Card: WS-F6K-PFC3B.
Is it better to configure it on the PFC or on the MSFC ? What are the differences?
* Enabling NetFlow on the PFC
To enable NetFlow statistics collection on the PFC, perform this task:
mls netflow (Enables NetFlow on the PFC).
no mls netflow (Disables NetFlow on the PFC.)
* Enabling NetFlow on the MSFC
int Vlanxxx
ip flow-export ingress
ip route-cache flow
NetFlow and NDE on the MSFC
The NetFlow cache on the MSFC captures statistics for flows routed in software. The MSFC supports NetFlow aggregation for traffic routed in software.
NetFlow and NDE on the PFC
The NetFlow cache on the PFC captures statistics for flows routed in hardware. The PFC supports sampled NetFlow and NetFlow aggregation for traffic routed in hardware.
Having said the above, the Sup720 theoretically should switch all packets in hardware, so having the Netflow in PFC would be the way to go. However, there might be some packets that gets software switched in which the Netflow and NDE in PFC will not catch. The document does not say about not having support in configuring Netflow in both PFC and MSFC.
Please click here for the Netflow Data Export guide.
Please click here for Netflow Configuration guide.
The NetFlow cache on the MSFC captures statistics for flows routed in software. The MSFC supports NetFlow aggregation for traffic routed in software.
NetFlow and NDE on the PFC
The NetFlow cache on the PFC captures statistics for flows routed in hardware. The PFC supports sampled NetFlow and NetFlow aggregation for traffic routed in hardware.
Having said the above, the Sup720 theoretically should switch all packets in hardware, so having the Netflow in PFC would be the way to go. However, there might be some packets that gets software switched in which the Netflow and NDE in PFC will not catch. The document does not say about not having support in configuring Netflow in both PFC and MSFC.
Please click here for the Netflow Data Export guide.
Please click here for Netflow Configuration guide.
Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.