Cisco IOS Switching Services Command Reference, Release 12.3
Switching Commands: show ip cef through show ip vrf

Table Of Contents

show ip cef

show ip cef adjacency

show ip cef events

show ip cef exact-route

show ip cef inconsistency

show ip cef traffic prefix-length

show ip cef vrf

show ip explicit-paths

show ip flow export

show ip mds forwarding

show ip mds interface

show ip mds stats

show ip mds summary

show ip ospf database opaque-area

show ip ospf mpls traffic-eng

show ip protocols vrf

show ip route vrf

show ip rsvp host

show ip vrf


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

vrf

(Optional) A Virtual Private Network (VPN) routing/forwarding (VRF) instance.

vrf-name

(Optional) Name assigned to the VRF.

unresolved

(Optional) Displays unresolved FIB entries.

detail

(Optional) Displays detailed FIB entry information.

summary

(Optional) Displays a summary of the FIB.

network

(Optional) Network number for which to display a FIB entry.

mask

(Optional) Network mask to be used with the specified network.

longer-prefixes

(Optional) Displays FIB entries for more specific destinations.

type number

(Optional) Interface type and number for which to display FIB entries.

non-recursive

Displays only nonrecursive routes.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

11.2 GS

This command was introduced to support the Cisco 12012 Internet router.

11.1 CC

Multiple platform support was added.

12.0(5)T

The vrf keyword was added.

12.0(17)ST

The display of a message indicating support for Border Gateway Protocol (BGP) policy accounting was added.

12.2(13)T

This command was integrated into Cisco IOS Release 12.2(13)T.


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 unresolved

IP 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 invalidations 
1 load sharing elements, 208 bytes, 1 references 
1 CEF resets, 1 revisions of existing leaves 
refcounts: 527292 leaf, 465617 node

10.214.0.0/16, version 136622
0 packets, 0 bytes
  via 172.17.233.56, 0 dependencies, recursive 
  unresolved
10.215.0.0/16, version 136623
0 packets, 0 bytes
  via 172.17.233.56, 0 dependencies, recursive 
  unresolved
10.218.0.0/16, version 136624
0 packets, 0 bytes

Table 40 describes the significant fields shown in the display.

Table 40 show ip cef unresolved Field Descriptions 

Field
Description

routes

Total number of entries in the CEF table

unresolved routes

Number of entries in the CEF table that do not have resolved recursions categorized by old and new routes

leaves, nodes, bytes

Number of elements in the CEF Trie and how much memory they use

inserts

Number of nodes inserted

invalidations

Number of entries that have been invalidated

load sharing elements, bytes, references

Information about load sharing elements: how many, number of associated bytes, and number of associated references

version

Version of the CEF table

packets, bytes

Number of packets and bytes switched through the name entry

dependencies

Number of table entries which point to the named entry

recursive

Indicates that the destination is reachable through another route

unresolved

Number of entries that do not have resolved recursions


The following is sample output from the show ip cef summary command:

Router# show ip cef summary

IP 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 invalidations 
0 load sharing elements, 0 bytes, 0 references 
1 CEF resets, 0 revisions of existing leaves 
refcounts: 527870 leaf, 466167 node

For a description of significant fields in this display, see Table 40.

The 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 detail

IP 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 node

172.19.233.33/32, version 7417, cached adjacency 172.19.233.33 0 packets, 0 bytes, 
Adjacency-prefix
via 172.19.233.33, Ethernet0/0, 0 dependencies 
next hop 172.19.233.33, Ethernet0/0
valid cached adjacency

Table 41 describes the significant fields in the display.

Table 41 show ip cef detail Field Descriptions 

Field
Description

routes

Total number of entries in the CEF table

unresolved routes

Number of entries in the CEF table that do not have resolved recursions categorized by old and new routes

leaves, nodes, bytes

Number of elements in the CEF Trie and how much memory they use

inserts

Number of nodes inserted

invalidations

Number of entries that have been invalidated

load sharing elements, bytes, references

Information about load sharing elements: how many, number of associated bytes, and number of associated references

version

Version of the CEF table

cached adjacency

Type of adjacency to which this CEF table entry points

packets, bytes

Number of packets and bytes switched through the name entry

dependencies

Number of table entries which point to the named entry

next hop

Type of adjacency or the next hop toward the destination


The 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 detail

192.168.5.0/24, version 21, cached adjacency to POS7/2
0 packets, 0 bytes, traffic_index 4
via 10.14.1.1, 0 dependencies, recursive
next hop 10.14.1.1, POS7/2 via 10.14.1.0/30
valid cached adjacency

The following example shows the forwarding table associated with the VRF named vrf1:

Router# show ip cef vrf vrf1

Prefix              Next Hop            Interface
0.0.0.0/32          receive
10.11.0.0/16        10.50.0.1           Ethernet1/3
10.12.0.0/16        10.52.0.2           POS6/0
10.50.0.0/16        attached            Ethernet1/3
10.50.0.0/32        receive
10.50.0.1/32        10.50.0.1           Ethernet1/3
10.50.0.2/32        receive
10.255.255.255/32   receive
10.51.0.0/16        10.52.0.2           POS6/0
224.0.0.0/24        receive
255.255.255.255/32  receive

Table 42 describes the significant fields shown in the display.

Table 42 show ip cef vrf Field Descriptions 

Field
Description

Prefix

Specifies the network prefix.

Next Hop

Specifies the BGP next hop address.

Interface

Specifies the VRF interface.


Related Commands

Command
Description

show 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

vrf

(Optional) A Virtual Private Network (VPN) routing and forwarding (VRF) instance.

vrf-name

(Optional) Name assigned to the VRF.

type number

Interface type and number for which to display forwarding information base (FIB) entries.

ip-prefix

Next hop IP prefix, in dotted decimal format (A.B.C.D).

detail

(Optional) Displays detailed information for each CEF adjacency type entry.

discard

Discard adjacency. Sets up for loopback interfaces. Loopback IP addresses are receive entries in the FIB table.

drop

Drop adjacency. Packets forwarded to this adjacency are dropped.

glean

Glean adjacency. Represents destinations on a connected interface for which no ARP cache entry exists.

null

Null adjacency. Formed for the Null0 interface. Packets forwarded to this adjacency are dropped.

punt

Punt adjacency. Represents destinations that cannot be switched in the normal path and that are punted to the next fastest switching vector.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

11.1 CC

This command was introduced.

12.0(5)T

The vrf keyword was added.


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 glean

Prefix              Next Hop             Interface
9.2.61.0/24         attached             Ethernet1/0/0
172.17.250.252/32   9.2.61.1             Ethernet1/0/0

The following sample output is from the show ip cef adjacency drop command with detail specified:

Router# show ip cef adjacency drop detail

IP CEF with switching (Table Version 4), flags=0x0
  4 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 0
  4 leaves, 8 nodes, 8832 bytes, 13 inserts, 9 invalidations
  0 load sharing elements, 0 bytes, 0 references
  universal per-destination load sharing algorithm, id 00B999CA
  3 CEF resets, 0 revisions of existing leaves
  Resolution Timer: Exponential (currently 1s, peak 1s)
  0 in-place modifications
  refcounts:  533 leaf, 536 node

224.0.0.0/4, version 3
0 packets, 0 bytes, Precedence routine (0)
  via 0.0.0.0, 0 dependencies
    next hop 0.0.0.0
    valid drop adjacency

The 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.29

Prefix              Next Hop             Interface
34.1.1.0/24         172.20.26.29         GigabitEthernet3/0

Table 43 describes the significant fields shown in the display.

Table 43 show ip cef adjacency Field Descriptions

Field
Description

Prefix

Destination IP prefix.

Next Hop

Next hop IP address.

Interface

Next hop interface.


Related Commands

Command
Description

show adjacency

Displays CEF adjacency table information.


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

vrf

(Optional) A Virtual Private Network (VPN) routing and forwarding (VRF) instance.

vrf-name

(Optional) Name assigned to the VRF.

ip-prefix

(Optional) Next hop IP prefix, in dotted decimal format (A.B.C.D).

new

(Optional) Displays new CEF events not previously shown.

within seconds

(Optional) Displays CEF events that occurred within a specified number of seconds.

detail

(Optional) Displays detailed information for each CEF event entry.

summary

(Optional) Displays a summary of the CEF event log.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

12.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 summary

CEF table events summary:
     Storage for 10000 events (320000 bytes), 822/0 events recorded/ignored
     Matching all events, traceback depth 16
     Last 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 1

CEF 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 44 describes the significant fields shown in the display.

Table 44 show ip cef events Field Descriptions

Field
Description

+00:00:00.000

Time stamp of the IP CEF event.

[Default-table]

Type of VPN routing and forwarding (VRF) table for this event entry.

*.*.*.*/*

All IP prefixes.

9.1.80.194/32

IP prefix associated with the event.

FIB insert in mtrie

IP prefix insert in the FIB table event.

NBD up

IP prefix up event.

FIB remove

FIB entry remove event.

[Ignr]

CEF ignored event.

[OK]

CEF processed event.


Related Commands

Command
Description

ip 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

vrf

(Optional) A Virtual Private Network (VPN) routing and forwarding (VRF) instance.

vrf-name

(Optional) Name assigned to the VRF.

source-address

Specifies the network source address.

destination-address

Specifies the network destination address.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

12.1(4)T

This command was introduced.


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.252

1.1.1.1         -> 172.17.249.252 :Ethernet2/0/0 (next hop 9.1.104.1)

Table 45 describes the significant fields shown in the display.

Table 45 show ip cef exact-route Field Descriptions

Field
Description

1.1.1.1 -> 172.17.249.252

From source 1.1.1.1 to destination 172.17.249.252.

Ethernet2/0/0 (next hop 9.1.104.1)

Next hop is 9.1.104.1 on Ethernet 2/0/0.


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

vrf

(Optional) A Virtual Private Network (VPN) routing and forwarding (VRF) instance.

vrf-name

(Optional) Name assigned to the VRF.

records

(Optional) Displays all recorded inconsistencies.

detail

(Optional) Displays detailed information for each CEF table entry.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

12.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 inconsistency

Table consistency checkers (settle time 65s)
 lc-detect:running
  0/0/0 queries sent/ignored/received
 scan-lc:running [100 prefixes checked every 60s]
  0/0/0 queries sent/ignored/received
 scan-rp:running [100 prefixes checked every 60s]
  0/0/0 queries sent/ignored/received
 scan-rib:running [1000 prefixes checked every 60s]
  0/0/0 queries sent/ignored/received
Inconsistencies:0 confirmed, 0/16 recorded

Table 46 describes the significant fields shown in the display.

Table 46 show ip cef inconsistency Field Descriptions

Field
Description

settle time

Time after a recorded inconsistency is confirmed.

lc-detect running

Consistency checker lc-detect is running.

0/0/0 queries

Number of queries sent, ignored, and received.

Inconsistencies:0 confirmed, 0/16 recorded

Number of inconsistencies confirmed, and recorded. Sixteen is the maximum number of inconsistency records to be recorded.


Related Commands

Command
Description

ip 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 EXEC

Command History

Release
Modification

11.1 CC

This command was introduced.

12.0(5)T

The vrf keyword was added.


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-length

IP prefix length switching statistics:
----------------------------------------
Prefix       Number of       Number of
Length       Packets         Bytes
----------------------------------------
     0               0               0
     1               0               0
     2               0               0
     3               0               0
     4               0               0
     5               0               0
.
.
.
    28               0               0
    29               0               0
    30               0               0
    31               0               0
    32               0               0

Table 47 describes the significant fields shown in the display.

Table 47 show ip cef traffic prefix-length Field Descriptions

Field
Description

Prefix Length

Destination IP prefix length for CEF switched traffic.

Number of packets

Number of packets forwarded for the specified IP prefix length.

Number of bytes

Number of bytes transmitted for the specified IP prefix length.


Related Commands

Command
Description

ip cef accounting

Enables network accounting of CEF.


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

vrf-name

Name assigned to the VRF.

ip-prefix

(Optional) IP prefix of entries to show, in dotted decimal format (A.B.C.D).

mask

(Optional) Mask of the IP prefix, in dotted decimal format.

longer-prefixes

(Optional) Displays table entries for all of the more specific routes.

detail

(Optional) Displays detailed information for each CEF table entry.

output-modifiers

(Optional) For a list of associated keywords and arguments, use context-sensitive help.

interface

(Optional) Type of network interface to use: ATM, Ethernet, Loopback, POS (packet over SONET) or Null.

interface-number

Number identifying the network interface to use.

adjacency

(Optional) Displays all prefixes resolving through adjacency.

discard

(Optional) Discards adjacency.

drop

(Optional) Drops adjacency.

glean

(Optional) Gleans adjacency.

null

(Optional) Nulls adjacency.

punt

(Optional) Punts adjacency.

non-recursive

(Optional) Displays only nonrecursive routes.

summary

(Optional) Displays a CEF table summary.

traffic

(Optional) Displays traffic statistics.

prefix-length

(Optional) Displays traffic statistics by prefix size.

unresolved

(Optional) Displays only unresolved routes.


Command Modes

Privileged EXEC

Command History

Release
Modification

12.0(5)T

This command was introduced.

12.0(21)ST

This command was integrated into Cisco IOS 12.0(21)ST.

12.0(23)S

This command was integrated into Cisco IOS 12.0(23)S.

12.2(13)T

This command was integrated into Cisco IOS 12.2(13)T.


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 vrf1

Prefix              Next Hop            Interface
0.0.0.0/32          receive
11.0.0.0/8          50.0.0.1            Ethernet1/3
12.0.0.0/8          52.0.0.2            POS6/0
50.0.0.0/8          attached            Ethernet1/3
50.0.0.0/32         receive
50.0.0.1/32         50.0.0.1            Ethernet1/3
50.0.0.2/32         receive
50.255.255.255/32   receive
51.0.0.0/8          52.0.0.2            POS6/0
224.0.0.0/24        receive
255.255.255.255/32  receive

Table 48 describes the fields shown in the example.

Table 48 show ip cef vrf Field Descriptions 

Field
Description

Prefix

Specifies the network prefix.

Next Hop

Specifies the BGP next hop address.

Interface

Specifies the VRF interface.


Related CommandsRelated Commands

Command
Description

show ip route vrf

Displays the IP routing table associated with a VRF.

show ip vrf

Displays VRF interfaces.


show ip explicit-paths

To display the configured IP explicit paths, use the show ip explicit-paths command in user EXEC or privileged EXEC mode.

show ip explicit-paths [name word | identifier number] [detail]

Syntax Description

name word

(Optional) Name of the explicit path.

identifier number

(Optional) Number of the explicit path. Valid values are from 1 to 65535.

detail

(Optional) Displays, in the long form, information about the configured IP explicit paths.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

12.0(5)S

This command was introduced.


Usage Guidelines

An IP explicit path is a list of IP addresses, each representing a node or link in the explicit path.

Examples

The following is sample output from the show ip explicit-paths command:

Router# show ip explicit-paths

PATH 200 (strict source route, path complete, generation 6)
    1: next-address 3.3.28.3
    2: next-address 3.3.27.3

Table 49 describes the significant fields displayed in the display.

Table 49 show ip explicit-paths Field Descriptions 

Field
Description

PATH

Path name or number, followed by the path status.

1: next-address

First IP address in the path.

2: next-address

Second IP address in the path.


Related Commands

Command
Description

append-after

Inserts a path entry after a specific index number. Commands might be renumbered as a result.

index

Inserts or modifies a path entry at a specific index.

ip explicit-path

Enters the subcommand mode for IP explicit paths so that you can create or modify the named path.

list

Displays all or part of the explicit paths.

next-address

Specifies the next IP address in the explicit path.


show ip flow export

To display the statistics for the data export, including the main cache and all other enabled caches, use the show ip flow export command in user EXEC or privileged EXEC mode.

show ip flow export [template]

Syntax Description

template

(Optional) Shows the data export statistics (such as template timeout and refresh rate) for the template-specific configurations.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

11.1CC

This command was introduced.

12.2(2)T

This command was modified to display multiple NetFlow export destinations.

12.0(24)S

The template keyword was added.

12.3(1)

This command was integrated into Cisco IOS Release 12.3(1).


Examples

The following is sample output from the show ip flow export command:

Router# show ip flow export

Flow export v5 is enabled for main cache
  Exporting flows to 10.51.12.4 (9991) 10.1.97.50 (9111)
  Exporting using source IP address 9.1.97.17
  Version 5 flow records
  11 flows exported in 8 udp datagrams
  0 flows failed due to lack of export packet
  0 export packets were sent up to process level
  0 export packets were dropped due to no fib
  0 export packets were dropped due to adjacency issues
  0 export packets were dropped due to fragmentation failures
  0 export packets were dropped due to encapsulation fixup failures
  0 export packets were dropped enqueuing for the RP
  0 export packets were dropped due to IPC rate limiting
  0 export packets were dropped due to output drops

Table 50 describes the significant fields shown in the display.

Table 50 show ip flow export Field Descriptions 

Field
Description

Exporting flows to 10.51.12.4 (9991) 10.1.97.50 (9111)

Specifies the export destinations and ports. The ports are in parentheses.

Exporting using source IP address 9.1.97.17

Specifies the source address or interface.

Version 5 flow records

Specifies the version of the flow.

11 flows exported in 8 udp datagrams

The total number of export packets sent, and the total number of flows contained within them.

0 flows failed due to lack of export packet

No memory was available to create an export packet.

0 export packets were sent up to process level

The packet could not be processed by CEF or by fast switching, possibly because another feature requires running on the packet.

0 export packets were dropped due to no fib

0 export packets were dropped due to adjacency issues

Indicates that CEF was unable to switch the packet or forward it up to the process level.

0 export packets were dropped due to fragmentation failures

0 export packets were dropped due to encapsulation fixup failures

Indicates that the packet was dropped because of problems constructing the IP packet.

0 export packets were dropped enqueuing for the RP

0 export packets were dropped due to IPC rate limiting

Indicates that there was a problem transferring the export packet between the RP and the line card.

0 export packets were dropped due to output drops

Indicates that the send queue was full while the packet was being transmitted.


Related Commands

Command
Description

clear adjacency

Configures aggregation cache operational parameters.

exit-address-family

Leaves aggregation cache mode.

ip flow-aggregation cache

Enables aggregation cache configuration mode.


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

group-address

(Optional) Address of the IP multicast group for which to display the MFIB table.

source-address

(Optional) Address of the source of IP multicast packets for which to display the MFIB table.


Command Modes

User EXEC
Privileged EXEC

Command History

Release
Modification

11.2(11)GS

This command was introduced.


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 forwarding

IP multicast MDFS forwarding information and statistics:
Flags: N - Not MDFS switchable, F - Not all MDFS switchable, O - OIF Null
       R - In-ratelimit, A - In-access, M - MTU mismatch, P - Register set

Interface state: Interface, Next-Hop, Mac header

(*, 224.2.170.73), 
  Incoming interface: Null
  Pkts: 0, last used: never, Kbps: 0, fast-flags: N
  Outgoing interface list: Null

(128.97.62.86, 224.2.170.73) [31]
  Incoming interface: Fddi3/0/0
  Pkts: 3034, last used: 00:00:00, Kbps: 0, fast-flags: M
  Outgoing interface list:

Table 51 describes the significant fields shown in the display.

Table 51 show ip mds forwarding Field Descriptions 

Field
Description

(128.97.62.86, 224.2.170.73) [31])

Source and group addresses. The number in brackets is the hash bucket for the route.

Incoming interface:

Expected interface for a multicast packet from the source. If the packet is not received on this interface, it is discarded.

Pkts

Total number of packets switched by that entry.

last used:

Time when this MFIB entry was used to switch a packet.

Kbps:

Kilobits per second of the switched traffic.

Outgoing interface list:

Interfaces through which packets will be forwarded.


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 [