Cisco Cisco IOS Software Release 12.2(27)SBC

Page de 39
MPLS-Aware NetFlow
  How to Configure MPLS-Aware NetFlow
16
Cisco IOS Release: Multiple releases (see Feature Information table)
SUMMARY STEPS
1.
enable
2.
show flow-sampler [sampler-map-name]
3.
exit
DETAILED STEPS
Step 1
enable
Use this command to enable privileged EXEC mode. Enter your password if required. For example:
Router> enable
Router#
Step 2
show flow-sampler [sampler-map-name]
Use this command to verify the following information about a specific NetFlow sampler: sampling mode, 
sampling parameters (such as packet sampling interval), and number of packets selected by the sampler for 
NetFlow processing. For example:
Router# show flow-sampler mysampler
Sampler : mysampler, id : 1, packets matched : 10, mode : random sampling mode
  sampling interval is : 100
Use the following command to verify the configuration for all NetFlow samplers on the router: 
Router# show flow-sampler
Sampler : mysampler, id : 1, packets matched : 10, mode : random sampling mode
  sampling interval is : 100
 Sampler : mysampler1, id : 2, packets matched : 5, mode : random sampling mode 
  sampling interval is : 200
Step 3
exit
Use this command to exit to user EXEC mode. For example:
Router# exit
Router> 
Displaying MPLS-Aware NetFlow Information on a Router
Perform this task to display a snapshot of the MPLS-Aware NetFlow cache on a router.
SUMMARY STEPS
1.
enable
2.
attach slot-number 
or
if-con slot-number 
3.
show ip cache verbose flow