cc/td/doc/product/software/ios113ed/cs
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Cisco IOS NetFlow Commands
clear ip flow stats
encapsulation isl
encapsulation sde
ip cache-invalidate-delay
ip flow-cache entries
ip flow-export
ip route-cache
ip route-cache flow
show ip cache
show ip cache flow

Cisco IOS NetFlow Commands


This chapter describes the function and displays the syntax for NetFlow configuration commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Switching Services Command Reference.

clear ip flow stats

To clear the NetFlow statistics, use the clear ip flow stats EXEC command.

clear ip flow stats

encapsulation isl

Use the encapsulation isl subinterface configuration command to enable the Inter-Switch Link (ISL). ISL is a Cisco protocol for interconnecting multiple switches and routers, and for defining VLAN topologies.

encapsulation isl vlan-identifier

vlan-identifier

Virtual LAN identifier. The allowed range is 1 to 1000.

encapsulation sde

Use the encapsulation sde subinterface configuration command to enable IEEE 802.10 encapsulation of traffic on a specified subinterface in virtual LANs. IEEE 802.10 is a standard protocol for interconnecting multiple switches and routers, and for defining VLAN topologies.

encapsulation sde said

said

Security association identifier. This value is used as the virtual LAN identifier. The valid range is 0 through 0xFFFFFFFE.

ip cache-invalidate-delay

To control the invalidation rate of the IP route cache, use the ip cache-invalidate-delay global configuration command. To allow the IP route cache to be immediately invalidated, use the no form of this command.

ip cache-invalidate-delay [minimum maximum quiet threshold]
no ip cache-invalidate-delay

minimum

(Optional) Minimum time (in seconds) between invalidation request and actual invalidation. The default is 2 seconds.

maximum

(Optional) Maximum time (in seconds) between invalidation request and actual invalidation. The default is 5 seconds.

quiet

(Optional) Length of quiet period (in seconds) before invalidation.

threshold

(Optional) Maximum number of invalidation requests considered to be quiet.

ip flow-cache entries

Use the ip flow-cache entries global configuration command to change the number of entries maintained in the NetFlow cache. Use the no form of this command to return to the default number of entries.

ip flow-cache entries number
no ip flow-cache entries

number

Number of entries to maintain in the NetFlow cache. Range is 1024 to 524288 entries. The default is 65536 (64K).

ip flow-export

To enable the exporting of information in NetFlow cache entries, use the ip flow-export global configuration command. To disable the exporting of information, use the no form of this command.

ip flow-export ip-address udp-port [version 1 | version 5 [origin-as | peer-as]]
no ip flow-export

ip-address

IP address of the workstation to which you want to send the NetFlow information.

udp-port

UDP protocol-specific port number.

version 1

(Optional) Specifies that the export packet uses the version 1 format. This is the default. The version field occupies the first two bytes of the export record. The number of records stored in the datagram is a variable between 1 and 24 for version 1.

version 5

(Optional) Specifies export packet uses the version 5 format. The number of records stored in the datagram is a variable between 1 and 30 for version 5.

origin-as

(Optional) Specifies that export statistics includes the origin autonomous system (AS) for the source and destination.

peer-as

(Optional) Specifies that export statistics includes the peer AS for the source and destination.

ip route-cache

Use the ip route-cache interface configuration command to control the use of high-speed switching caches for IP routing. To disable any of these switching modes, use the no form of this command.

ip route-cache [cbus]
no ip route-cache [cbus]
ip route-cache same-interface
no ip route-cache same-interface
ip route-cache [optimum | flow]
no ip route-cache [optimum | flow]
ip route-cache distributed
no ip route-cache distributed

cbus

(Optional) Enables both autonomous switching and fast switching.

same-interface

Enables fast-switching packets back out the interface on which they arrived.

optimum

(Optional) Enables optimum fast switching on the Cisco 7500 series. This feature is enabled by default for IP on all supported interfaces (Ethernet, FDDI, and serial). For serial interfaces, it is supported for HDLC encapsulation only.

flow

(Optional) Enables NetFlow on the interface.

distributed

Enables VIP distributed switching on the interface. This feature can be enabled on Cisco 7500 series routers with an RSP and Versatile Interface Processor (VIP) controllers.

ip route-cache flow

To enable NetFlow for IP routing, use the ip route-cache flow interface configuration command. To disable NetFlow, use the no form of this command.

ip route-cache flow
no ip route-cache flow

show ip cache

To display the routing table cache used to fast switch IP traffic, use the show ip cache EXEC command.

show ip cache [prefix mask] [type number]

prefix

(Optional) Display only the entries in the cache that match the prefix and mask combination.

mask

(Optional) Display only the entries in the cache that match the prefix and mask combination.

type

(Optional) Display only the entries in the cache that match the interface type and number combination.

number

(Optional) Display only the entries in the cache that match the interface type and number combination.

show ip cache flow

To display a summary of the NetFlow statistics, use the show ip cache flow EXEC command.

show ip cache flow

hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Jan 6 16:19:20 PST 2004
All contents are Copyright © 1992--2003 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.