cc/td/doc/product/software/ios120/12supdoc/12cmdsum
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Cisco IOS Switching Commands

Cisco IOS Switching Commands

This chapter describes the function and displays the syntax for Cisco IOS switching 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 switching 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.


encapsulation tr-isl

Use the encapsulation tr-isl subinterface configuration command to enable TRISL, a Cisco proprietary protocol for interconnecting multiple routers and switches and maintaining VLAN information as traffic goes between switches.

encapsulation tr-isl trbrf-vlan vlan-id bridge-num bridge-number

vlan-id

Number identifying the VLAN.

bridge-number

Keyword that specifies the identification number of the bridge number on the ISL trunk. Possible values are 01 to 4095.


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. The valid 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 [flow]
no ip route-cache [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.

flow

(Optional) Enables the RSP to perform flow switching 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. If both ip  route-cache flow and ip route-cache distributed are configured, the VIP does distributed flow switching. If only ip route-cache distributed is configured, the VIP does distributed optimum switching.


ip route-cache flow

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 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 switching statistics, use the show ip cache flow EXEC command.

show ip cache flow


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Feb 8 14:17:41 PST 1999
Copyright 1989-1999©Cisco Systems Inc.