50-11
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 50 Configuring NetFlow
Configuring NetFlow
Summary of NetFlow Commands on the MSFC
Table 50-5
shows the NetFlow commands available on the MSFC.
Enabling NetFlow on the MSFC
To enable NetFlow on the MSFC, perform this task for each Layer 3 interface from which you want
NetFlow:
In Release 12.2(18)SXF and later releases, you need to enter the
ip flow ingress
command to enable
NetFlow for the interface. In releases prior to Release 12.2(18)SXF, NetFlow is enabled by default.
Configuring NetFlow Aggregation on the MSFC
For information on configuring NetFlow aggregation on the MSFC, refer to the following
documentation:
Cisco IOS netFlow Configuration Guide.
Table 50-5 Summary of MSFC NetFlow commands
Command
Purpose
interface x
ip flow ingress
Enables NetFlow on the MSFC and the PFC for
the specified interface.
ip flow-aggregation cache
export version {8|9}
mask source minimum x
Configure NetFlow aggregation. Note that
configuring aggregation on the MSFC also
enables aggregation for the PFC.
Specifies aggregation data export format 8 or 9.
Specifies the aggregation minimum mask.
ip flow ingress layer2-switched vlan x
Enables NetFlow for Layer 2 switched traffic.
interface x
ip multicast netflow {ingress|egress}
Enables NetFlow multicast traffic on the specified
interface (for MSFC and PFC).
show ip cache flow aggregation
Shows the NetFlow aggregation cache
information and flows.
show ip cache verbose flow
Shows the NetFlow main cache information and
flows.
Command
Purpose
Step 1
Router(config)#
interface
{
vlan
vlan_ID
} |
{
type
slot/port
} | {
port-channel
port_channel_number
}
Selects a Layer 3 interface to configure.
Step 2
Router(config-if)#
ip flow ingress
1
1.
Supported in Release 12.2(18)SXD and later releases.
Enables NetFlow on the selected interface, for flows
routed in hardware or software. You must also enable
Netflow on the PFC to enable NetFlow for flows routed in
hardware.
Router(config-if)#
ip route-cache flow
2
2.
Deprecated in Release 12.2(18)SXD.