![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This chapter describes the function and displays the syntax for switching commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Switching Services Command Reference.
To clear the NetFlow switching statistics, use the clear ip flow stats EXEC command.
clear ip flow statsUse 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-identifiervlan-identifier | Virtual LAN identifier. The allowed range is 1 to 1000. |
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 saidsaid | Security association identifier. This value is used as the virtual LAN identifier. The valid range is 0 through 0xFFFFFFFE. |
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]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. |
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 numbernumber | Number of entries to maintain in the NetFlow cache. Range is 1024 to 524288 entries. The default is 65536 (64K). |
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]]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. |
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]To enable NetFlow switching for IP routing, use the ip route-cache flow interface configuration command. To disable NetFlow switching, use the no form of this command.
ip route-cache flowTo 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. |
To display a summary of the NetFlow switching statistics, use the show ip cache flow EXEC command.
show ip cache flow
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |