|
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 adjacency
Protocol Interface Address
IP 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 summary
Adjacency table has 7 adjacencies:
each adjacency consumes 368 bytes (4 bytes platform extension)
6 complete adjacencies
1 incomplete adjacency
4 adjacencies of linktype IP
4 complete adjacencies of linktype IP
0 incomplete adjacencies of linktype IP
0 adjacencies with fixups of linktype IP
2 adjacencies with IP redirect of linktype IP
3 adjacencies of linktype IPV6
2 complete adjacencies of linktype IPV6
1 incomplete adjacency of linktype IPV6
Adjacency database high availability:
Database epoch: 8 (7 entries at this epoch)
Adjacency manager summary event processing:
Summary events epoch is 52
Summary events queue contains 0 events (high water mark 113 events)
Summary events queue can contain 49151 events
Adj last sourced field refreshed every 16384 summary events
RP adjacency component enabled
The following is sample output from the show adjacency detail command:
Router# show adjacency detail
Protocol Interface Address
IP Serial5/0/0/1:1 point2point(7)
0 packets, 0 bytes
0F000800
CEF expires: 00:02:09
refresh: 00:00:09
Epoch: 14
IP Serial5/0/1/1:1 point2point(7)
0 packets, 0 bytes
0F000800
CEF expires: 00:02:09
refresh: 00:00:09
Epoch: 14
Router#
The following example shows how to display adjacency information for a specific interface:
Router# show adjacency ethernet 3/0
Protocol Interface Address
IPV6 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 detail
Protocol Interface Address
IPV6 Ethernet3/0 FE80::20C:CFFF:FEDF:6854(2)
0 packets, 0 bytes
epoch 0
sourced in sev-epoch 16
Encap length 14
000CCFDF6854000CCFF9485486DD
IPv6 ND
Router#
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 drop
CEF Drop Statistics
Slot Encap_fail Unresolved Unsupported No_route No_adj ChksumErr
RP 4 89 0 4 0 0
1 0 0 0 0 0 0
2 0 0 5 0 0 5
IPv6 CEF Drop Statistics
Slot Encap_fail Unresolved Unsupported No_route No_adj
RP 2 33 0 2 0
1 0 0 3 0 0
2 0 0 0 0 0
Table 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 events
CEF 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 enter
Table 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-statistics
POS7/0 is up (if_number 8)
Index Packets Bytes
1 0 0
2 0 0
3 50 5000
4 100 10000
5 100 10000
6 10 1000
7 0 0
8 0 0
The 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-statistics
Ethernet1/0 is up (if_number 3)
Corresponding hwidb fast_if_number 3
Corresponding hwidb firstsw->if_number 3
Index Packets Bytes
1 0 0
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
The 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 input
FastEthernet1/0/0 is up (if_number 6)
Corresponding hwidb fast_if_number 6
Corresponding hwidb firstsw->if_number 6
BGP based Policy accounting on input is enabled
Index Packets Bytes
1 9999 999900
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
10 0 0
11 0 0
12 0 0
13 0 0
14 0 0
15 0 0
16 0 0
17 0 0
18 0 0
19 0 0
20 0 0
21 0 0
22 0 0
23 0 0
24 0 0
25 0 0
26 0 0
27 0 0
28 0 0
29 0 0
30 0 0
31 0 0
32 0 0
33 0 0
34 1234 123400
35 0 0
36 0 0
37 0 0
38 0 0
39 0 0
40 0 0
41 0 0
42 0 0
43 0 0
44 0 0
45 1000 100000
46 0 0
47 0 0
48 0 0
49 0 0
50 0 0
51 0 0
52 0 0
53 0 0
54 5123 1198782
55 0 0
56 0 0
57 0 0
58 0 0
59 0 0
60 0 0
61 0 0
62 0 0
63 0 0
64 0 0
The 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 output
Serial1/1/2 is up (if_number 9)
Corresponding hwidb fast_if_number 9
Corresponding hwidb firstsw->if_number 9
BGP based Policy accounting on output is enabled
Index Packets Bytes
1 9999 999900
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
10 0 0
11 0 0
12 0 0
13 0 0
14 0 0
15 0 0
16 0 0
17 0 0
18 0 0
19 0 0
20 0 0
21 0 0
22 0 0
23 0 0
24 0 0
25 0 0
26 0 0
27 0 0
28 0 0
29 0 0
30 0 0
31 0 0
32 0 0
33 0 0
34 1234 123400
35 0 0
36 0 0
37 0 0
38 0 0
39 0 0
40 0 0
41 0 0
42 0 0
43 0 0
44 0 0
45 1000 100000
46 0 0
47 0 0
48 0 0
49 0 0
50 0 0
51 0 0
52 0 0
53 0 0
54 5123 1198782
55 0 0
56 0 0
57 0 0
58 0 0
59 0 0
60 0 0
61 0 0
62 0 0
63 0 0
64 0 0
Table 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 brief
Interface IP-Address Status Switching
Ethernet3/0 10.0.212.6 up CEF
Router#
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/0
FastEthernet1/0/0 is up (if_number 6)
Corresponding hwidb fast_if_number 6
Corresponding hwidb firstsw->if_number 6
Internet address is 10.1.1.1/24
ICMP redirects are always sent
Per packet load-sharing is disabled
IP unicast RPF check is disabled
Inbound access list is not set
Outbound access list is not set
IP policy routing is disabled
BGP based policy accounting on input is enabled
BGP based policy accounting on output is disabled
Hardware idb is FastEthernet1/0/0 (6)
Software idb is FastEthernet1/0/0 (6)
Fast switching type 1, interface type 18
IP Distributed CEF switching enabled
IP Feature Fast switching turbo vector
IP Feature CEF switching turbo vector
Input fast flags 0x100, Output fast flags 0x0, Flags 0x0
ifindex 7(7)
Slot 1 Slot unit 0 VC -1
Transmit limit accumulator 0xE8001A82 (0xE8001A82)
IP MTU 1500
The 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 detail
FastEthernet1/0/0 is up (if_number 6)
Corresponding hwidb fast_if_number 6
Corresponding hwidb firstsw->if_number 6
Internet address is 10.1.1.1/24
ICMP redirects are always sent
Per packet load-sharing is disabled
IP unicast RPF check is disabled
Inbound access list is not set
Outbound access list is not set
IP policy routing is disabled
BGP based policy accounting on input is enabled
BGP based policy accounting on output is disabled
Hardware idb is FastEthernet1/0/0 (6)
Software idb is FastEthernet1/0/0 (6)
Fast switching type 1, interface type 18
IP Distributed CEF switching enabled
IP Feature Fast switching turbo vector
IP Feature CEF switching turbo vector
Input fast flags 0x100, Output fast flags 0x0, Flags 0x0
ifindex 7(7)
Slot 1 Slot unit 0 VC -1
Transmit limit accumulator 0xE8001A82 (0xE8001A82)
IP MTU 1500
The following is sample output from the show cef interface Null 0 detail command:
Router# show cef interface null 0 detail
Null0 is up (if_number 1)
Corresponding hwidb fast_if_number 1
Corresponding hwidb firstsw->if_number 1
Internet Protocol processing disabled
Interface is marked as nullidb
Packets switched to this interface on linecard are dropped to next slow path
Hardware idb is Null0
Fast switching type 13, interface type 0
IP CEF switching enabled
IP Feature CEF switching turbo vector
Input fast flags 0x0, Output fast flags 0x0
ifindex 0(0)
Slot -1 Slot unit -1 VC -1
Transmit limit accumulator 0x0 (0x0)
IP MTU 1500
The following is sample output for internal CEF interface status and configuration for the Ethernet 3/1 interface:
Router# show cef interface ethernet 3/1 internal
Ethernet3/1 is up (if_number 13)
Corresponding hwidb fast_if_number 13
Corresponding hwidb firstsw->if_number 13
Internet address is 10.0.212.6/24
ICMP redirects are always sent
Per packet load-sharing is disabled
IP unicast RPF check is disabled
Inbound access list is not set
Outbound access list is not set
IP policy routing is disabled
BGP based policy accounting on input is disabled
BGP based policy accounting on output is disabled
Hardware idb is Ethernet3/1
Fast switching type 1, interface type 63
IP CEF switching enabled
IP CEF switching turbo vector
IP CEF turbo switching turbo vector
IP prefix lookup IPv4 mtrie 8-8-8-8 optimized
Input fast flags 0x0, Output fast flags 0x0
ifindex 11(11)
Slot 3 Slot unit 0 VC -1
Transmit limit accumulator 0x0 (0x0)
IP MTU 1500
Subblocks:
IPv6: enabled 1 unreachable FALSE redirect TRUE mtu 1500 flags 0x0
link-local address is FE80::20C:CFFF:FEF9:4854
Global 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/24
Broadcast address 255.255.255.255
Per packet load-sharing is disabled
IP MTU 1500
Table 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-statistics
POS7/0 is up (if_number 8)
Index Packets Bytes
1 0 0
2 0 0
3 50 5000
4 100 10000
5 100 10000
6 10 1000
7 0 0
8 0 0
The 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-statistics
Ethernet1/0 is up (if_number 3)
Corresponding hwidb fast_if_number 3
Corresponding hwidb firstsw->if_number 3
Index Packets Bytes
1 0 0
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
The 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 input
FastEthernet1/0/0 is up (if_number 6)
Corresponding hwidb fast_if_number 6
Corresponding hwidb firstsw->if_number 6
BGP based Policy accounting on input is enabled
Index Packets Bytes
1 9999 999900
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
10 0 0
11 0 0
12 0 0
13 0 0
14 0 0
15 0 0
16 0 0
17 0 0
18 0 0
19 0 0
20 0 0
21 0 0
22 0 0
23 0 0
24 0 0
25 0 0
26 0 0
27 0 0
28 0 0
29 0 0
30 0 0
31 0 0
32 0 0
33 0 0
34 1234 123400
35 0 0
36 0 0
37 0 0
38 0 0
39 0 0
40 0 0
41 0 0
42 0 0
43 0 0
44 0 0
45 1000 100000
46 0 0
47 0 0
48 0 0
49 0 0
50 0 0
51 0 0
52 0 0
53 0 0
54 5123 1198782
The 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 output
Serial1/1/2 is up (if_number 9)
Corresponding hwidb fast_if_number 9
Corresponding hwidb firstsw->if_number 9
BGP based Policy accounting on output is enabled
Index Packets Bytes
1 9999 999900
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
10 0 0
11 0 0
12 0 0
13 0 0
14 0 0
15 0 0
16 0 0
17 0 0
18 0 0
19 0 0
20 0 0
21 0 0
22 0 0
23 0 0
24 0 0
25 0 0
26 0 0
27 0 0
28 0 0
29 0 0
30 0 0
31 0 0
32 0 0
33 0 0
34 1234 123400
35 0 0
36 0 0
37 0 0
38 0 0
39 0 0
40 0 0
41 0 0
42 0 0
43 0 0
44 0 0
45 1000 100000
46 0 0
47 0 0
48 0 0
49 0 0
50 0 0
51 0 0
52 0 0
53 0 0
54 5123 1198782
55 0 0
56 0 0
57 0 0
58 0 0
59 0 0
60 0 0
61 0 0
62 0 0
63 0 0
64 0 0
Table 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 linecard
Slot MsgSent XDRSent Window LowQ MedQ HighQ Flags
0 6 95 24 0 0 0 up
1 6 95 24 0 0 0 up
VRF Default-table, version 8, 6 routes
Slot Version CEF-XDR I/Fs State Flags
0 7 4 8 Active up, sync
1 7 4 10 Active up, sync
The following is sample output from the show cef linecard detail command for all line cards:
Router# show cef linecard detail
CEF linecard slot number 0, status up
Sequence number 4, Maximum sequence number expected 28, Seq Epoch 2
Send failed 0, Out Of Sequence 0, drops 0
Linecard CEF reset 0, reloaded 1
95 elements packed in 6 messages(3588 bytes) sent
69 elements cleared
linecard in sync after reloading
0/0/0 xdr elements in LowQ/MediumQ/HighQ
11/9/69 peak elements on LowQ/MediumQ/HighQ
Input packets 0, bytes 0
Output packets 0, bytes 0, drops 0
CEF Table statistics:
Table name Version Prefix-xdr Status
Default-table 7 4 Active, up, sync
CEF linecard slot number 1, status up
Sequence number 4, Maximum sequence number expected 28, Seq Epoch 2
Send failed 0, Out Of Sequence 0, drops 0
Linecard CEF reset 0, reloaded 1
95 elements packed in 6 messages(3588 bytes) sent
69 elements cleared
linecard in sync after reloading
0/0/0 xdr elements in LowQ/MediumQ/HighQ
11/9/69 peak elements on LowQ/MediumQ/HighQ
Input packets 0, bytes 0
Output packets 0, bytes 0, drops 0
CEF Table statistics:
Table name Version Prefix-xdr Status
Default-table 7 4 Active, up, sync
The following is sample output from the show cef linecard internal command for all line cards:
Router# show cef linecard internal
CEF linecard slot number 0, status up
Sequence number 11, Maximum sequence number expected 35
Send failed 0, Out Of Sequence 0
Linecard CEF reset 2, reloaded 2
Total elements queued:
prefix 4
adjacency 4
interface 91
address 2
policy routing 2
hw interface 57
state 6
resequence 2
control 13
table 2
time 4484
flow features deactivate 2
flow cache config 2
flow export config 2
dss 2
isl 2
mpls atm vc remove 2
mpls atm vc set label 2
2
2
3
1
4574 elements packed in 4495 messages(90286 bytes) sent
115 elements cleared
Total elements cleared:
prefix 2
adjacency 1
interface 63
address 1
policy routing 1
hw interface 29
state 2
control 5
table 1
flow features deactivate 1
flow cache config 1
flow export config 1
dss 1
isl 1
mpls atm vc remove 1
mpls atm vc set label 1
1
1
1
linecard disabled - failed a reload
0/0/0 xdr elements in LowQ/MediumQ/HighQ
Input packets 0, bytes 0
Output packets 0, bytes 0, drops 0
CEF Table statistics:
Table name Version Prefix-xdr Status
Default-table 8 4 Active, sync
Table 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-switched
CEF Packets passed on to next switching layer
Slot No_adj No_encap Unsupp'ted Redirect Receive Options Access Frag
RP 0 0 0 0 91584 0 0 0
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
IPv6 CEF Packets passed on to next switching layer
Slot No_adj No_encap Unsupp'ted Redirect Receive Options Access MTU
RP 0 0 0 0 92784 0 0 0
1 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0
Table 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 timers
CEF background process
Expiration Type
0.208 (parent)
0.208 adjacency update hwidb
0.540 slow resolution
1.208 ARP throttle
CEF FIB scanner process
Expiration Type
44.852 (parent)
44.852 checker scan-rib
Table 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 stats
Fddi3/0/0
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 3459994 1770812197 4141096 1982257456
Route cache 10372326 3693920448 439872 103743545
Distributed cache 19257912 1286172104 86887377 1184358085
Total 33090232 2455937453 91468345 3270359086
Table 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 switching
FastEthernet0/0
Throttle count 0
Drops RP 0 SP 0
SPD Flushes Fast 0 SSE 0
SPD Aggress Fast 0
SPD Priority Inputs 0 Drops 0
Protocol IP
Switching path Pkts In Chars In Pkts Out Chars Out
Process 24 8208 0 0
Cache misses 0 - - -
Fast 0 0 0 0
Auton/SSE 0 0 0 0
Protocol DECnet
Switching path Pkts In Chars In Pkts Out Chars Out
Process 0 0 0 0
Cache misses 0 - - -
Fast 0 0 0 0
Auton/SSE 0 0 0 0
.........
........
Protocol IPv6
Switching path Pkts In Chars In Pkts Out Chars Out
Process 0 0 0 0
Cache misses 0 - - -
Fast 0 0 0 0
Auton/SSE 0 0 0 0
Protocol Other
Switching path Pkts In Chars In Pkts Out Chars Out
Process 2 120 3 180
Cache misses 0 - - -
Fast 0 0 0 0
Auton/SSE 0 0 0 0
NOTE: all counts are cumulative and reset only after a reload.
Interface POS4/0 is disabled
The following shows sample output from the show interfaces switching command for the interface FastEthernet 0/0:
Router> show interfaces FastEthernet 0/0 switching
FastEthernet0/0
Throttle count 0
Drops RP 0 SP 0
SPD Flushes Fast 218 SSE 0
SPD Aggress Fast 0
SPD Priority Inputs 0 Drops 0
Protocol IP
Switching path Pkts In Chars In Pkts Out Chars Out
Process 239 23422 237 23226
Cache misses 0 - - -
Fast 0 0 0 0
Auton/SSE 0 0 0 0
Protocol ARP
Switching path Pkts In Chars In Pkts Out Chars Out
Process 4 240 3 180
Cache misses 0 - - -
Fast 0 0 0 0
Auton/SSE 0 0 0 0
Protocol CDP
Switching path Pkts In Chars In Pkts Out Chars Out
Process 8 2632 15 5477
Cache misses 0 - - -
Fast 0 0 0 0
Auton/SSE 0 0 0 0
NOTE: 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 cache
IP routing cache version 4490, 141 entries, 20772 bytes, 0 hash overflows
Minimum invalidation interval 2 seconds, maximum interval 5 seconds,
quiet interval 3 seconds, threshold 0 requests
Invalidation rate 0 in last 7 seconds, 0 in last 3 seconds
Last full cache invalidation occurred 0:06:31 ago
Prefix/Length Age Interface MAC Header
131.108.1.1/32 0:01:09 Ethernet0/0 AA000400013400000C0357430800
131.108.1.7/32 0:04:32 Ethernet0/0 00000C01281200000C0357430800
131.108.1.12/32 0:02:53 Ethernet0/0 00000C029FD000000C0357430800
131.108.2.13/32 0:06:22 Fddi2/0 00000C05A3E000000C035753AAAA0300
00000800
131.108.2.160/32 0:06:12 Fddi2/0 00000C05A3E000000C035753AAAA0300
00000800
131.108.3.0/24 0:00:21 Ethernet1/2 00000C026BC600000C03574D0800
131.108.4.0/24 0:02:00 Ethernet1/2 00000C026BC600000C03574D0800
131.108.5.0/24 0:00:00 Ethernet1/2 00000C04520800000C03574D0800
131.108.10.15/32 0:05:17 Ethernet0/2 00000C025FF500000C0357450800
131.108.11.7/32 0:04:08 Ethernet1/2 00000C010E3A00000C03574D0800
131.108.11.12/32 0:05:10 Ethernet0/0 00000C01281200000C0357430800
131.108.11.57/32 0:06:29 Ethernet0/0 00000C01281200000C0357430800
Table 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.0
IP routing cache version 4490, 119 entries, 17464 bytes, 0 hash overflows
Minimum invalidation interval 2 seconds, maximum interval 5 seconds,
quiet interval 3 seconds, threshold 0 requests
Invalidation rate 0 in last second, 0 in last 3 seconds
Last full cache invalidation occurred 0:11:56 ago
Prefix/Length Age Interface MAC Header
131.108.5.0/24 0:00:34 Ethernet1/2 00000C04520800000C03574D0800
The following is sample output from the show ip cache command with an interface specified:
Router# show ip cache e0/2
IP routing cache version 4490, 141 entries, 20772 bytes, 0 hash overflows
Minimum invalidation interval 2 seconds, maximum interval 5 seconds,
quiet interval 3 seconds, threshold 0 requests
Invalidation rate 0 in last second, 0 in last 3 seconds
Last full cache invalidation occurred 0:06:31 ago
Prefix/Length Age Interface MAC Header
131.108.10.15/32 0:05:17 Ethernet0/2 00000C025FF500000C0357450800
Related 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 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 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 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 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.252
1.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 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 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-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 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 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 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 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
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
The 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 summary
IP Distributed CEF with switching (Table Version 2283113), flags=0x0
164413 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 3451
2234324 instant recursive resolutions, 0 used background process
304 load sharing elements, 336 references
14758 in-place/0 aborted modifications
36745512 bytes allocated to the FIB table data structures
universal per-destination load sharing algorithm, id B03E8BB3
2(0) CEF resets
Resolution Timer: Exponential (currently 1s, peak 1s)
Tree summary:
8-8-8-8 stride pattern
short mask protection disabled
164413 leaves, 11622 nodes using 16691988 bytes
Transient memory used: 168, max: 865064
Table epoch: 0 (164413 entries at this epoch)
Hardware resource allocation status summary
Green (Normal), Yellow (Caution) Red (Alarm)
Slot HW Resource Name Util Alert
1 E3 Rx PLU 22 G
1 E3_Rx_TLU 6 G
2 E3 Rx PLU 22 G
2 E3_Rx_TLU 6 G
3 E3 Rx PLU 22 G
3 E3_Rx_TLU 6 G
9 E3 Rx PLU 22 G
9 E3_Rx_TLU 6 G
Adjacency Table has 11 adjacencies
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
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 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 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 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 interface
Interface SW-Index HW-Index HW IDB FS Vector VRF
Ethernet1/0/0 2 1 0x60C2DB40 0x602FB7A4 default
Ethernet1/0/1 3 2 0x60C32280 0x603D52B8 default
Ethernet1/0/2 4 3 0x60C35E40 0x602FB7A4 default
Ethernet1/0/3 5 4 0x60C39E60 0x603D52B8 default
Ethernet1/0/4 6 5 0x60C3D780 0x602FB7A4 default
Ethernet1/0/5 7 6 0x60C41140 0x602FB7A4 default
Ethernet1/0/6 8 7 0x60C453A0 0x602FB7A4 default
Ethernet1/0/7 9 8 0x60C48DC0 0x602FB7A4 default
POS2/0/0 10 9 0x0 default
POS3/0/0 11 10 0x0 default
Virtual-Access1 13 11 0x0 default
Loopback0 14 12 0x0 default
Tunnel0 15 23 0x61C2E480 0x603D52B8 vrf1
Tunnel1 16 24 0x61C267E0 0x603D52B8 vrf2
Ethernet1/0/3.1 17 4 0x60C39E60 0x603D52B8 vrf1
Ethernet1/0/3.2 18 4 0x60C39E60 0x603D52B8 vrf2
Table 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 switching
Slot Total Switched Drops RPF Punts Failures
(switch/clone)
1 0 0 0 0 4 0/0
3 20260925 18014717 253 93 2247454 1/0
Table 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 linecard
Slot Status IPC(seq/max) Q(high/route) Reloads
1 active 10560/10596 0/0 9
3 active 11055/11091 0/0 9
show 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 summary
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
(128.97.62.86, 224.2.170.73) [31]
Incoming interface: Fddi3/0/0
Pkts: 3045, last used: 00:00:03, Kbps: 0, fast-flags: M
(128.223.3.7, 224.2.170.73) [334]
Incoming interface: Fddi3/0/0
Pkts: 0, last used: never, Kbps: 0, fast-flags: M
Table 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 interface
Ethernet IEEE 802.3
FastEthernet FastEthernet IEEE 802.3
Hssi High Speed Serial Interface
Null Null interface
POS Packet over Sonet
Serial Serial
summary PXF summary statistics
The 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/0
Interface Pkts In Chars In Pkts Out Chars Out Punted Dropped
Ethernet4/0 0 0 122 11490 4 0
The 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/0
Interface Pkts In Chars In Pkts Out Chars Out Punted Dropped
nu0/0 0 0 0 0 4932 0
The 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 pos
Interface Pkts In Chars In Pkts Out Chars Out Punted Dropped
POS4/0 19 1064 0 0 44 0
The 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/0
Interface Pkts In Chars In Pkts Out Chars Out Punted Dropped
Serial5/0 0 0 0 0 0 0
The following is sample output from the show pxf accounting summary command:
Router# show pxf accounting summary
Pkts Dropped RP Processed Ignored
Total 0 48360 0
PXF Statistic:
Packets RP -> PXF:
switch ip: 0
switch raw: 30048360
qos fastsend: 0
qos enqueue: 1938
Total: 30050298
Packets PXF -> RP:
qos pkts: 1938
fast pkts: 30000000
drops:total 0
punts:total 48360
" not IP : 40572
" CEF no adjacency : 7788
Total: 30050298
Packets ignored: 0 | ring space:
shadow ring full: 0 | shadow ring: 16384
in ring full: 0 | inring: 968
PXF inactive: 0
tx credits: 16230330 | delayed credits: 0
holdq enqueues: 0 | requeue drops: 0
interrupts: 40538 | interrupt misses: 1947
interrupt packets: 53326
pending read bytes: 0
Interface Pkts In Chars In Pkts Out Chars Out Punted Dropped
Fa0/0 0 0 30000000 1740000000 970 0
Et1/0 0 0 0 0 21309 0
Et1/1 0 0 0 0 0 0
Et1/2 0 0 0 0 0 0
Et1/3 0 0 0 0 0 0
Se2/0 0 0 0 0 963 0
Se2/1 0 0 0 0 0 0
Se2/2 0 0 0 0 0 0
Se2/3 0 0 0 0 0 0
Fa3/0 0 0 0 0 963 0
PO4/0 30000000 1440000000 0 0 963 0
AT5/0 0 0 0 0 23192 0
Vi1 0 0 0 0 0 0
Vt1 0 0 0 0 0 0
Vi2 0 0 0 0 0 0
Related 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 crash
EX_Type = 0x80000000
EX_ID(b0~3,16~17) = 0x00400
CPU_EX_ID(b0~15) = 0x0004
IHB_EX_Type(b0~5) = 0x00
XRAM0(b0~13) = 0x00000
XRAM1(b0~13) = 0x00000
XRAM2(b0~13) = 0x00000
XRAM3(b0~13) = 0x00000
Pipeline:7FDEFD pdone[3210]:1F 17 17 1D
ICM0(b4~13) = 0x00000 ICM1(b4~13) = 0x00000
ICM2(b4~13) = 0x00010 ICM3(b4~13) = 0x00000
LOCK0(b0~4) = 0x00000 LOCK1(b0~4) = 0x00000
LOCK2(b0~4) = 0x00000 LOCK3(b0~4) = 0x00000
CPU0/2: SW EX Type=0x00000000 LBUS EX Type=0x00000081 HW EX
Type=0x00000400
CPU:row=0x0 column=0x2 cpu=0x2
PC:0000098E LR:0000087F CR:002C4C00
r0:00000000 r1:8001CEA0 r2:80784390 r3:00000000
r4:00005400 r5:80D3BA04 r6:80A7CA00 r7:00000004
r8:00000000 r9:00000008 r10:80092324 r11:800A6200
r12:00000033 r13:00000008 r14:00000000 r15:00000000
misr1a:00000000 misr1bhi:00000000 misr1blo:00000000 misr2hi:00000000
misr2lo:00000000 reserve:00000000 reserve:00000000 reserve:00000000
sisr1a:01000040 sisr1b:00000000 irhi:4402200F irlo:00000000
cAll:C20DE822 DCD1:00020400 DCD2:00000002 CNTL:00000000
TBuf intr 0:1111111F
TBuf intr 1:020FFFF0
TBuf intr 2:00003C80
TBuf intr 3:80000000
TBuf intr 4:00000400
Xram return:00000000
Icram return hi:80024E00
Icram return lo:800A4E00
TBuf addr 0:005E6800 TBuf sblock1 0:8078A374 TBuf sblock0 0:804FD600
TBuf addr 1:005E6800 TBuf sblock1 1:8078A374 TBuf sblock0 1:804FD600
TBuf addr 2:005E6800 TBuf sblock1 2:8078A374 TBuf sblock0 2:804FD600
TBuf addr 3:005E6800 TBuf sblock1 3:8078A374 TBuf sblock0 3:804FD600
TBuf addr 4:005E6800 TBuf sblock1 4:8078A374 TBuf sblock0 4:804FD600
TBuf addr 5:005E6800 TBuf sblock1 5:8078A374 TBuf sblock0 5:804FD600
TBuf addr 6:005E6800 TBuf sblock1 6:8078A374 TBuf sblock0 6:804FD600
TBuf addr 7:005E6800 TBuf sblock1 7:8078A374 TBuf sblock0 7:804FD600
show 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 vpn1
Shadow 8-8-4-4-8 PXF Mtrie:
51 leaves, 2448 leaf bytes, 92 nodes, 56352 node bytes
10 invalidations
61 prefix updates
refcounts: 3666 leaf, 3733 node
Prefix/Length Refcount Parent Address Shadow
0.0.0.0/32 3 0xC0047218 0x62CAF2E8
5.0.0.0/16 558 0xC0047278 0x62CAF108
5.0.0.0/32 3 5.0.0.0/16 0xC0047268 0x62CAEE08
5.0.0.1/32 3 5.0.0.0/16 0xC0047260 0x62CAEA18
5.0.0.2/32 3 5.0.0.0/16 0xC0047388 0x62CAEA48
5.0.255.255/32 3 5.0.0.0/16 0xC0047270 0x62CAF0D8
30.1.0.0/16 288 0xC0047360 0x62CAEB38
30.1.1.1/32 3 30.1.0.0/16 0xC0047350 0x62CAEB98
70.0.0.0/32 3 0xC00472C0 0x62CAEEF8
70.1.1.1/32 3 0xC0047358 0x62CAEB68
70.1.1.2/32 3 0xC0047368 0x62CAEB08
70.1.1.3/32 3 0xC0047370 0x62CAEAD8
70.1.1.4/32 3 0xC0047378 0x62CAEAA8
70.1.1.5/32 3 0xC0047380 0x62CAEA78
224.0.0.0/24 3 0xC0047228 0x62CAF288
255.255.255.255/32 3 0xC0047220 0x62CAF2B8
========================================
5 routes with less specific overlapping parent route
Table 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 entry
Shadow 16-4-4-8 PXF Mtrie:
41 leaves, 1968 leaf bytes, 15 nodes, 267000 node bytes
5 invalidations
46 prefix updates
refcounts: 66746 leaf, 66720 node
Prefix/Length Refcount Parent
0.0.0.0/0 62282
0.0.0.0/32 3 0.0.0.0/0
171.69.12.128/27 34 0.0.0.0/0
171.69.12.128/32 3 171.69.12.128/27
171.69.12.129/32 3 171.69.12.128/27
171.69.12.130/32 3 171.69.12.128/27
171.69.12.131/32 3 171.69.12.128/27
171.69.12.147/32 3 171.69.12.128/27
Related 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 interface
Intf I/f # Attributes
Fa0/0 3 Raw, Encap, QoS(Cr 0, Thrsh 2, Max 101)
Et1/0 4 Raw, Encap
Et1/1 5 Raw, Encap, QoS(Cr 0, Thrsh 2, Max 13)
Et1/2 6 Raw, Encap
Et1/3 7 Raw, Encap
Se2/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, Encap
PO4/0 13 Raw, Encap
AT5/0 14 Raw, Encap
Related 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 ipc
Route-map RP IPC Config Updates Sent
Name: 4
Match access-list: 2
Match length: 0
Set precedence: 1
Set tos: 0
Set nexthop: 4
Set interface: 0
Set default nexthop: 0
Set default interface: 1
Clean all: 2
The following is sample output of the show route-map ipc command when it is executed on the VIP:
Router# show route-map ipc
Route-map LC IPC Config Updates Received
Name: 4
Match access-list: 2
Match length: 0
Set precedence: 1
Set tos: 0
Set nexthop: 4
Set interface: 0
Set default nexthop: 0
Set default interface: 1
Clean all: 2
Table 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.