50-12
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 50 Configuring NetFlow
Configuring NetFlow
For information on configuring NetFlow ToS-based router aggregation on the MSFC, refer to the
following documentation:
Cisco IOS netFlow Configuration Guide.
Note
•
When you configure NetFlow aggregation on the MSFC, it is configured automatically on the PFC
and DFCs (see the
“Configuring NetFlow Aggregation on the PFC” section on page 50-9
).
•
The PFC and DFCs do not support NetFlow ToS-based router aggregation.
Enabling NetFlow for Ingress-Bridged IP Traffic
In PFC3B or PFC3BXL mode with Release 12.2(18)SXE and later releases, NetFlow supports
ingress-bridged IP traffic. PFC3A mode does not support NetFlow for bridged IP traffic.
Note
•
When you enable NetFlow for ingress-bridged IP traffic, the statistics are available to the Sampled
NetFlow feature (see the
“NetFlow Sampling” section on page 51-7
).
•
To enable NetFlow for bridged IP traffic on a VLAN, you must create a corresponding VLAN
interface, assign it an IP address, and enter the
no shutdown
command to bring up the interface.
To enable NetFlow for ingress-bridged IP traffic in VLANs, perform this task:
This example shows how to enable NetFlow for ingress-bridged IP traffic in VLAN 200:
Router#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
ip flow ingress layer2-switched vlan 200
Command
Purpose
Router(config)#
ip flow ingress layer2-switched
vlan
vlan_ID
[-
vlan_ID
] [
,
vlan_ID
[-
vlan_ID
]]
Enables NetFlow for ingress-bridged IP traffic in the
specified VLANs.
Note
NetFlow for ingress-bridged IP traffic in a VLAN
requires that NetFlow on the PFC be enabled with the
mls netflow
command.
Router(config)#
no ip flow ingress layer2-switched
vlan
vlan_ID
[-
vlan_ID
] [
,
vlan_ID
[-
vlan_ID
]]
Disables NetFlow for ingress-bridged IP traffic in the
specified VLANs.