|
|
Table Of Contents
show cef interface policy-statistics
show ip cef traffic prefix-length
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 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 4 describes the significant fields shown in the display.
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 5 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 4 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 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 13 describes the significant fields shown in the display.
Table 13 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 14 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 15 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 16 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 17 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 18 describes the fields shown in the example.
Table 18 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 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 19 describes the significant fields shown in the display.
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 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 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.
Posted: Mon Mar 28 00:45:21 PST 2005
All contents are Copyright © 1992--2005 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.