Specifications
Configuring NetFlow on the X-Series Router
May 18, 2011 Page 13 of 21
Whenyouexecutetheclearnetflowallcommand,allNetFlowsettingsarereturnedtotheir
defaultcondition.InthecaseoftheglobalNetFlowcachesetting,thedefaultisdisabled.
Displaying NetFlow Information
TodisplaythecurrentNetFlowconfigurationsettings:
show netflow config
TodisplayNetFlowstatisticsonaper‐portbasis:
show netflow statistics port-string
TodisplayflowcountersforthecurrentcachedNetFlowinformation,onasystem‐wideor
IOM‐specificbasis:
show netflow cache-flow [slot-id]
Default NetFlow Settings for the X-Series Router
Table 2providesalistingofthedefaultNetFlowsettingsfortheX‐SeriesRouter.
Table 2 Default NetFlow Settings for the X-Series Router
Parameter Description Default Value
Cache Status Whether NetFlow caching is globally enabled or
disabled.
Disabled globally
Sampling Rate The rate at which packets are captured, or sampled.
100 indicates that 1 in 100 packets is captured.
100
Engine ID The ID number of the flow switching engine. This ID
is required by NetFlow export version 5 format.
0
Engine Type The type of flow switching engine. This value is
required by NetFlow export version 5 format.
0
Administrative Interface This is the interface used for the source IP address
of the exported NetFlow UDP datagrams.
eth0
Destination IP The IP address of the NetFlow collector which is the
destination of the NetFlow UDP packets.
None
Destination UDP port The UDP port on the NetFlow collector. 2055
Export Version The NetFlow flow record format used when
exporting NetFlow packets. Version can be either 1
or 5.
Version 5
Export Interval The time out interval when the NetFlow cache is
flushed and the data is exported, if the maximum
number of entries has not been reached.
30 minutes
Export AS Whether the BGP AS addresses are origin or peer.
BGP AS addresses are not supported by Version 1.
peer AS
Number of Entries The maximum number of flows saved into the
cache.
84 KB
Port state Whether NetFlow is enabled or disabled on a port. Disabled