Table Of Contents
Cisco IOS IP Switching Commands
clear ip cef prefix-statistics
ip cef table adjacency-prefix override
ip cef table consistency-check
show cef interface policy-statistics
show ip cef traffic prefix-length
Cisco IOS IP Switching Commands
clear adjacency
To clear the Cisco Express Forwarding (CEF) adjacency table, use the clear adjacency command in privileged EXEC mode.
clear adjacency
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Release Modification11.2 GS
This command was introduced to support the Cisco 12012 Internet router.
11.1 CC
Multiple platform support was added.
Usage Guidelines
When you issue this command, entries in the adjacency table that reside on the Route Processor (RP) are removed and then adjacency sources (such as ARP and Frame Relay) are requested to repopulate the adjacency tables once again. Layer 2 next hop information is reevaluated.
With distributed CEF (dCEF) mode, the adjacency tables that reside on line cards are always synchronized to the adjacency table that resides on the RP. Therefore, clearing the adjacency table on the RP using the clear adjacency command also clears the adjacency tables on the line cards; all changes are propagated to the line cards.
Clearing adjacencies causes the adjacency table to repopulate from the Layer 2 to Layer 3 mapping tables, such as Address Resolution Protocol (ARP). To cause the mappings to be re-evaluated, the source information must be cleared by using a Cisco IOS command, such as the clear arp-cache command.
Examples
The following example shows how to clear the adjacency table:
Router# clear adjacencyRelated Commands
Command Descriptionclear arp-cache
Deletes all dynamic entries from the ARP cache.
show adjacency
Displays CEF adjacency table information.
clear adjacency epoch
To begin a new epoch and increment the epoch number of the adjacency table, use the clear adjacency epoch command in privileged EXEC mode.
clear adjacency epoch
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The clear adjacency epoch command increments the epoch and flushes entries with the old epoch. This command clears inconsistencies.
Use the clear adjacency epoch command when you want to rebuild the adjacency table. A new adjacency table might be required because the user wants to remove inconsistencies from the table.
Examples
The following example shows how to begin a new epoch and increments the epoch number of the adjacency table:
Router# clear adjacency epochRelated Commands
Command Descriptionclear ip cef epoch
Begins a new epoch and increments the epoch number for a CEF table.
clear cef interface
To clear the Cisco Express Forwarding (CEF) per-interface traffic policy statistics for an interface, use the clear cef interface policy-statistics command in privileged EXEC mode.
clear cef interface [interface-type interface-number] policy-statistics
Syntax Description
interface-type
Type of interface to clear the policy statistics for
interface-number
Port, connector, or interface card number
Defaults
If you do not specify an interface type and interface number the policy statistics for all interfaces are cleared.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
This command clears the CEF BGP traffic policy statistics counters for an interface.
Examples
The following example clears the CEF BGP traffic policy statistics counters:
R1# clear cef interface ethernet 0/0 policy-statisticsR1#Related Commands
clear cef linecard
To clear Cisco Express Forwarding (CEF) information from line cards, use the clear cef linecard command in privileged EXEC mode.
clear cef linecard [slot-number] [adjacency | interface | prefix | events]
Syntax Description
Command Modes
Privileged EXEC
Command History
Release Modification11.2GS
This command was introduced to support the Cisco 12012 Internet router.
11.1CC
Multiple platform support was added.
Usage Guidelines
This command is available only on distributed switching platforms running distributed CEF (dCEF).
CEF information on the line cards is cleared; however, CEF information on the Route Processor (RP) is not affected.
Once you clear CEF information from line cards, the corresponding information from the RP is propagated to the line cards. Interprocess communications (IPC) ensures that CEF information on the RP matches the CEF information on the line cards.
Examples
The following example shows how to clear the CEF information from the line cards:
Router# clear cef linecardThe following example shows how to clear the CEF linecard event log:
Router# clear cef linecard eventsAll recorded events will be lost. Continue? [yes/no]: yRouter#Related Commands
clear ip cache
To delete entries in the routing table cache used to fast switch IP traffic, use the clear ip cache command in the privileged EXEC mode.
clear ip cache [prefix mask]
Syntax Description
prefix mask
(Optional) Deletes only the entries in the cache that match the prefix and mask combination.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use this command to clear routes from the routing table cache. You can remove all entries in the routing cache or you can remove only those entries associated with a specified prefix and mask.
Examples
The following command shows how to delete entire in the routing table cache:
Router# clear ip cacheThe following command show how to delete entries in the router table associated with the prefix and mask 192.168.32.0 255.255.255.0:
Router# clear ip cache 192.168.32.0 255.255.255.0Related Commands
Command Descriptionip route-cache
Controls the use of high-speed switching caches for IP routing.
show ip cache
Displays the routing table cache used to fast switch IP traffic.
clear ip cef epoch
To begin a new epoch and increment the epoch number for one or all Cisco Express Forwarding (CEF) tables, use the clear ip cef epoch command in privileged EXEC mode.
clear ip cef epoch [all-vrfs | full | vrf [table]]
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use the clear ip cef epoch command when you want to rebuild a table. This command increments the epoch and flushes entries with the old epoch. This command clears any inconsistencies that might exist, so if everything in the system is working correctly, this command does not affect the CEF forwarding tables other than changing the current epoch values.
Examples
The following example shows the output before and after you clear the epoch table and increment the epoch number:
Router# show ip cef epochCEF epoch information:Table: Default-tableTable epoch: 2 (43 entries at this epoch)Adjacency tableTable epoch: 2 (5 entries at this epoch)Router# clear ip cef epoch fullRouter# show ip cef epochCEF epoch information:Table: Default-tableTable epoch: 3 (43 entries at this epoch)Adjacency tableTable epoch: 3 (5 entries at this epoch)Related Commands
Command Descriptionshow cef state
Displays the state of CEF.
show ip cef epoch
Shows the table epochs of the adjacency table and of all FIB tables.
clear ip cef event-log
To clear the Cisco Express Forwarding (CEF) event-log buffer, use the clear ip cef event-log command in user EXEC or privileged EXEC mode.
clear ip cef event-log
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.0(15)S
This command was introduced.
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
Usage Guidelines
This command clears the entire CEF table event log that holds forwarding information base (FIB) and adjacency events.
Examples
The following example shows how to clear the CEF event-log buffer:
Router# clear ip cef event-logRelated Commands
clear ip cef inconsistency
To clear the Cisco Express Forwarding (CEF) inconsistency statistics and records found by the CEF consistency checkers, use the clear ip cef inconsistency command in user EXEC or privileged EXEC mode.
clear ip cef inconsistency
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.0(15)S
This command was introduced.
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
Usage Guidelines
This command clears the CEF inconsistency checker statistics and records that accumulate when the ip cef table consistency-check command is enabled.
Examples
The following example shows how to clear all CEF inconsistency checker statistics and records:
Router# clear ip cef inconsistencyRelated Commands
Command Descriptionip cef table consistency-check
Enables CEF table consistency checker types and parameters.
show ip cef inconsistency
Displays CEF IP prefix inconsistencies.
clear ip cef prefix-statistics
To clear Cisco Express Forwarding (CEF) counters by resetting the packet and byte count to zero (0), use the clear ip cef prefix-statistics command in user EXEC or privileged EXEC mode.
clear ip cef {network [mask] | *} prefix-statistics
Syntax Description
network
Forwarding information base (FIB) entry specified by network.
mask
(Optional) FIB entry specified by network and mask.
*
Indicates all FIB entries.
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification11.2 GS
This command was introduced to support the Cisco 12012 Internet router.
11.1 CC
Multiple platform support was added.
Usage Guidelines
When the clear statistics flag is set, statistics are cleared as the FIB table is scanned. The time period is up to 60 seconds for all statistics to clear. However, clearing a specific prefix is completed immediately.
Examples
The following example shows how to reset the packet and byte counts to zero for all CEF entries:
Router# clear ip cef * prefix-statisticsRelated Commands
Command Descriptionip cef accounting
Enables CEF network accounting.
show adjacency
Displays CEF adjacency table information.
show ip cef
Displays entries or a summary of the FIB table.
clear ip mds
To clear multicast distributed switching (MDS) information from the router, use the clear ip mds command in privileged EXEC mode.
clear ip mds {all | [vrf vrf-name] forwarding}
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Cisco 12000 Series Internet Router
On a Cisco 12000 Series Internet Router the clear ip mds command must be run in privileged EXEC mode on a linecard.
Examples
The following example clears all line card routes in an MFIB table on a Cisco 12000 Series Internet Router:
Router# attach 1LC-Slot1> enableLC-Slot1# clear ip mds forwardingThe following example clears all line card routes in an MFIB table on a Cisco 7500 Series Router:Router# clear ip mds forwardingRelated Commands
clear ip mds forwarding
The forwarding keyword for the clear ip mds command is no longer documented as a separate command.
The information for using the forwarding keyword for the clear ip mds command has been incorporated into the clear ip mds command documentation. See the clear ip mds command documentation for more information.
ip cache-invalidate-delay
To control the invalidation rate of the IP route cache, use the ip cache-invalidate-delay command in global configuration mode. 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
Syntax Description
Defaults
minimum: 2 seconds
maximum: 5 seconds, and 3 seconds with no more than zero invalidation requestsCommand Modes
Global configuration
Command History
Usage Guidelines
After you enter the ip cache-invalidate-delay command all cache invalidation requests are honored immediately.
CautionThis command should only be used under the guidance of technical support personnel. Incorrect settings can seriously degrade network performance. The command-line-interface (CLI) will not allow you to enter the ip cache-invalidate-delay command until you configure the service internal command in global configuration mode.
The IP fast-switching and autonomous-switching features maintain a cache of IP routes for rapid access. When a packet is to be forwarded and the corresponding route is not present in the cache, the packet is process switched and a new cache entry is built. However, when routing table changes occur (such as when a link or an interface goes down), the route cache must be flushed so that it can be rebuilt with up-to-date routing information.
This command controls how the route cache is flushed. The intent is to delay invalidation of the cache until after routing has settled down. Because route table changes tend to be clustered in a short period of time, and the cache may be flushed repeatedly, a high CPU load might be placed on the router.
When this feature is enabled, and the system requests that the route cache be flushed, the request is held for at least minimum seconds. Then the system determines whether the cache has been "quiet" (that is, less than threshold invalidation requests in the last quiet seconds). If the cache has been quiet, the cache is then flushed. If the cache does not become quiet within maximum seconds after the first request, it is flushed unconditionally.
Manipulation of these parameters trades off CPU utilization versus route convergence time. Timing of the routing protocols is not affected, but removal of stale cache entries is affected.
Examples
The following example shows how to set a minimum delay of 5 seconds, a maximum delay of 30 seconds, and a quiet threshold of no more than 5 invalidation requests in the previous 10 seconds:
Router(config)# service internalRouter(config)# ip cache-invalidate-delay 5 30 10 5Related Commands
ip cef
To enable Cisco Express Forwarding (CEF) on the route processor card, use the ip cef command in global configuration mode. To disable CEF, use the no form of this command.
ip cef [distributed]
no ip cef [distributed]
Syntax Description
distributed
(Optional) Enables distributed CEF (dCEF) operation. Distributes CEF information to line cards. Line cards perform express forwarding.
Defaults
CEF is disabled by default, excluding these platforms:
CEF is enabled on the Cisco 7100 series router.
CEF is enabled on the Cisco 7200 series router.
CEF is enabled on the Cisco 7500 series Internet router.
Distributed CEF is enabled on the Cisco 6500 series router
Distributed CEF is enabled on the Cisco 12000 series Internet router.Command Modes
Global configuration
Command History
Usage Guidelines
The ip cef command is not available on the Cisco 12000 series because that router series operates only in dCEF mode.
CEF is advanced Layer 3 IP switching technology. CEF optimizes network performance and scalability for networks with dynamic, topologically dispersed traffic patterns, such as those associated with web-based applications and interactive sessions.
If you enable CEF and then create an access list that uses the log keyword, the packets that match the access list are not CEF switched. They are fast switched. Logging disables CEF.
Examples
The following example shows how to enable standard CEF operation:
Router(config)# ip cefThe following example shows host to enables dCEF operation:
Router(config)# ip cef distributedRelated Commands
ip cef accounting
To enable Cisco Express Forwarding (CEF) network accounting, use the ip cef accounting command in global configuration mode or interface configuration mode. To disable network accounting of CEF, use the no form of this command.
ip cef accounting {[non-recursive] [per-prefix] [prefix-length]}
no ip cef accounting {[non-recursive] [per-prefix] [prefix-length]}
Specific CEF Accounting Information Through Interface Configuration Mode
ip cef accounting non-recursive {external | internal}
no ip cef accounting non-recursive {external | internal}
Syntax Description
Defaults
Accounting is disabled by default.
Command Modes
Global configuration
Interface configuration
Command History
Usage Guidelines
You might want to collect statistics to better understand CEF patterns in your network.
When you enable network accounting for CEF from global configuration mode, accounting information is collected at the Route Processor (RP) when CEF mode is enabled and at the line cards when distributed CEF (dCEF) mode is enabled. You can then display the collected accounting information using the show ip cef privileged EXEC command.
For prefixes with directly connected next hops, the non-recursive keyword enables the collection of packets and bytes to be express forwarded through a prefix. This keyword is optional when this command is used in global configuration mode.
This command in interface configuration mode must be used in conjunction with the global configuration command. The interface configuration command allows a user to specify two different bins (internal or external) for the accumulation of statistics. The internal bin is used by default. The statistics are displayed through the show ip cef detail command.
Examples
The following example shows how to enable the collection of CEF accounting information:
Router(config)# ip cef accountingRelated Commands
ip cef linecard ipc memory
To configure the line card memory pool for the Cisco Express Forwarding (CEF) queuing messages, use the ip cef linecard ipc memory command in global configuration mode. To return to the default Inter-process Communications (IPC) memory allocation, use the no form of this command.
ip cef linecard ipc memory kbps
no ip cef linecard ipc memory kbps
Syntax Description
Defaults
Default IPC memory allocation is 25 messages. However, this value is dependant on the switching platform.
Command Modes
Global configuration
Command History
Usage Guidelines
This command is available only on distributed switching platforms.
If you are expecting large routing updates to the Route Processor (RP), use this command to allocate a larger memory pool on the line cards for queuing CEF routing update messages. The memory pool reduces the transient memory requirements on the RP.
To display and monitor the current size of the CEF message queues, use the show cef linecard command. Also, the peak size is recorded and displayed when you use the detail keyword.
Examples
The following example shows how to configure the CEF line card memory queue to 128000 kilobytes per second:
Router(config)# ip cef linecard ipc memory 128000Related Commands
Command Descriptionshow cef linecard
Displays detailed CEF information for the specified line card.
ip cef load-sharing algorithm
To select a Cisco Express Forwarding (CEF) load balancing algorithm, use the ip cef load-sharing algorithm command in global configuration mode. To return to the default universal load balancing algorithm, use the no form of this command.
ip cef load-sharing algorithm {original | tunnel [id] | universal [id]}
no ip cef load-sharing algorithm {original | tunnel [id] | universal [id]}
Syntax Description
Defaults
The universal load sharing algorithm is selected.
Command Modes
Global configuration
Command History
Release Modification12.0(12)S
This command was introduced.
12.1(5)T
This command was integrated into Cisco IOS Release 12.1(5)T.
Usage Guidelines
The original CEF load sharing algorithm produced distortions in load sharing across multiple routers due to the use of the same algorithm on every router. When the load sharing algorithm is set to universal mode, each router on the network can make a different load sharing decision for each source-destination address pair which resolves load sharing distortions.
The tunnel algorithm is designed to more fairly share load when only a few source-destination pairs are involved.
Examples
The following example shows how to enable the CEF load sharing algorithm for universal environments:
Router(config)# ip cef load-sharing algorithm universal 1Related Commands
Command Descriptiondebug ip cef hash
Records CEF load sharing hash algorithm events
ip load-sharing
Enables load balancing.
ip cef table adjacency-prefix
To modify how Cisco Express Forwarding (CEF) adjacency prefixes are managed, use the ip cef table adjacency-prefix command in global configuration mode. To disable CEF adjacency prefix management, use the no form of this command.
ip cef table adjacency-prefix [override | validate]
no ip cef table adjacency-prefix [override | validate]
Syntax Description
override
Enables Cisco Express Forwarding (CEF) adjacency prefixes to override static host glean routes.
validate
Enables the periodic validation of Cisco Express Forwarding (CEF) adjacency prefixes.
Defaults
All CEF adjacency prefix management is disabled by default.
Command Modes
Global configuration
Command History
Usage Guidelines
When CEF is configured, the forwarding information base (FIB) table may conflict with static host routes that are specified in terms of an output interface or created by a Layer 2 address resolution protocols such as Address Resolution Protocol (ARP), map lists, and so on.
The Layer 2 address resolution protocol adds adjacencies to CEF, which in turn creates a corresponding host route entry in the FIB table. This entry is called an adjacency prefix.
override
If the CEF adjacency prefix entries are also configured by a static host route, a conflict occurs.
This command ensures that adjacency prefixes can override static host glean routes, and correctly restore routes when the adjacency prefix is deleted.
validate
When you add a /31 netmask route, the new netmask does not overwrite an existing /32 CEF entry. This problem is resolved by configuring the validate keyword to periodically validate prefixes derived from adjacencies in the FIB against prefixes originating from the RIB.
Examples
override
The following example shows how to enable CEF table adjacency prefix override:
Router(config)# ip cef table adjacency-prefix overridevalidate
The following example shows how to enable CEF table adjacency prefix validation:
Router(config)# ip cef table adjacency-prefix validateip cef table adjacency-prefix override
The override keyword for the ip cef table adjacency-prefix command is no longer documented as a separate command.
The information for using the override keyword for the ip cef table adjacency-prefix command has been incorporated into the ip cef table adjacency-prefix command documentation. See the ip cef table adjacency-prefix command documentation for more information.
ip cef table consistency-check
To enable Cisco Express Forwarding (CEF) table consistency checker types and parameters, use the ip cef table consistency-check command in global configuration mode. To disable consistency checkers, use the no form of this command.
ip cef table consistency-check [type {lc-detect | scan-lc | scan-rib | scan-rp}] [count count-number] [period seconds]
no ip cef table consistency-check [type {lc-detect | scan-lc | scan-rib | scan-rp}] [count count-number] [period seconds]
Specific to Suppress Errors During Route Updates
ip cef table consistency-check [settle-time seconds]
no ip cef table consistency-check [settle-time seconds]
Syntax Description
Defaults
All consistency checkers are disabled by default.
Command Modes
Global configuration
Command History
Release Modification12.0(15)S
This command was introduced.
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
Usage Guidelines
This command configures CEF consistency checkers and parameters for the following detection mechanism types:
Examples
The following example shows how to enable the CEF consistency checkers:
Router(config)# ip cef table consistency-checkRelated Commands,
ip cef table event-log
To control Cisco Express Forwarding (CEF) table event-log characteristics, use the ip cef table event-log command in global configuration mode.
ip cef table event-log [size event-number] [match ip-prefix mask]
no ip cef table event-log [size event-number] [match ip-prefix mask]
Specific to Virtual Private Network (VPN) Event Log
ip cef table event-log [size event-number] [vrf vrf-name] [match ip-prefix mask]
no ip cef table event-log [size event-number] [vrf vrf-name] [match ip-prefix mask]
Syntax Description
Defaults
Default size for event log is 10000 entries.
Command Modes
Global configuration
Command History
Release Modification12.0(15)S
This command was introduced.
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
Usage Guidelines
This command is used to troubleshoot inconsistencies that occur in the CEF event log between the routes in the Routing Information Base (RIB), Route Processor (RP) CEF tables, and line card CEF tables.
The CEF event log collects CEF events as they occur without debugging enabled. This process allows the tracing of an event immediately after it occurs. Cisco technical personnel may ask for information from this event log to aid in resolving problems with the CEF feature.
When the CEF table event log has reached its capacity, the oldest event is written over by the newest event until the event log size is reset using this command or cleared using the clear ip cef event-log command.
Examples
The following example shows how to set the CEF table event log size to 5000 entries:
Router(config)# ip cef table event-log size 5000Related Commands
ip cef table resolution-timer
To change the Cisco Express Forwarding (CEF) background resolution timer, use the ip cef table resolution-timer command in global configuration mode.
ip cef table resolution-timer seconds
no ip cef table resolution-timer seconds
Syntax Description
seconds
Timer value in seconds. Range is from 0 to 30 seconds; 0 is for the automatic exponential backoff scheme.
Defaults
The default configuration value is 0 seconds for automatic exponential backoff.
Command Modes
Global configuration
Command History
Usage Guidelines
The CEF background resolution timer can use either a fixed time interval or an exponential backoff timer that reacts to the amount of resolution work required. The exponential backoff timer starts at 1 second, increasing to 16 seconds when a network flap is in progress. When the network recovers, the timer returns to 1 second.
The default is used for the exponential backoff timer. During normal operation, the default configuration value set to 0 results in re-resolution occurring much sooner than when the timer is set at a higher fixed interval.
Examples
The following example show how to set the CEF background resolution timer to 3 seconds:
Router(config)# ip cef table resolution-timer 3ip load-sharing
To enable load balancing for Cisco Express Forwarding (CEF), use the ip load-sharing command in interface configuration mode.
ip load-sharing [per-packet] [per-destination]
Syntax Description
per-packet
(Optional) Enables per-packet load balancing on the interface.
per-destination
(Optional) Enables per-destination load balancing on the interface.
Defaults
Per-destination load balancing is enabled by default when you enable CEF.
Command Modes
Interface configuration
Command History
Release Modification11.2 GS
This command was introduced.
11.1 CC
Multiple platform support was added.
Usage Guidelines
Per-packet load balancing allows the router to send data packets over successive equal-cost paths without regard to individual destination hosts or user sessions. Path utilization is good, but packets destined for a given destination host might take different paths and might arrive out of order.
Note
Per-packet load balancing via CEF is not supported on Engine 2 Gigabit Switch Router (GSR) line cards (LCs).
Per-destination load balancing allows the router to use multiple, equal-cost paths to achieve load sharing. Packets for a given source-destination host pair are guaranteed to take the same path, even if multiple, equal-cost paths are available. Traffic for different source-destination host pairs tend to take different paths.
Note
If you want to enable per-packet load sharing to a particular destination, then all interfaces that can forward traffic to the destination must be enabled for per-packet load sharing.
Examples
The following example shows how to enable per-packet load balancing:
Router(config)# interface E0Router(config-if)# ip load-sharing per-packetThe following example shows how to enable per-destination load balancing:
Router(config)# interface E0Router(config-if)# ip load-sharing per-destinationRelated Commands
ip route-cache
To control the use of switching methods for forwarding IP packets use the ip route-cache command in interface configuration mode. To disable any of these switching methods, use the no form of this command.
ip route-cache [same-interface | flow | distributed | cef | policy]
no ip route-cache [same-interface | flow | distributed | cef | policy]
Syntax Description
Defaults
Fast Switching
The default behavior for Fast Switching varies by interface and media.
Distributed Switching
Distributed switching is disabled.
CEF and dCEF
When CEF or dCEF operation is enabled globally, all interfaces that support CEF or dCEF are enabled by default.
NetFlow Accounting
NetFlow accounting is disabled
Fast Switching for PBR (FSPBR)
FSPBR is disabled
Command Modes
Interface configuration
Command History
Usage Guidelines
•
ip route-cache same-interface
ip route-cache
Using the route cache is often called fast switching. The route cache allows outgoing packets to be load-balanced on a per-destination basis rather than on a per-packet basis. The ip route-cache command with no additional keywords enables fast switching.
Entering the ip route-cache command has no effect on a subinterface. Subinterfaces accept the no form of the command; however, this disables CEF or dCEF on the physical interface as well as all subinterfaces associated with the physical interface
ip route-cache same-interface
You can enable IP fast switching when the input and output interfaces are the same interface, using the ip route-cache same-interface command. This configuration normally is not recommended, although it is useful when you have partially meshed media, such as Frame Relay or you are running Web Cache Communication Protocol (WCCP) redirection. You could use this feature on other interfaces, although it is not recommended because it would interfere with redirection of packets to the optimal path.
ip route-cache flow
Enables (ingress) NetFlow accounting for traffic arriving on an interface.
ip route-cache distributed
The distributed option is supported on Cisco routers with line cards and Versatile Interface Processors (VIPs) that support both CEF and flow switching.
On Cisco routers with Route Switch Processor (RSP) and VIP controllers, the VIP hardware can be configured to switch packets received by the VIP with no per-packet intervention on the part of the RSP. When VIP distributed switching is enabled, the input VIP interface tries to switch IP packets instead of forwarding them to the RSP for switching. Distributed switching helps decrease the demand on the RSP
ip route-cache cef
In some instances, you might want to disable CEF or dCEF on a particular interface because that interface is configured with a feature that CEF or dCEF does not support. Because all interfaces that support CEF or dCEF are enabled by default when you enable CEF operation globally, you must use the no form of the ip route-cache cef command in the interface configuration mode to turn CEF operation off a particular interface. To reenable CEF or dCEF operation, use the ip route-cache cef command.
Disabling CEF or dCEF on an interface disables CEF switching for packets forwarded to the interface, but has no effect on packets forwarded out of the interface.
Additionally when you disable CEF or dCEF, Cisco IOS software switches packets using the next-fastest switching path. In the case of dCEF, the next-fastest switching path is CEF on the RSP.
Note
On the Cisco 12000 Series Internet Router, you must not disable dCEF on an interface
ip route-cache policy
1.
If Cisco Express Forwarding (CEF) is already enabled, this command is not needed because PBR packets are CEF switched by default.
2.
Before you can enable fast-switched PBR, PBR itself must be configured.
3.
FSPBR supports all of PBR's match commands and most of PBR's set commands, with the following restrictions:
–
The set ip default next-hop and set default interface commands are not supported.
–
The set interface command is supported only over point-to-point links, unless a route cache entry exists using the same interface specified in the set interface command in the route map.
Also, at the process level, the routing table is consulted to determine if the interface is on a reasonable path to the destination. During fast switching, the software does not make this check. Instead, if the packet matches, the software blindly forwards the packet to the specified interface.Examples
•
Configuring Fast Switching and Disabling CEF Switching
•
Configuring Fast Switching for Traffic That is Received and Transmitted Over the Same Interface
•
Configuring Distributed Switching
•
Configuring Fast Switching for PBR
Configuring Fast Switching and Disabling CEF Switching
The following example shows how to enable fast switching and disable CEF switching:
Router(config)# interface ethernet 0/0/0Router(config-if)# ip route-cacheThe following example shows that fast switching is enabled:
Router# show ip interface fastEthernet 0/0/0FastEthernet0/0/0 is up, line protocol is upInternet address is 10.1.1.254/24Broadcast address is 255.255.255.255Address determined by non-volatile memoryMTU is 1500 bytesHelper address is not setDirected broadcast forwarding is disabledMulticast reserved groups joined: 224.0.0.10Outgoing access list is not setInbound access list is not setProxy ARP is enabledSecurity level is defaultSplit horizon is enabledICMP redirects are always sentICMP unreachables are always sentICMP mask replies are never sentIP fast switching is enabledIP fast switching on the same interface is disabledIP Flow switching is disabledIP Distributed switching is disabledIP Feature Fast switching turbo vectorIP Null turbo vectorIP multicast fast switching is enabledThe following example shows that CEF switching is disabled:
Router# show cef interface fastEthernet 0/0/0FastEthernet0/0/0 is up (if_number 3)Corresponding hwidb fast_if_number 3Corresponding hwidb firstsw->if_number 3Internet address is 10.1.1.254/24ICMP redirects are always sentPer packet load-sharing is disabledIP unicast RPF check is disabledInbound access list is not setOutbound access list is not setIP policy routing is disabledHardware idb is FastEthernet0/0/0Fast switching type 1, interface type 18IP CEF switching disabledIP Feature Fast switching turbo vectorIP Null turbo vectorInput fast flags 0x0, Output fast flags 0x0ifindex 1(1)Slot 0 Slot unit 0 VC -1Transmit limit accumulator 0x48001A02 (0x48001A02)IP MTU 1500The following example shows the configuration information for interface fastethernet 0/0/0
Router# show running-config..!interface FastEthernet0/0/0ip address 10.1.1.254 255.255.255.0no ip route-cache cefno ip route-cache distributed!Configuring Fast Switching for Traffic That is Received and Transmitted Over the Same Interface
The following example shows how to enable fast switching and disable CEF switching:
Router(config)# interface ethernet 0/0/0Router(config-if)# ip route-cache same-interfaceThe following example shows that fast switching on the same interface is enabled for interface fastethernet 0/0/0:
Router# show ip interface fastEthernet 0/0/0FastEthernet0/0/0 is up, line protocol is upInternet address is 10.1.1.254/24Broadcast address is 255.255.255.255Address determined by non-volatile memoryMTU is 1500 bytesHelper address is not setDirected broadcast forwarding is disabledMulticast reserved groups joined: 224.0.0.10Outgoing access list is not setInbound access list is not setProxy ARP is enabledSecurity level is defaultSplit horizon is enabledICMP redirects are always sentICMP unreachables are always sentICMP mask replies are never sentIP fast switching is enabledIP fast switching on the same interface is enabledIP Flow switching is disabledIP Distributed switching is disabledIP Feature Fast switching turbo vectorIP Null turbo vectorIP multicast fast switching is enabledIP multicast distributed fast switching is disabledIP route-cache flags are FastRouter Discovery is disabledIP output packet accounting is disabledIP access violation accounting is disabledTCP/IP header compression is disabledRTP/IP header compression is disabledProbe proxy name replies are disabledPolicy routing is disabledNetwork address translation is disabledWCCP Redirect outbound is disabledWCCP Redirect inbound is disabledWCCP Redirect exclude is disabledBGP Policy Mapping is disabledIP multicast multilayer switching is disabledThe following example shows the configuration information for interface fastethernet 0/0/0
Router# show running-config..!interface FastEthernet0/0/0ip address 10.1.1.254 255.255.255.0ip route-cache same-interfaceno ip route-cache cefno ip route-cache distributed!Enabling NetFlow Accounting
The following example shows how to enable NetFlow switching:
Router(config)# interface ethernet 0/0/0Router(config-if)# ip route-cache flowThe following example shows that NetFlow accounting is enabled for interface fastethernet 0/0/0:
Router# show ip interface fastEthernet 0/0/0FastEthernet0/0/0 is up, line protocol is upInternet address is 10.1.1.254/24Broadcast address is 255.255.255.255Address determined by non-volatile memoryMTU is 1500 bytesHelper address is not setDirected broadcast forwarding is disabledMulticast reserved groups joined: 224.0.0.10Outgoing access list is not setInbound access list is not setProxy ARP is enabledSecurity level is defaultSplit horizon is enabledICMP redirects are always sentICMP unreachables are always sentICMP mask replies are never sentIP fast switching is enabledIP fast switching on the same interface is disabledIP Flow switching is enabledIP Distributed switching is disabledIP Flow switching turbo vectorIP Null turbo vectorIP multicast fast switching is enabledIP multicast distributed fast switching is disabledIP route-cache flags are Fast, FlowRouter Discovery is disabledIP output packet accounting is disabledIP access violation accounting is disabledTCP/IP header compression is disabledRTP/IP header compression is disabledProbe proxy name replies are disabledPolicy routing is disabledNetwork address translation is disabledWCCP Redirect outbound is disabledWCCP Redirect inbound is disabledWCCP Redirect exclude is disabledBGP Policy Mapping is disabledIP multicast multilayer switching is disabledConfiguring Distributed Switching
The following example shows how to enable distributed switching:
Router(config)# ip cef distributedRouter(config)# interface ethernet 0/0/0Router(config-if)# ip route-cache distributedThe following example shows that distributed CEF switching is for interface fastethernet 0/0/0:
Router# show cef interface fastEthernet 0/0/0FastEthernet0/0/0 is up (if_number 3)Corresponding hwidb fast_if_number 3Corresponding hwidb firstsw->if_number 3Internet address is 10.1.1.254/24ICMP redirects are always sentPer packet load-sharing is disabledIP unicast RPF check is disabledInbound access list is not setOutbound access list is not setIP policy routing is disabledHardware idb is FastEthernet0/0/0Fast switching type 1, interface type 18IP Distributed CEF switching enabledIP Feature Fast switching turbo vectorIP Feature CEF switching turbo vectorInput fast flags 0x0, Output fast flags 0x0ifindex 1(1)Slot 0 Slot unit 0 VC -1Transmit limit accumulator 0x48001A02 (0x48001A02)IP MTU 1500Configuring Fast Switching for PBR
The following example shows how to configure a simple policy based routing scheme and to enable FSPBR:
Router(config)# access-list 1 permit 10.1.1.0 0.0.0.255Router(config)# route-map my_pbr_tag permit 10Router(config-route-map)# match ip address 1Router(config-route-map)# set ip next-hop 10.1.1.195Router(config-route-map)# exitRouter(config)# interface fastethernet 0/0/0Router(config-if)# ip route-cache policyRouter(config-if)# ip policy route-map my_pbr_tagThe following example shows that FSPBR is enabled for interface fastethernet 0/0/0:
Router# show ip interface fastEthernet 0/0/0FastEthernet0/0/0 is up, line protocol is upInternet address is 10.1.1.254/24Broadcast address is 255.255.255.255Address determined by non-volatile memoryMTU is 1500 bytesHelper address is not setDirected broadcast forwarding is disabledMulticast reserved groups joined: 224.0.0.10Outgoing access list is not setInbound access list is not setProxy ARP is enabledSecurity level is defaultSplit horizon is enabledICMP redirects are always sentICMP unreachables are always sentICMP mask replies are never sentIP fast switching is enabledIP fast switching on the same interface is disabledIP Flow switching is disabledIP CEF switching is enabledIP Distributed switching is enabledIP Feature Fast switching turbo vectorIP Feature CEF switching turbo vectorIP multicast fast switching is enabledIP multicast distributed fast switching is disabledIP route-cache flags are Fast, Distributed, Policy, CEFRouter Discovery is disabledIP output packet accounting is disabledIP access violation accounting is disabledTCP/IP header compression is disabledRTP/IP header compression is disabledProbe proxy name replies are disabledPolicy routing is enabled, using route map my_pbr_tagNetwork address translation is disabledWCCP Redirect outbound is disabledWCCP Redirect inbound is disabledWCCP Redirect exclude is disabledBGP Policy Mapping is disabledIP multicast multilayer switching is disabledRelated CommandsRouter(config-if)# ip route-cache distributed
ip route-cache policy
The policy keyword for the ip route-cache command is no longer documented as a separate command.
The information for using the policy keyword for the ip route-cache command has been incorporated into the ip route-cache command documentation. See the ip route-cache command documentation for more information.
show adjacency
To display information about the Cisco Express Forwarding (CEF) adjacency table or the hardware Layer 3-switching adjacency table, use the show adjacency command in user EXEC or privileged EXEC mode.
show adjacency [summary [interface interface-number]] | [prefix] [interface-type interface-number] [connectionid id] [link {ipv4 | ipv6 | mpls}] [detail]
Syntax Description
Defaults
This command has no default settings.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
This command is used to verify that an adjacency exists for a connected device, that the adjacency is valid, and that the MAC header rewrite string is correct.
You can use any combination of the prefix, interface, connectionid id, and link {ipv4 | ipv6 | mpls} keywords and arguments (in any order) as a filter to enable the display of a specified subset of adjacencies.
The information displayed by the show adjacency commands includes the following:
•
Protocol
•
Interface
•
Type of routed protocol traffic using this adjacency
•
Next hop address
•
Adjacency source (for example, ARP or ATM Map)
•
Encapsulation prepended to packet switched through this adjacency
•
Chain of output chain elements applied to packets after an adjacency
•
Packet and byte counts
•
HA epoch and summary event epoch
Examples
The following example shows how to display adjacency information:
Router# show adjacencyProtocol Interface AddressIP FastEthernet2/3 172.20.52.1(3045)IP FastEthernet2/3 172.20.52.22(11)Router#The following is sample output from the show adjacency summary command:
Router# show adjacency summaryAdjacency table has 7 adjacencies:each adjacency consumes 368 bytes (4 bytes platform extension)6 complete adjacencies1 incomplete adjacency4 adjacencies of linktype IP4 complete adjacencies of linktype IP0 incomplete adjacencies of linktype IP0 adjacencies with fixups of linktype IP2 adjacencies with IP redirect of linktype IP3 adjacencies of linktype IPV62 complete adjacencies of linktype IPV61 incomplete adjacency of linktype IPV6Adjacency database high availability:Database epoch: 8 (7 entries at this epoch)Adjacency manager summary event processing:Summary events epoch is 52Summary events queue contains 0 events (high water mark 113 events)Summary events queue can contain 49151 eventsAdj last sourced field refreshed every 16384 summary eventsRP adjacency component enabledThe following is sample output from the show adjacency detail command:
Router# show adjacency detailProtocol Interface AddressIP Serial5/0/0/1:1 point2point(7)0 packets, 0 bytes0F000800CEF expires: 00:02:09refresh: 00:00:09Epoch: 14IP Serial5/0/1/1:1 point2point(7)0 packets, 0 bytes0F000800CEF expires: 00:02:09refresh: 00:00:09Epoch: 14Router#The following example shows how to display adjacency information for a specific interface:
Router# show adjacency ethernet 3/0Protocol Interface AddressIPV6 Ethernet3/0 FE80::20C:CFFF:FEDF:6854(2)Router#The following example shows how to display protocol detail and timer adjacency information for IPv6 links for a specific interface:
Router# show adjacency ethernet 3/0 link ipv6 detailProtocol Interface AddressIPV6 Ethernet3/0 FE80::20C:CFFF:FEDF:6854(2)0 packets, 0 bytesepoch 0sourced in sev-epoch 16Encap length 14000CCFDF6854000CCFF9485486DDIPv6 NDRouter#Table 1 describes the significant fields shown in the displays.
Related Commands
show cef drop
To display a list of which packets each line card dropped, use the show cef drop command in user EXEC or privileged EXEC mode.
show cef drop
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
A line card might drop packets because of encapsulation failure, absence of route information, or absence of adjacency information.
A packet is sent to a different switching path (punted) because CEF does not support the encapsulation or feature, the packet is destined for the router, or the packet has IP options, such as time stamp and record route. IP options are process switched.
Note
If CEFv6 or dCEFv6 is enabled globally on the router, the show cef drop command displays IPv6 CEF counter information and IPv4 CEF counter information. If CEFv6 or dCEFv6 is not enabled globally on the router, the command displays only IPv4 CEF counter information.
Examples
The following is sample output from the show cef drop command:
Router# show cef dropCEF Drop StatisticsSlot Encap_fail Unresolved Unsupported No_route No_adj ChksumErrRP 4 89 0 4 0 01 0 0 0 0 0 02 0 0 5 0 0 5IPv6 CEF Drop StatisticsSlot Encap_fail Unresolved Unsupported No_route No_adjRP 2 33 0 2 01 0 0 3 0 02 0 0 0 0 0Table 2 describes the significant fields shown in the display.
Related Commands
Command DescriptionDisplays CEF-related interface information.
show ipv6 cef
Displays entries in the IPv6 FIB.
show cef events
To display a list of events internal to the CEF process, use the show cef events command in user EXEC or privileged EXEC mode.
show cef events
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show cef events command:
Router# show cef eventsCEF events (14/0 recorded/ignored)Time Event Details+00:00:00.000 SubSys ipfib init+00:00:00.000 SubSys ipfib_ios init+00:00:00.000 SubSys ipfib_util init+00:00:00.000 SubSys adj_ios init+00:00:00.000 SubSys ipfib_les init+00:00:01.272 Flag FIB enabled set to yes+00:00:01.272 Flag FIB switching enabled set to yes+00:00:01.272 GState CEF enabled+00:00:02.872 Process Background created+00:00:02.872 Flag FIB running set to yes+00:00:02.872 Process Background event loop enter+00:00:02.912 Flag FIB switching running set to yes+00:00:02.920 Process Scanner created+00:00:02.920 Process Scanner event loop enterTable 3 describes the significant fields shown in the display.
Table 3 show cef events Field Descriptions
Field DescriptionTime
Time that the event occurred.
Event
Type of event that occurred.
Details
Detailed description of the event.
Related Commands
show cef interface
To display detailed Cisco Express Forwarding (CEF) information for a specified interface or for all interfaces, use the show cef interface command in user EXEC or privileged EXEC mode.
show cef interface [type number] [statistics | detail | internal | brief | policy-statistics [input | output]]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
You can use this command to display the detailed CEF status for all interfaces.
Values entered for the type and number arguments display CEF status information for the specified interface type and number.
The policy-statistics, input, and output keywords are available only on distributed switching platforms.
Examples
The following example shows how to display a summary of CEF information for an interface named Ethernet 3/0:
Router# show cef interface ethernet 3/0 briefInterface IP-Address Status SwitchingEthernet3/0 10.0.212.6 up CEFRouter#The following is sample output from the show cef interface command for Fast Ethernet interface 1/0/0 with BGP policy accounting configured for input traffic:
Router# show cef interface fastethernet 1/0/0FastEthernet1/0/0 is up (if_number 6)Corresponding hwidb fast_if_number 6Corresponding hwidb firstsw->if_number 6Internet address is 10.1.1.1/24ICMP redirects are always sentPer packet load-sharing is disabledIP unicast RPF check is disabledInbound access list is not setOutbound access list is not setIP policy routing is disabledBGP based policy accounting on input is enabledBGP based policy accounting on output is disabledHardware idb is FastEthernet1/0/0 (6)Software idb is FastEthernet1/0/0 (6)Fast switching type 1, interface type 18IP Distributed CEF switching enabledIP Feature Fast switching turbo vectorIP Feature CEF switching turbo vectorInput fast flags 0x100, Output fast flags 0x0, Flags 0x0ifindex 7(7)Slot 1 Slot unit 0 VC -1Transmit limit accumulator 0xE8001A82 (0xE8001A82)IP MTU 1500The following is sample output from the show cef interface detail command for Ethernet interface 1/0/0:
Router# show cef interface ethernet 1/0/0 detailFastEthernet1/0/0 is up (if_number 6)Corresponding hwidb fast_if_number 6Corresponding hwidb firstsw->if_number 6Internet address is 10.1.1.1/24ICMP redirects are always sentPer packet load-sharing is disabledIP unicast RPF check is disabledInbound access list is not setOutbound access list is not setIP policy routing is disabledBGP based policy accounting on input is enabledBGP based policy accounting on output is disabledHardware idb is FastEthernet1/0/0 (6)Software idb is FastEthernet1/0/0 (6)Fast switching type 1, interface type 18IP Distributed CEF switching enabledIP Feature Fast switching turbo vectorIP Feature CEF switching turbo vectorInput fast flags 0x100, Output fast flags 0x0, Flags 0x0ifindex 7(7)Slot 1 Slot unit 0 VC -1Transmit limit accumulator 0xE8001A82 (0xE8001A82)IP MTU 1500The following is sample output from the show cef interface Null 0 detail command:
Router# show cef interface null 0 detailNull0 is up (if_number 1)Corresponding hwidb fast_if_number 1Corresponding hwidb firstsw->if_number 1Internet Protocol processing disabledInterface is marked as nullidbPackets switched to this interface on linecard are dropped to next slow pathHardware idb is Null0Fast switching type 13, interface type 0IP CEF switching enabledIP Feature CEF switching turbo vectorInput fast flags 0x0, Output fast flags 0x0ifindex 0(0)Slot -1 Slot unit -1 VC -1Transmit limit accumulator 0x0 (0x0)IP MTU 1500The following is sample output for internal CEF interface status and configuration for the Ethernet 3/1 interface:
Router# show cef interface ethernet 3/1 internalEthernet3/1 is up (if_number 13)Corresponding hwidb fast_if_number 13Corresponding hwidb firstsw->if_number 13Internet address is 10.0.212.6/24ICMP redirects are always sentPer packet load-sharing is disabledIP unicast RPF check is disabledInbound access list is not setOutbound access list is not setIP policy routing is disabledBGP based policy accounting on input is disabledBGP based policy accounting on output is disabledHardware idb is Ethernet3/1Fast switching type 1, interface type 63IP CEF switching enabledIP CEF switching turbo vectorIP CEF turbo switching turbo vectorIP prefix lookup IPv4 mtrie 8-8-8-8 optimizedInput fast flags 0x0, Output fast flags 0x0ifindex 11(11)Slot 3 Slot unit 0 VC -1Transmit limit accumulator 0x0 (0x0)IP MTU 1500Subblocks:IPv6: enabled 1 unreachable FALSE redirect TRUE mtu 1500 flags 0x0link-local address is FE80::20C:CFFF:FEF9:4854Global unicast address(es):10:6:6:6:20C:CFFF:FEF9:4854, subnet is 10:6:6:6::/64 [EUI]IPv4: Internet address is 10.0.212.6/24Broadcast address 255.255.255.255Per packet load-sharing is disabledIP MTU 1500Table 4 describes the significant fields shown in the displays.
The following is sample output from the show cef interface command using the policy-statistics keyword:
Router# show cef interface policy-statisticsPOS7/0 is up (if_number 8)Index Packets Bytes1 0 02 0 03 50 50004 100 100005 100 100006 10 10007 0 08 0 0The following is sample output from the show cef interface command using the policy-statistics keyword, and it shows policy statistics for Ethernet interface 1/0:
Router# show cef interface ethernet 1/0 policy-statisticsEthernet1/0 is up (if_number 3)Corresponding hwidb fast_if_number 3Corresponding hwidb firstsw->if_number 3Index Packets Bytes1 0 02 0 03 0 04 0 05 0 06 0 07 0 08 0 0The following is sample output from the show cef interface command using the policy-statistics keyword, and it shows policy statistics for Fast Ethernet interface 1/0/0 with the policy accounting based on input traffic:
Router# show cef interface fastethernet 1/0/0 policy-statistics inputFastEthernet1/0/0 is up (if_number 6)Corresponding hwidb fast_if_number 6Corresponding hwidb firstsw->if_number 6BGP based Policy accounting on input is enabledIndex Packets Bytes1 9999 9999002 0 03 0 04 0 05 0 06 0 07 0 08 0 09 0 010 0 011 0 012 0 013 0 014 0 015 0 016 0 017 0 018 0 019 0 020 0 021 0 022 0 023 0 024 0 025 0 026 0 027 0 028 0 029 0 030 0 031 0 032 0 033 0 034 1234 12340035 0 036 0 037 0 038 0 039 0 040 0 041 0 042 0 043 0 044 0 045 1000 10000046 0 047 0 048 0 049 0 050 0 051 0 052 0 053 0 054 5123 1198782The following is sample output from the show cef interface command using the policy-statistics keyword, and it shows policy statistics for serial interface 1/1/2 with the policy accounting based on output traffic:
Router# show cef interface serial 1/1/2 policy-statistics outputSerial1/1/2 is up (if_number 9)Corresponding hwidb fast_if_number 9Corresponding hwidb firstsw->if_number 9BGP based Policy accounting on output is enabledIndex Packets Bytes1 9999 9999002 0 03 0 04 0 05 0 06 0 07 0 08 0 09 0 010 0 011 0 012 0 013 0 014 0 015 0 016 0 017 0 018 0 019 0 020 0 021 0 022 0 023 0 024 0 025 0 026 0 027 0 028 0 029 0 030 0 031 0 032 0 033 0 034 1234 12340035 0 036 0 037 0 038 0 039 0 040 0 041 0 042 0 043 0 044 0 045 1000 10000046 0 047 0 048 0 049 0 050 0 051 0 052 0 053 0 054 5123 119878255 0 056 0 057 0 058 0 059 0 060 0 061 0 062 0 063 0 064 0 0Table 5 describes the significant fields shown in the display.
Related Commands
show cef interface policy-statistics
To display Cisco Express Forwarding (CEF) policy statistical information for a specific interface or for all interfaces, use the show cef interface policy-statistics command in user EXEC or privileged EXEC mode.
show cef interface [type number] policy-statistics [input | output]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
This command is available only on distributed switching platforms.
Examples
The following is sample output from the show cef interface policy-statistics command:
Router# show cef interface policy-statisticsPOS7/0 is up (if_number 8)Index Packets Bytes1 0 02 0 03 50 50004 100 100005 100 100006 10 10007 0 08 0 0The following is sample output from the show cef interface policy-statistics command showing policy statistics for Ethernet interface 1/0:
Router# show cef interface ethernet 1/0 policy-statisticsEthernet1/0 is up (if_number 3)Corresponding hwidb fast_if_number 3Corresponding hwidb firstsw->if_number 3Index Packets Bytes1 0 02 0 03 0 04 0 05 0 06 0 07 0 08 0 0The following is sample output from the show cef interface policy-statistics command showing policy statistics for Fast Ethernet interface 1/0/0 with the policy accounting based on input traffic:
Router# show cef interface fastethernet 1/0/0 policy-statistics inputFastEthernet1/0/0 is up (if_number 6)Corresponding hwidb fast_if_number 6Corresponding hwidb firstsw->if_number 6BGP based Policy accounting on input is enabledIndex Packets Bytes1 9999 9999002 0 03 0 04 0 05 0 06 0 07 0 08 0 09 0 010 0 011 0 012 0 013 0 014 0 015 0 016 0 017 0 018 0 019 0 020 0 021 0 022 0 023 0 024 0 025 0 026 0 027 0 028 0 029 0 030 0 031 0 032 0 033 0 034 1234 12340035 0 036 0 037 0 038 0 039 0 040 0 041 0 042 0 043 0 044 0 045 1000 10000046 0 047 0 048 0 049 0 050 0 051 0 052 0 053 0 054 5123 119878255 0 056 0 057 0 058 0 059 0 060 0 061 0 062 0 063 0 064 0 0The following is sample output from the show cef interface policy-statistics command showing policy statistics for serial interface 1/1/2 with the policy accounting based on output traffic:
Router# show cef interface serial 1/1/2 policy-statistics outputSerial1/1/2 is up (if_number 9)Corresponding hwidb fast_if_number 9Corresponding hwidb firstsw->if_number 9BGP based Policy accounting on output is enabledIndex Packets Bytes1 9999 9999002 0 03 0 04 0 05 0 06 0 07 0 08 0 09 0 010 0 011 0 012 0 013 0 014 0 015 0 016 0 017 0 018 0 019 0 020 0 021 0 022 0 023 0 024 0 025 0 026 0 027 0 028 0 029 0 030 0 031 0 032 0 033 0 034 1234 12340035 0 036 0 037 0 038 0 039 0 040 0 041 0 042 0 043 0 044 0 045 1000 10000046 0 047 0 048 0 049 0 050 0 051 0 052 0 053 0 054 5123 119878255 0 056 0 057 0 058 0 059 0 060 0 061 0 062 0 063 0 064 0 0Table 5 describes the significant fields shown in the display.
Related Commands
show cef linecard
To display Cisco Express Forwarding (CEF)-related information by line card, use the show cef linecard command in user EXEC or privileged EXEC mode.
show cef linecard [slot-number] [detail] [internal]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
This command is available only on distributed switching platforms.
When you omit the slot-number argument, information about all line cards is displayed. When you omit the slot-number argument and include the detail keyword, detailed information is displayed for all line cards. When you omit the slot-number argument and include the internal keyword, detailed internal information is displayed for all line cards.When you omit all keywords and arguments, the show cef linecard command displays important information about all line cards in table format.
Examples
The following is sample output from the show cef linecard command. The command displays information for all line cards in table format.
Router# show cef linecardSlot MsgSent XDRSent Window LowQ MedQ HighQ Flags0 6 95 24 0 0 0 up1 6 95 24 0 0 0 upVRF Default-table, version 8, 6 routesSlot Version CEF-XDR I/Fs State Flags0 7 4 8 Active up, sync1 7 4 10 Active up, syncThe following is sample output from the show cef linecard detail command for all line cards:
Router# show cef linecard detailCEF linecard slot number 0, status upSequence number 4, Maximum sequence number expected 28, Seq Epoch 2Send failed 0, Out Of Sequence 0, drops 0Linecard CEF reset 0, reloaded 195 elements packed in 6 messages(3588 bytes) sent69 elements clearedlinecard in sync after reloading0/0/0 xdr elements in LowQ/MediumQ/HighQ11/9/69 peak elements on LowQ/MediumQ/HighQInput packets 0, bytes 0Output packets 0, bytes 0, drops 0CEF Table statistics:Table name Version Prefix-xdr StatusDefault-table 7 4 Active, up, syncCEF linecard slot number 1, status upSequence number 4, Maximum sequence number expected 28, Seq Epoch 2Send failed 0, Out Of Sequence 0, drops 0Linecard CEF reset 0, reloaded 195 elements packed in 6 messages(3588 bytes) sent69 elements clearedlinecard in sync after reloading0/0/0 xdr elements in LowQ/MediumQ/HighQ11/9/69 peak elements on LowQ/MediumQ/HighQInput packets 0, bytes 0Output packets 0, bytes 0, drops 0CEF Table statistics:Table name Version Prefix-xdr StatusDefault-table 7 4 Active, up, syncThe following is sample output from the show cef linecard internal command for all line cards:
Router# show cef linecard internalCEF linecard slot number 0, status upSequence number 11, Maximum sequence number expected 35Send failed 0, Out Of Sequence 0Linecard CEF reset 2, reloaded 2Total elements queued:prefix 4adjacency 4interface 91address 2policy routing 2hw interface 57state 6resequence 2control 13table 2time 4484flow features deactivate 2flow cache config 2flow export config 2dss 2isl 2mpls atm vc remove 2mpls atm vc set label 222314574 elements packed in 4495 messages(90286 bytes) sent115 elements clearedTotal elements cleared:prefix 2adjacency 1interface 63address 1policy routing 1hw interface 29state 2control 5table 1flow features deactivate 1flow cache config 1flow export config 1dss 1isl 1mpls atm vc remove 1mpls atm vc set label 1111linecard disabled - failed a reload0/0/0 xdr elements in LowQ/MediumQ/HighQInput packets 0, bytes 0Output packets 0, bytes 0, drops 0CEF Table statistics:Table name Version Prefix-xdr StatusDefault-table 8 4 Active, syncTable 7 describes the significant fields shown in the displays.
Related Commands
show cef not-cef-switched
To display which packets were sent to a different switching path, use the show cef not-cef-switched command in user EXEC or privileged EXEC mode.
show cef not-cef-switched
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
If packets are not being cef switched and you want to determine why, enter the show cef not-cef switched command.
Note
If CEFv6 or dCEFv6 is enabled globally on the router, the show cef not-cef-switched command displays IPv6 CEF counter information and IPv4 CEF counter information. If CEFv6 or dCEFv6 is not enabled globally on the router, the command displays only IPv4 CEF counter information.
Examples
The following is sample output from the show cef not-cef switched command:
Router# show cef not-cef-switchedCEF Packets passed on to next switching layerSlot No_adj No_encap Unsupp'ted Redirect Receive Options Access FragRP 0 0 0 0 91584 0 0 01 0 0 0 0 0 0 0 02 0 0 0 0 0 0 0 0IPv6 CEF Packets passed on to next switching layerSlot No_adj No_encap Unsupp'ted Redirect Receive Options Access MTURP 0 0 0 0 92784 0 0 01 0 0 0 0 0 0 0 02 0 0 0 0 0 0 0 0Table 8 describes the significant fields shown in the display.
Related Commands
show cef timers
To display the current state of the timers internal to the CEF process, use the show cef timers command in user EXEC or privileged EXEC mode.
show cef timers
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show cef timers command:
Router# show cef timersCEF background processExpiration Type0.208 (parent)0.208 adjacency update hwidb0.540 slow resolution1.208 ARP throttleCEF FIB scanner processExpiration Type44.852 (parent)44.852 checker scan-ribTable 9 describes the significant fields shown in the display.
Table 9 show cef timers Field Descriptions
Field DescriptionExpiration
Seconds in which the timers will expire.
Type
Identification of the timer.
Related Commands
Command Descriptionshow cef interface
Displays CEF-related interface information.
show ipv6 cef
Displays entries in the IPv6 FIB.
show interface stats
To display numbers of packets that were process switched, fast switched, and distributed switched, use the show interface stats command in user EXEC or privileged EXEC mode.
show interface type number stats
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use this command on the RP.
Note
When fast switching is configured on the outbound interface, and RSP optimum, RSP flow, and VIP DFS switching modes are all specified on the incoming interface, the interface on which RSP optimum, RSP flow, and VIP DFS switching modes is not enabled can still show packets switched out via those switching paths when packets are received from other interfaces with RSP optimum, RSP flow, and VIP DES switching modes enabled.
Examples
The following is sample output from the show interface stats command:
Router# show interface fddi 3/0/0 statsFddi3/0/0Switching path Pkts In Chars In Pkts Out Chars OutProcessor 3459994 1770812197 4141096 1982257456Route cache 10372326 3693920448 439872 103743545Distributed cache 19257912 1286172104 86887377 1184358085Total 33090232 2455937453 91468345 3270359086Table 10 describes the significant fields in the display.
show interfaces switching
To display the number of packets sent and received on an interface classified by the switching path, use the show interfaces switching command in user EXEC and privileged EXEC mode.
show interfaces [type number] switching
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use the show interfaces switching command to show which path the router uses and how the traffic is switched. This command is also useful for troubleshooting CPU utilization.
Statistics for packets in, bytes in, packets out, and bytes out are displayed for the available protocols. The statistics are arranged by process, cache misses, fast-path and autonomous path. All values displayed by the show interfaces switching command are absolute. The clear interface counters command has no effect on these values.
You must enter at least seven characters of the switching keyword (switchi) when you use the show interfaces switching command.
Examples
The following shows sample output from the show interfaces switching command:
Router# show interface switchingFastEthernet0/0Throttle count 0Drops RP 0 SP 0SPD Flushes Fast 0 SSE 0SPD Aggress Fast 0SPD Priority Inputs 0 Drops 0Protocol IPSwitching path Pkts In Chars In Pkts Out Chars OutProcess 24 8208 0 0Cache misses 0 - - -Fast 0 0 0 0Auton/SSE 0 0 0 0Protocol DECnetSwitching path Pkts In Chars In Pkts Out Chars OutProcess 0 0 0 0Cache misses 0 - - -Fast 0 0 0 0Auton/SSE 0 0 0 0.................Protocol IPv6Switching path Pkts In Chars In Pkts Out Chars OutProcess 0 0 0 0Cache misses 0 - - -Fast 0 0 0 0Auton/SSE 0 0 0 0Protocol OtherSwitching path Pkts In Chars In Pkts Out Chars OutProcess 2 120 3 180Cache misses 0 - - -Fast 0 0 0 0Auton/SSE 0 0 0 0NOTE: all counts are cumulative and reset only after a reload.Interface POS4/0 is disabledThe following shows sample output from the show interfaces switching command for the interface FastEthernet 0/0:
Router> show interfaces FastEthernet 0/0 switchingFastEthernet0/0Throttle count 0Drops RP 0 SP 0SPD Flushes Fast 218 SSE 0SPD Aggress Fast 0SPD Priority Inputs 0 Drops 0Protocol IPSwitching path Pkts In Chars In Pkts Out Chars OutProcess 239 23422 237 23226Cache misses 0 - - -Fast 0 0 0 0Auton/SSE 0 0 0 0Protocol ARPSwitching path Pkts In Chars In Pkts Out Chars OutProcess 4 240 3 180Cache misses 0 - - -Fast 0 0 0 0Auton/SSE 0 0 0 0Protocol CDPSwitching path Pkts In Chars In Pkts Out Chars OutProcess 8 2632 15 5477Cache misses 0 - - -Fast 0 0 0 0Auton/SSE 0 0 0 0NOTE: all counts are cumulative and reset only after a reload.Table 11 describes the significant fields shown in the display.
Related Commands
Command Descriptionshow interface stats
Displays numbers of packets that were process switched, fast switched, and distributed switched.
show ip cache
To display the routing table cache used to fast switch IP traffic, use the show ip cache command in user EXEC or privileged EXEC mode.
show ip cache [prefix mask] [type number]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
The show ip cache display shows MAC headers up to 92 bytes.
Examples
The following is sample output from the show ip cache command:
Router# show ip cacheIP routing cache version 4490, 141 entries, 20772 bytes, 0 hash overflowsMinimum invalidation interval 2 seconds, maximum interval 5 seconds,quiet interval 3 seconds, threshold 0 requestsInvalidation rate 0 in last 7 seconds, 0 in last 3 secondsLast full cache invalidation occurred 0:06:31 agoPrefix/Length Age Interface MAC Header131.108.1.1/32 0:01:09 Ethernet0/0 AA000400013400000C0357430800131.108.1.7/32 0:04:32 Ethernet0/0 00000C01281200000C0357430800131.108.1.12/32 0:02:53 Ethernet0/0 00000C029FD000000C0357430800131.108.2.13/32 0:06:22 Fddi2/0 00000C05A3E000000C035753AAAA030000000800131.108.2.160/32 0:06:12 Fddi2/0 00000C05A3E000000C035753AAAA030000000800131.108.3.0/24 0:00:21 Ethernet1/2 00000C026BC600000C03574D0800131.108.4.0/24 0:02:00 Ethernet1/2 00000C026BC600000C03574D0800131.108.5.0/24 0:00:00 Ethernet1/2 00000C04520800000C03574D0800131.108.10.15/32 0:05:17 Ethernet0/2 00000C025FF500000C0357450800131.108.11.7/32 0:04:08 Ethernet1/2 00000C010E3A00000C03574D0800131.108.11.12/32 0:05:10 Ethernet0/0 00000C01281200000C0357430800131.108.11.57/32 0:06:29 Ethernet0/0 00000C01281200000C0357430800Table 12 describes the significant fields shown in the display.
The following is sample output from the show ip cache command with a prefix and mask specified:
Router# show ip cache 131.108.5.0 255.255.255.0IP routing cache version 4490, 119 entries, 17464 bytes, 0 hash overflowsMinimum invalidation interval 2 seconds, maximum interval 5 seconds,quiet interval 3 seconds, threshold 0 requestsInvalidation rate 0 in last second, 0 in last 3 secondsLast full cache invalidation occurred 0:11:56 agoPrefix/Length Age Interface MAC Header131.108.5.0/24 0:00:34 Ethernet1/2 00000C04520800000C03574D0800The following is sample output from the show ip cache command with an interface specified:
Router# show ip cache e0/2IP routing cache version 4490, 141 entries, 20772 bytes, 0 hash overflowsMinimum invalidation interval 2 seconds, maximum interval 5 seconds,quiet interval 3 seconds, threshold 0 requestsInvalidation rate 0 in last second, 0 in last 3 secondsLast full cache invalidation occurred 0:06:31 agoPrefix/Length Age Interface MAC Header131.108.10.15/32 0:05:17 Ethernet0/2 00000C025FF500000C0357450800Related Commands
Command Descriptionclear ip cache
Deletes entries in the routing table cache used to fast switch IP traffic.
show ip cef
To display entries in the Forwarding Information Base (FIB) or to display a summary of the FIB, use the show ip cef command in user EXEC or privileged EXEC mode.
show ip cef [vrf vrf-name] [unresolved [detail] | [detail | summary]]
Specific FIB Entries Based on IP Address Information
show ip cef [vrf vrf-name] [network [mask]] [longer-prefixes] [detail]
Specific FIB Entries Based on Interface Information
show ip cef [vrf vrf-name] [type number] [detail]
Specific FIB Entries Based on Nonrecursive Routes
show ip cef [vrf vrf-name] non-recursive [detail]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
The show ip cef command without any keywords or arguments shows a brief display of all FIB entries.
The show ip cef detail command shows detailed FIB entry information for all FIB entries.
Examples
The following is sample output from the show ip cef unresolved command:
Router# show ip cef unresolvedIP Distributed CEF with switching (Table Version 136632)45776 routes, 13 unresolved routes (0 old, 13 new)45776 leaves, 2868 nodes, 8441480 bytes, 136632 inserts, 90856 invalidations1 load sharing elements, 208 bytes, 1 references1 CEF resets, 1 revisions of existing leavesrefcounts: 527292 leaf, 465617 node10.214.0.0/16, version 1366220 packets, 0 bytesvia 172.17.233.56, 0 dependencies, recursiveunresolved10.215.0.0/16, version 1366230 packets, 0 bytesvia 172.17.233.56, 0 dependencies, recursiveunresolved10.218.0.0/16, version 1366240 packets, 0 bytesThe following is sample output from the show ip cef summary command:
Router# show ip cef summaryIP Distributed CEF with switching (Table Version 135165)45788 routes, 0 reresolve, 4 unresolved routes (0 old, 4 new)45788 leaves, 2868 nodes, 8442864 bytes, 135165 inserts, 89377 invalidations0 load sharing elements, 0 bytes, 0 references1 CEF resets, 0 revisions of existing leavesrefcounts: 527870 leaf, 466167 nodeThe following is sample output from the show ip cef summary command on Cisco IOS Release 12.0(26)S and higher:
Router# show ip cef summaryIP Distributed CEF with switching (Table Version 2283113), flags=0x0164413 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 34512234324 instant recursive resolutions, 0 used background process304 load sharing elements, 336 references14758 in-place/0 aborted modifications36745512 bytes allocated to the FIB table data structuresuniversal per-destination load sharing algorithm, id B03E8BB32(0) CEF resetsResolution Timer: Exponential (currently 1s, peak 1s)Tree summary:8-8-8-8 stride patternshort mask protection disabled164413 leaves, 11622 nodes using 16691988 bytesTransient memory used: 168, max: 865064Table epoch: 0 (164413 entries at this epoch)Hardware resource allocation status summaryGreen (Normal), Yellow (Caution) Red (Alarm)Slot HW Resource Name Util Alert1 E3 Rx PLU 22 G1 E3_Rx_TLU 6 G2 E3 Rx PLU 22 G2 E3_Rx_TLU 6 G3 E3 Rx PLU 22 G3 E3_Rx_TLU 6 G9 E3 Rx PLU 22 G9 E3_Rx_TLU 6 GAdjacency Table has 11 adjacenciesThe following is sample output from the show ip cef detail command for Ethernet interface 0. It shows all the prefixes resolving through adjacency pointing to next hop Ethernet interface 0/0 and next hop interface IP address 172.19.233.33.
Router# show ip cef e0/0 172.19.233.33 detailIP Distributed CEF with switching (Table Version 136808)45800 routes, 8 unresolved routes (0 old, 8 new) 45800 leaves, 2868 nodes, 8444360 bytes, 136808 inserts, 91008 invalidations 1 load sharing elements, 208 bytes, 1 references 1 CEF resets, 1 revisions of existing leaves refcounts: 527343 leaf, 465638 node172.19.233.33/32, version 7417, cached adjacency 172.19.233.33 0 packets, 0 bytes, Adjacency-prefixvia 172.19.233.33, Ethernet0/0, 0 dependenciesnext hop 172.19.233.33, Ethernet0/0valid cached adjacencyThe following is sample output from the show ip cef detail command for the prefix 192.168.5.0, showing that the BGP policy accounting bucket number 4 (traffic_index 4) is assigned to this prefix:
Router# show ip cef 192.168.5.0 detail192.168.5.0/24, version 21, cached adjacency to POS7/20 packets, 0 bytes, traffic_index 4via 10.14.1.1, 0 dependencies, recursivenext hop 10.14.1.1, POS7/2 via 10.14.1.0/30valid cached adjacencyThe following example shows the forwarding table associated with the VRF named vrf1:
Router# show ip cef vrf vrf1Prefix Next Hop Interface0.0.0.0/32 receive10.11.0.0/16 10.50.0.1 Ethernet1/310.12.0.0/16 10.52.0.2 POS6/010.50.0.0/16 attached Ethernet1/310.50.0.0/32 receive10.50.0.1/32 10.50.0.1 Ethernet1/310.50.0.2/32 receive10.255.255.255/32 receive10.51.0.0/16 10.52.0.2 POS6/0224.0.0.0/24 receive255.255.255.255/32 receiveTable 13 describes the significant fields shown in the display.
Table 13 show ip cef vrf Field Descriptions
Field DescriptionPrefix
Specifies the network prefix.
Next Hop
Specifies the BGP next hop address.
Interface
Specifies the VRF interface.
Related Commands
Command Descriptionshow cef
Displays which packets the line cards dropped, or displays which packets were not express forwarded.
show cef interface
Displays CEF-related interface information.
show ip cef adjacency
To display Cisco Express Forwarding (CEF) recursive and direct prefixes resolved through an adjacency, use the show ip cef adjacency command in user EXEC or privileged EXEC mode.
show ip cef [vrf vrf-name] adjacency type number ip-prefix [detail]
To display CEF recursive and direct prefixes resolved through special adjacency types representing nonstandard switching paths, use this form of the show ip cef adjacency command in privileged EXEC mode.
show ip cef [vrf vrf-name] adjacency {discard | drop | glean | null | punt} [detail]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
An adjacency is a node that can be reached by one Layer 2 hop.
This command shows all prefixes resolved through a regular next hop adjacency or through a special adjacency type such as discard, drop, glean, null and punt.
The following sample output is from the show ip cef adjacency command when the glean type is specified:
Router# show ip cef adjacency gleanPrefix Next Hop Interface9.2.61.0/24 attached Ethernet1/0/0172.17.250.252/32 9.2.61.1 Ethernet1/0/0The following sample output is from the show ip cef adjacency drop command with detail specified:
Router# show ip cef adjacency drop detailIP CEF with switching (Table Version 4), flags=0x04 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 04 leaves, 8 nodes, 8832 bytes, 13 inserts, 9 invalidations0 load sharing elements, 0 bytes, 0 referencesuniversal per-destination load sharing algorithm, id 00B999CA3 CEF resets, 0 revisions of existing leavesResolution Timer: Exponential (currently 1s, peak 1s)0 in-place modificationsrefcounts: 533 leaf, 536 node224.0.0.0/4, version 30 packets, 0 bytes, Precedence routine (0)via 0.0.0.0, 0 dependenciesnext hop 0.0.0.0valid drop adjacencyThe following sample output shows the direct IP prefix when the next hop Gigabit Ethernet interface 3/0 is specified:
Router# show ip cef adjacency GigabitEthernet 3/0 172.20.26.29Prefix Next Hop Interface34.1.1.0/24 172.20.26.29 GigabitEthernet3/0Table 14 describes the significant fields shown in the display.
Table 14 show ip cef adjacency Field Descriptions
Field DescriptionPrefix
Destination IP prefix.
Next Hop
Next hop IP address.
Interface
Next hop interface.
Related Commands
show ip cef events
To display all recorded Cisco Express Forwarding (CEF) forwarding information base (FIB) and adjacency events, use the show ip cef events command in user EXEC or privileged EXEC mode.
show ip cef [vrf vrf-name] events [ip-prefix] [new | within seconds] [detail] [summary]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.0(15)S
This command was introduced.
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
Usage Guidelines
This command shows the state of the table event log and must be enabled for events to record.
The ip cef table event-log command controls parameters such as event log size.
Examples
The following sample output is from the show ip cef events command with summary specified:
Router# show ip cef events summaryCEF table events summary:Storage for 10000 events (320000 bytes), 822/0 events recorded/ignoredMatching all events, traceback depth 16Last event occurred 00:00:06.516 ago.The following sample output is from the show ip cef events command displaying events that occurred within 1 second:
Router# show ip cef events within 1CEF table events (storage for 10000 events, 14 events recorded)+00:00:00.000:[Default-table] *.*.*.*/* New FIB table [OK]+00:00:00.000:[Default-table] 9.1.80.194/32 FIB insert in mtrie [OK]+00:00:00.000:[Default-table] 9.1.80.0/32 FIB insert in mtrie [OK]+00:00:00.000:[Default-table] 9.1.80.255/32 FIB insert in mtrie [OK]+00:00:00.004:[Default-table] 9.1.80.0/24 FIB insert in mtrie [OK]+00:00:00.004:[Default-table] 9.1.80.0/24 NBD up [OK]+00:00:00.004:[Default-table] 224.0.0.0/4 FIB insert in mtrie [OK]+00:00:00.012:[Default-table] 9.1.80.0/24 NBD up [Ignr]+00:00:00.012:[Default-table] 224.0.0.0/4 FIB remove [OK]+00:00:00.016:[Default-table] 224.0.0.0/4 FIB insert in mtrie [OK]+00:00:05.012:[Default-table] 224.0.0.0/4 FIB remove [OK]+00:00:05.012:[Default-table] 224.0.0.0/4 FIB insert in mtrie [OK]+00:00:28.440:[Default-table] 224.0.0.0/4 FIB remove [OK]+00:00:28.440:[Default-table] 224.0.0.0/4 FIB insert in mtrie [OK]First event occured at 00:00:36.568 (00:04:40.756 ago)Last event occured at 00:01:05.008 (00:04:12.316 ago)Table 15 describes the significant fields shown in the display.
Related Commands
Command Descriptionip cef table consistency-check
Enables CEF table consistency checker types and parameters.
ip cef table event-log
Controls CEF table event-log characteristics.
show ip cef exact-route
To display the exact route for a source-destination IP address pair, use the show ip cef exact-route command in user EXEC or privileged EXEC mode.
show ip cef [vrf vrf-name] exact-route source-address destination-address
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
When you are load balancing per destination, this command shows the exact next hop that is used for a given IP source-destination pair.
Examples
The following sample output is from the show ip cef exact-route command:
Router# show ip cef exact-route 1.1.1.1 172.17.249.2521.1.1.1 -> 172.17.249.252 :Ethernet2/0/0 (next hop 9.1.104.1)Table 16 describes the significant fields shown in the display.
show ip cef inconsistency
To display Cisco Express Forwarding (CEF) IP prefix inconsistencies, use the show ip cef inconsistency command in user EXEC or privileged EXEC mode.
show ip cef [vrf vrf-name] inconsistency [records [detail]]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.0(15)S
This command was introduced.
12.2(2)T
This command was integrated into Cisco IOS Release 12.2(2)T.
Usage Guidelines
This command is available only on routers with line cards.
This command displays recorded CEF inconsistency records found by the lc-detect, scan-rp, scan-rib, and scan-lc detection mechanisms.
You can configure the CEF consistency detection mechanisms using the ip cef table consistency-check command.
Examples
The following sample output is from the show ip cef inconsistency command:
Router# show ip cef inconsistencyTable consistency checkers (settle time 65s)lc-detect:running0/0/0 queries sent/ignored/receivedscan-lc:running [100 prefixes checked every 60s]0/0/0 queries sent/ignored/receivedscan-rp:running [100 prefixes checked every 60s]0/0/0 queries sent/ignored/receivedscan-rib:running [1000 prefixes checked every 60s]0/0/0 queries sent/ignored/receivedInconsistencies:0 confirmed, 0/16 recordedTable 17 describes the significant fields shown in the display.
Related Commands
Command Descriptionip cef table consistency-check
Enables CEF table consistency checker types and parameters.
show ip cef traffic prefix-length
To display Cisco Express Forwarding (CEF) traffic statistics, use the show ip cef traffic prefix-length command in user EXEC or privileged EXEC mode.
show ip cef [vrf vrf-name] traffic prefix-length
Syntax Description
vrf
(Optional) A Virtual Private Network (VPN) routing and forwarding (VRF) instance.
vrf-name
(Optional) Name assigned to the VRF.
prefix-length
Displays traffic statistics by prefix size.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
This command is used to display CEF switched traffic statistics by destination prefix length. The ip cef accounting prefix-length command must be enabled for the counters to increment.
Examples
The following sample output is from the show ip cef traffic prefix-length command:
Router# show ip cef traffic prefix-lengthIP prefix length switching statistics:----------------------------------------Prefix Number of Number ofLength Packets Bytes----------------------------------------0 0 01 0 02 0 03 0 04 0 05 0 0...28 0 029 0 030 0 031 0 032 0 0Table 18 describes the significant fields shown in the display.
Related Commands
show ip cef vrf
To display the Cisco Express Forwarding (CEF) forwarding table associated with a Virtual Private Network (VPN) routing/forwarding instance (VRF), use the show ip cef vrf command in privileged EXEC mode.
show ip cef vrf vrf-name [ip-prefix [mask [longer-prefixes]] [detail] [output-modifiers]] [interface interface-number] [adjacency [interface interface-number] [detail] [discard] [drop] [glean] [null] [punt] [output-modifiers]] [detail [output-modifiers]] [non-recursive [detail] [output-modifiers]] [summary [output-modifiers]] [traffic [prefix-length] [output-modifiers]] [unresolved [detail] [output-modifiers]]
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Used with only the vrf-name argument, the show ip cef vrf command shows a shortened display of the CEF table.
Used with the detail keyword, the show ip cef vrf command shows detailed information for all CEF table entries.
Examples
This example shows the forwarding table associated with the VRF called vrf1:
Router# show ip cef vrf vrf1Prefix Next Hop Interface0.0.0.0/32 receive11.0.0.0/8 50.0.0.1 Ethernet1/312.0.0.0/8 52.0.0.2 POS6/050.0.0.0/8 attached Ethernet1/350.0.0.0/32 receive50.0.0.1/32 50.0.0.1 Ethernet1/350.0.0.2/32 receive50.255.255.255/32 receive51.0.0.0/8 52.0.0.2 POS6/0224.0.0.0/24 receive255.255.255.255/32 receiveTable 19 describes the fields shown in the example.
Table 19 show ip cef vrf Field Descriptions
Field DescriptionPrefix
Specifies the network prefix.
Next Hop
Specifies the BGP next hop address.
Interface
Specifies the VRF interface.
Related CommandsRelated Commands
Command Descriptionshow ip route vrf
Displays the IP routing table associated with a VRF.
show ip vrf
Displays VRF interfaces.
show ip mds forwarding
To display the Multicast Forwarding Information Base (MFIB) table and forwarding information for multicast distributed switching (MDS) on a line card, use the show ip mds forwarding command in user EXEC or privileged EXEC mode.
show ip mds forwarding [group-address] [source-address]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use this command on the line card. This command displays the MFIB table, forwarding information, and related flags and counts.
Note
To reach the console for a line card, enter attach slot# (slot number where the line card resides).
On a GSR only, line card commands can be executed from the RP using the following syntax: execute [slot slot-number | all] command.
The command argument is any of the line card show commands, such as show ip mds summary and show ip mds forward.
Examples
The following is sample output from the show ip mds forwarding command:
Router# show ip mds forwardingIP multicast MDFS forwarding information and statistics:Flags: N - Not MDFS switchable, F - Not all MDFS switchable, O - OIF NullR - In-ratelimit, A - In-access, M - MTU mismatch, P - Register setInterface state: Interface, Next-Hop, Mac header(*, 224.2.170.73),Incoming interface: NullPkts: 0, last used: never, Kbps: 0, fast-flags: NOutgoing interface list: Null(128.97.62.86, 224.2.170.73) [31]Incoming interface: Fddi3/0/0Pkts: 3034, last used: 00:00:00, Kbps: 0, fast-flags: MOutgoing interface list:Table 20 describes the significant fields shown in the display.
show ip mds interface
To display Multicast Distributed Switching (MDS) information for all the interfaces on the line card, use the show ip mds interface command in user EXEC or privileged EXEC mode.
show ip mds interface [vrf vrf-name]
Syntax Description
vrf
(Optional) Supports the Multicast Virtual Private Network (VPN) routing/forwarding instance (VRF).
vrf-name
(Optional) Name assigned to the VRF.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show ip mds interface command.
Router# show ip mds interfaceInterface SW-Index HW-Index HW IDB FS Vector VRFEthernet1/0/0 2 1 0x60C2DB40 0x602FB7A4 defaultEthernet1/0/1 3 2 0x60C32280 0x603D52B8 defaultEthernet1/0/2 4 3 0x60C35E40 0x602FB7A4 defaultEthernet1/0/3 5 4 0x60C39E60 0x603D52B8 defaultEthernet1/0/4 6 5 0x60C3D780 0x602FB7A4 defaultEthernet1/0/5 7 6 0x60C41140 0x602FB7A4 defaultEthernet1/0/6 8 7 0x60C453A0 0x602FB7A4 defaultEthernet1/0/7 9 8 0x60C48DC0 0x602FB7A4 defaultPOS2/0/0 10 9 0x0 defaultPOS3/0/0 11 10 0x0 defaultVirtual-Access1 13 11 0x0 defaultLoopback0 14 12 0x0 defaultTunnel0 15 23 0x61C2E480 0x603D52B8 vrf1Tunnel1 16 24 0x61C267E0 0x603D52B8 vrf2Ethernet1/0/3.1 17 4 0x60C39E60 0x603D52B8 vrf1Ethernet1/0/3.2 18 4 0x60C39E60 0x603D52B8 vrf2Table 21 describes the significant fields shown in the display.
show ip mds stats
To display switching statistics or line card statistics for multicast distributed switching (MDS), use the show ip mds stats command in user EXEC or privileged EXEC mode.
show ip mds stats [switching | linecard]
Syntax Description
switching
(Optional) Displays switching statistics.
linecard
(Optional) Displays line card statistics.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use this command on the Route Processor (RP).
Examples
The following is sample output from the show ip mds stats command used with the switching keyword:
Router# show ip mds stats switchingSlot Total Switched Drops RPF Punts Failures(switch/clone)1 0 0 0 0 4 0/03 20260925 18014717 253 93 2247454 1/0Table 22 describes the significant fields in the display.
The following is sample output from the show ip mds stats command with the linecard keyword:
Router# show ip mds stats linecardSlot Status IPC(seq/max) Q(high/route) Reloads1 active 10560/10596 0/0 93 active 11055/11091 0/0 9show ip mds summary
To display a summary of the MFIB table for multicast distributed switching (MDS), use the show ip mds summary command in user EXEC or privileged EXEC mode.
show ip mds summary
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use this command on a line card. On a GSR only, line card commands can be executed from the RP using the following syntax:
execute [slot slot-number | all] command
The command argument is any of the line card show commands, such as show ip mds summary and show ip mds forward.
Examples
The following is sample output from the show ip mds summary command:
Router# show ip mds summaryIP multicast MDFS forwarding information and statistics:Flags: N - Not MDFS switchable, F - Not all MDFS switchable, O - OIF NullR - In-ratelimit, A - In-access, M - MTU mismatch, P - Register setInterface state: Interface, Next-Hop, Mac header(*, 224.2.170.73),Incoming interface: NullPkts: 0, last used: never, Kbps: 0, fast-flags: N(128.97.62.86, 224.2.170.73) [31]Incoming interface: Fddi3/0/0Pkts: 3045, last used: 00:00:03, Kbps: 0, fast-flags: M(128.223.3.7, 224.2.170.73) [334]Incoming interface: Fddi3/0/0Pkts: 0, last used: never, Kbps: 0, fast-flags: MTable 23 describes the significant fields in the display.
show pxf accounting
To show Parallel eXpress Forwarding (PXF) switching statistics for individual interfaces, use the show pxf accounting command in user EXEC or privileged EXEC mode.
show pxf accounting interface [slot/port]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.1(1)E
This command was introduced.
12.1(5)T
This command was integrated into Cisco IOS Release 12.1(5)T.
Usage Guidelines
You can display information about the following interface types using the show pxf accounting command, as shown in Table 24:
Examples
The following is sample output from the show pxf accounting ? command:
Router# show pxf accounting ?ATM ATM interfaceEthernet IEEE 802.3FastEthernet FastEthernet IEEE 802.3Hssi High Speed Serial InterfaceNull Null interfacePOS Packet over SonetSerial Serialsummary PXF summary statisticsThe following is sample output from the show pxf accounting ethernet command using an Ethernet interface in slot 4 on a Cisco 7200 VXR series router:
Router# show pxf accounting ethernet 4/0Interface Pkts In Chars In Pkts Out Chars Out Punted DroppedEthernet4/0 0 0 122 11490 4 0The following is sample output from the show pxf accounting null command using a null interface in slot 0 on a Cisco 7200 VXR series router:
Router# show pxf accounting null 0/0Interface Pkts In Chars In Pkts Out Chars Out Punted Droppednu0/0 0 0 0 0 4932 0The following is sample output from the show pxf accounting pos command using a Packet-over-SONET interface in slot 4 on a Cisco 7200 VXR series router:
Router# show pxf accounting posInterface Pkts In Chars In Pkts Out Chars Out Punted DroppedPOS4/0 19 1064 0 0 44 0The following is sample output from the show pxf accounting serial command using a serial interface in slot 5 on a Cisco 7200 VXR series router:
Router# show pxf accounting serial 5/0Interface Pkts In Chars In Pkts Out Chars Out Punted DroppedSerial5/0 0 0 0 0 0 0The following is sample output from the show pxf accounting summary command:
Router# show pxf accounting summaryPkts Dropped RP Processed IgnoredTotal 0 48360 0PXF Statistic:Packets RP -> PXF:switch ip: 0switch raw: 30048360qos fastsend: 0qos enqueue: 1938Total: 30050298Packets PXF -> RP:qos pkts: 1938fast pkts: 30000000drops:total 0punts:total 48360" not IP : 40572" CEF no adjacency : 7788Total: 30050298Packets ignored: 0 | ring space:shadow ring full: 0 | shadow ring: 16384in ring full: 0 | inring: 968PXF inactive: 0tx credits: 16230330 | delayed credits: 0holdq enqueues: 0 | requeue drops: 0interrupts: 40538 | interrupt misses: 1947interrupt packets: 53326pending read bytes: 0Interface Pkts In Chars In Pkts Out Chars Out Punted DroppedFa0/0 0 0 30000000 1740000000 970 0Et1/0 0 0 0 0 21309 0Et1/1 0 0 0 0 0 0Et1/2 0 0 0 0 0 0Et1/3 0 0 0 0 0 0Se2/0 0 0 0 0 963 0Se2/1 0 0 0 0 0 0Se2/2 0 0 0 0 0 0Se2/3 0 0 0 0 0 0Fa3/0 0 0 0 0 963 0PO4/0 30000000 1440000000 0 0 963 0AT5/0 0 0 0 0 23192 0Vi1 0 0 0 0 0 0Vt1 0 0 0 0 0 0Vi2 0 0 0 0 0 0Related Commands
show pxf crash
To show Parallel eXpress Forwarding (PXF) crash information, use the show pxf crash command in user EXEC or privileged EXEC mode.
show pxf crash
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.1(1)E
This command was introduced.
12.1(5)T
This command was integrated into Cisco IOS Release 12.1(5)T.
Examples
The following is sample output from the show pxf crash command:
Router# show pxf crashEX_Type = 0x80000000EX_ID(b0~3,16~17) = 0x00400CPU_EX_ID(b0~15) = 0x0004IHB_EX_Type(b0~5) = 0x00XRAM0(b0~13) = 0x00000XRAM1(b0~13) = 0x00000XRAM2(b0~13) = 0x00000XRAM3(b0~13) = 0x00000Pipeline:7FDEFD pdone[3210]:1F 17 17 1DICM0(b4~13) = 0x00000 ICM1(b4~13) = 0x00000ICM2(b4~13) = 0x00010 ICM3(b4~13) = 0x00000LOCK0(b0~4) = 0x00000 LOCK1(b0~4) = 0x00000LOCK2(b0~4) = 0x00000 LOCK3(b0~4) = 0x00000CPU0/2: SW EX Type=0x00000000 LBUS EX Type=0x00000081 HW EXType=0x00000400CPU:row=0x0 column=0x2 cpu=0x2PC:0000098E LR:0000087F CR:002C4C00r0:00000000 r1:8001CEA0 r2:80784390 r3:00000000r4:00005400 r5:80D3BA04 r6:80A7CA00 r7:00000004r8:00000000 r9:00000008 r10:80092324 r11:800A6200r12:00000033 r13:00000008 r14:00000000 r15:00000000misr1a:00000000 misr1bhi:00000000 misr1blo:00000000 misr2hi:00000000misr2lo:00000000 reserve:00000000 reserve:00000000 reserve:00000000sisr1a:01000040 sisr1b:00000000 irhi:4402200F irlo:00000000cAll:C20DE822 DCD1:00020400 DCD2:00000002 CNTL:00000000TBuf intr 0:1111111FTBuf intr 1:020FFFF0TBuf intr 2:00003C80TBuf intr 3:80000000TBuf intr 4:00000400Xram return:00000000Icram return hi:80024E00Icram return lo:800A4E00TBuf addr 0:005E6800 TBuf sblock1 0:8078A374 TBuf sblock0 0:804FD600TBuf addr 1:005E6800 TBuf sblock1 1:8078A374 TBuf sblock0 1:804FD600TBuf addr 2:005E6800 TBuf sblock1 2:8078A374 TBuf sblock0 2:804FD600TBuf addr 3:005E6800 TBuf sblock1 3:8078A374 TBuf sblock0 3:804FD600TBuf addr 4:005E6800 TBuf sblock1 4:8078A374 TBuf sblock0 4:804FD600TBuf addr 5:005E6800 TBuf sblock1 5:8078A374 TBuf sblock0 5:804FD600TBuf addr 6:005E6800 TBuf sblock1 6:8078A374 TBuf sblock0 6:804FD600TBuf addr 7:005E6800 TBuf sblock1 7:8078A374 TBuf sblock0 7:804FD600show pxf feature cef vrf
To display the routing feature tables for Virtual Private Network (VPN) routing/forwarding instances (VRFs) on the Parallel eXpress Forwarding (PXF) path, use the show pxf feature cef vrf command in privileged EXEC mode.
show pxf feature cef vrf vpn-name
Syntax Description
Command Modes
Privileged EXEC
Command History
Release Modification12.2(15)B
This command was introduced.
12.3(4)T
This command was integrated into Cisco IOS Release 12.3(4)T.
Usage Guidelines
Use this command to display VRF PXF routing feature tables for a specified VPN for Cisco Express Forwarding (CEF). This command also displays information about prefix and MTRIE resource usage.
Examples
The following is sample output for the show pxf feature cef vrf command when it is used to display information about VRF vpn1:
Router# show pxf feature cef vrf vpn1Shadow 8-8-4-4-8 PXF Mtrie:51 leaves, 2448 leaf bytes, 92 nodes, 56352 node bytes10 invalidations61 prefix updatesrefcounts: 3666 leaf, 3733 nodePrefix/Length Refcount Parent Address Shadow0.0.0.0/32 3 0xC0047218 0x62CAF2E85.0.0.0/16 558 0xC0047278 0x62CAF1085.0.0.0/32 3 5.0.0.0/16 0xC0047268 0x62CAEE085.0.0.1/32 3 5.0.0.0/16 0xC0047260 0x62CAEA185.0.0.2/32 3 5.0.0.0/16 0xC0047388 0x62CAEA485.0.255.255/32 3 5.0.0.0/16 0xC0047270 0x62CAF0D830.1.0.0/16 288 0xC0047360 0x62CAEB3830.1.1.1/32 3 30.1.0.0/16 0xC0047350 0x62CAEB9870.0.0.0/32 3 0xC00472C0 0x62CAEEF870.1.1.1/32 3 0xC0047358 0x62CAEB6870.1.1.2/32 3 0xC0047368 0x62CAEB0870.1.1.3/32 3 0xC0047370 0x62CAEAD870.1.1.4/32 3 0xC0047378 0x62CAEAA870.1.1.5/32 3 0xC0047380 0x62CAEA78224.0.0.0/24 3 0xC0047228 0x62CAF288255.255.255.255/32 3 0xC0047220 0x62CAF2B8========================================5 routes with less specific overlapping parent routeTable 25 describes the significant fields shown in the display.
Related Commands
Command Descriptionshow pxf feature cef
Displays PXF routing feature tables for CEF.
show pxf feature nat
Displays PXF routing feature tables for NAT.
show pxf feature cef
To display Parallel eXpress Forwarding (PXF) routing feature tables for Cisco Express Forwarding (CEF), use the show pxf feature cef command in user EXEC or privileged EXEC mode.
show pxf feature cef entry
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.1(1)E
This command was introduced.
12.1(5)T
This command was integrated into Cisco IOS Release 12.1(5)T.
Examples
The following is sample output from the show pxf feature cef command:
Router# show pxf feature cef entryShadow 16-4-4-8 PXF Mtrie:41 leaves, 1968 leaf bytes, 15 nodes, 267000 node bytes5 invalidations46 prefix updatesrefcounts: 66746 leaf, 66720 nodePrefix/Length Refcount Parent0.0.0.0/0 622820.0.0.0/32 3 0.0.0.0/0171.69.12.128/27 34 0.0.0.0/0171.69.12.128/32 3 171.69.12.128/27171.69.12.129/32 3 171.69.12.128/27171.69.12.130/32 3 171.69.12.128/27171.69.12.131/32 3 171.69.12.128/27171.69.12.147/32 3 171.69.12.128/27Related Commands
show pxf feature nat
To display Parallel eXpress Forwarding (PXF) routing tables for Network Address Translation (NAT), use the show pxf feature nat command in user EXEC or privileged EXEC mode.
show pxf feature nat [entry | stat | tcp]
Syntax Description
entry
Displays NAT information.
stat
Displays NAT processing information.
tcp
Displays NAT TCP logging information.
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.1(1)E
This command was introduced.
12.1(5)T
This command was integrated into Cisco IOS Release 12.1(5)T.
Examples
The following is sample output from the show pxf feature nat command:
Router# show pxf feature nat--- 171.69.12.175 192.168.0.129 --- ------ 171.69.12.163 192.168.0.7 --- ------ 171.69.12.161 192.168.0.13 --- ------ 171.69.12.162 192.168.0.3 --- ------ 171.69.12.165 192.168.0.8 --- ------ 171.69.12.168 192.168.0.14 --- ------ 171.69.12.170 192.168.0.12 --- ------ 171.69.12.166 192.168.0.15 --- ------ 171.69.12.164 192.168.0.16 --- ---Related Commands
show pxf interface
To show a summary of the interfaces on the router and the Parallel eXpress Forwarding (PXF) features or capabilities enabled on these interfaces, use the show pxf interface command in user EXEC or privileged EXEC mode.
show pxf interface
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Release Modification12.1(3a)E
This command was introduced.
12.1(5)T
This command was integrated into Cisco IOS Release 12.1(5)T.
Examples
The following is sample output from the show pxf interface command:
Router# show pxf interfaceIntf I/f # AttributesFa0/0 3 Raw, Encap, QoS(Cr 0, Thrsh 2, Max 101)Et1/0 4 Raw, EncapEt1/1 5 Raw, Encap, QoS(Cr 0, Thrsh 2, Max 13)Et1/2 6 Raw, EncapEt1/3 7 Raw, EncapSe2/0 8 Raw, Encap, QoS(Cr 0, Thrsh 2, Max 5)Se2/1 9 Raw, Encap, QoS(Cr 0, Thrsh 2, Max 5)Se2/2 10 Raw, Encap, QoS(Cr 0, Thrsh 2, Max 5)Se2/3 11 Raw, Encap, QoS(Cr 0, Thrsh 2, Max 5)Fa3/0 12 Raw, EncapPO4/0 13 Raw, EncapAT5/0 14 Raw, EncapRelated Commands
Command Descriptionshow pxf feature
Displays the PXF routing feature tables for enabled PXF features.
show route-map ipc
To display counts of the one-way route map interprocess communication (IPC) messages sent from the rendezvous point (RP) to the Versatile Interface Processor (VIP) when NetFlow policy routing is configured, use the show route-map ipc command in user EXEC or privileged EXEC mode.
show route-map ipc
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
This command displays the counts of one-way route map IPC messages from the RP to the VIP when NetFlow policy routing is configured. If you execute this command on the RP, the messages are shown as "Sent." If you execute this command on the VIP console, the IPC messages are shown as "Received."
Examples
The following is sample output of the show route-map ipc command when it is executed on the RP:
Router# show route-map ipcRoute-map RP IPC Config Updates SentName: 4Match access-list: 2Match length: 0Set precedence: 1Set tos: 0Set nexthop: 4Set interface: 0Set default nexthop: 0Set default interface: 1Clean all: 2The following is sample output of the show route-map ipc command when it is executed on the VIP:
Router# show route-map ipcRoute-map LC IPC Config Updates ReceivedName: 4Match access-list: 2Match length: 0Set precedence: 1Set tos: 0Set nexthop: 4Set interface: 0Set default nexthop: 0Set default interface: 1Clean all: 2Table 26 describes the significant fields shown in the display.
Related Commands
Command Descriptionset ip next-hop verify-availability
Configures policy routing to verify if the next hops of a route map are CDP neighbors before policy routing to that next hop.

