|
|
To display information about an extended label ATM interface, use the show interface XTagATM command in EXEC mode.
show interface XTagATM if-num
Syntax Description
if-num Interface number.
Command Modes
EXEC
Command History
12.0(3)T This command was introduced.
Release
Modification
Usage Guidelines
Extended-label ATM interfaces are virtual interfaces that are created on first reference like tunnel interfaces. They are similar to ATM interfaces except that they only support TC-ATM encapsulation.
Use the show interface XTagATM command to display information about an extended label ATM interface.
Examples
The following is sample output from the show interface XTagATM command:
show interface XTagATM0
XTagATM0 is up, line protocol is up
Hardware is Tag-Controlled Switch Port
Interface is unnumbered. Using address of Loopback0 (12.0.0.17)
MTU 4470 bytes, BW 156250 Kbit, DLY 80 usec, rely 255/255, load 1/255
Encapsulation ATM Tagswitching, loopback not set
Encapsulation(s): AAL5
Control interface: ATM1/0, switch port: bpx 10.2
9 terminating VCs, 16 switch cross-connects
Switch port traffic:
129302 cells input, 127559 cells output
Last input 00:00:04, output never, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/0, 0 drops; input queue 0/75, 0 drops
Terminating traffic:
5 minute input rate 1000 bits/sec, 1 packets/sec
5 minute output rate 0 bits/sec, 1 packets/sec
61643 packets input, 4571695 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
53799 packets output, 4079127 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffers copied, 0 interrupts, 0 failures
Table 17 lists the significant fields in this display.
| Field | Description |
|---|---|
XTagATM0 is up | Interface is currently active. |
line protocol is up | Shows line protocol is up. |
Hardware is Label-Controlled Switch Port | Specifies the hardware type. |
Interface is unnumbered | Specifies that this is an unnumbered interface. |
MTU | Maximum transmission unit of the extended label ATM interface. |
BW | Bandwidth of the interface in kilobits per second. |
DLY | Delay of the interface in microseconds. |
rely | Reliability of the interface as a fraction of 255 (255/255 is 100% reliability), calculated as an exponential average over 5 minutes. |
load | Load on the interface as a fraction of 255 (255/255 is completely saturated), calculated as an exponential average over 5 minutes. |
Encapsulation ATM Label switching | Encapsulation method. |
loopback not set | Indicates that loopback is not set. |
Encapsulation(s) | Identifies the ATM adaptation layer. |
Control interface | Identifies the control port switch port with which the extended label ATM interface has been associated through the extended-port interface configuration command. |
9 terminating VCs | Number of terminating VCs with an endpoint on this extended label ATM interface. Packets are transmitted and/or received by the LSC on a terminating VC, or are forwarded between an LSC-controlled switch port and a router interface. |
16 switch cross-connects | Number of switch cross-connects on the external switch with an endpoint on the switch port that corresponds to this interface. This includes cross-connects to terminating VCs that carry data to and from the LSC, as well as cross-connects that bypass the LSC and switch cells directly to other ports. |
Switch port traffic: | Number of cells received and transmitted on all cross-connects associated with this interface. |
Terminating traffic counts: | Indicates that counters below this line apply only to packets transmitted or received on terminating VCs. |
Five minute input rate, | Average number of bits and packets transmitted per second in the last 5 minutes. |
packets input | Total number of error-free packets received by the system. |
bytes | Total number of bytes, including data and MAC encapsulation, in the error-free packets received by the system. |
no buffer | Number of received packets discarded because there was no buffer space in the main system. Compare with ignored count. Broadcast storms on Ethernets and bursts on noise on serial lines are often responsible for "no input buffer" events. |
broadcasts | Total number of broadcast or multicast packets received by the interface. |
runts | Number of packets that are discarded because they are smaller than the minimum packet size for the medium. |
giants | Number of packets that are discarded because they exceed the maximum packet size for the medium. |
input errors | Total number of no buffer, runts, giants, CRCs, frame, overrun, ignored, and abort counts. Other input-related errors can also increment the count, so that this sum may not balance with the other counts. |
CRC | Cyclic redundancy checksum generated by the originating LAN station or far end device does not match the checksum calculated from the data received. On a LAN, this usually indicates noise or transmission problems on the LAN interface or the LAN bus itself. A high number of CRCs is usually the result of collisions or a station transmitting bad data. On a serial link, CRCs usually indicate noise, gain hits, or other transmission problems on the data link. |
frame | Number of packets received incorrectly having a CRC error and a noninteger number of octets. |
overrun | Number of times the serial receiver hardware was unable to hand received data to a hardware buffer because the input rate exceeded the ability of the receiver to handle the data. |
ignored | Number of received packets ignored by the interface because the interface hardware ran low on internal buffers. These buffers are different from the system buffers mentioned previously in the buffer description. Broadcast storms and bursts of noise can cause the "ignored" count to be incremented. |
abort | Illegal sequence of one bits on the interface. This usually indicates a clocking problem between the interface and the data link equipment. |
packets output | Total number of messages transmitted by the system. |
bytes | Total number of bytes, including data and MAC encapsulation, transmitted by the system. |
underruns | Number of times that the transmitter has been running faster than the router can handle. This may never be reported on some interfaces. |
output errors | Sum of all errors that prevented the final transmission of datagrams out of the interface being examined. Note that this may not balance with the sum of the enumerated output errors, as some datagrams may have more than one error, and others may have errors that do not fall into any of the specifically tabulated categories. |
collisions | Number of messages retransmitted due to an Ethernet collision. This is usually the result of an overextended LAN (Ethernet or transceiver cable too long, more than two repeaters between stations, or too many cascaded multiport transceivers). A packet that collides is counted only once in output packets. |
interface resets | Number of times an interface has been completely reset. This can happen if packets queued for transmission were not sent within several seconds. On a serial line, this can be caused by a malfunctioning modem that is not supplying the transmit clock signal, or by a cable problem. If the system notices that the carrier detect line of a serial interface is up, but the line protocol is down, it periodically resets the interface in an effort to restart it. Interface resets can also occur when an interface is looped back or shut down. |
output buffers copied | Number of packets copied from a MEMD buffer into a system buffer before being placed on the output hold queue. |
interrupts | Displays the value of hwidb to tx_restarts. |
failures | Number of packets discarded because no MEMD buffer was available. |
Related Commands
interface XTagATM Enters interface configuration mode for the extended MPLS ATM (XTagATM) interface.
Command
Description
To display VPN address information from the BGP table, use the show ip bgp vpnv4 command in EXEC mode.
show ip bgp vpnv4 {all | rd route-distinguisher | vrf vrf-name} [ip-prefix/length [longer-prefixes] [output-modifiers]] [network-address [mask] [longer-prefixes] [output-modifiers]] [cidr-only] [community] [community-list] [dampened-paths] [filter-list] [flap-statistics] [inconsistent-as][neighbors] [paths [line]] [peer-group] [quote-regexp] [regexp] [summary] [tags]
Syntax Description
all Displays the complete VPNv4 database. rd route-distinguisher vrf vrf-name Displays NLRIs associated with the named VRF. ip-prefix/length (Optional) IP prefix address (in dotted decimal format) and length of mask (0 to 32). longer-prefixes (Optional) Displays the entry, if any, that exactly matches the specified prefix parameter, as well as all entries that match the prefix in a "longest-match" sense. That is, prefixes for which the specified prefix is an initial substring. output-modifiers (Optional) For a list of associated keywords and arguments, use context-sensitive help. network-address (Optional) IP address of a network in the BGP routing table. (Optional) Mask of the network address, in dotted decimal format. (Optional) Displays only routes that have nonnatural net masks. community (Optional) Displays routes matching this community. (Optional) Displays routes matching this community list. (Optional) Displays paths suppressed on account of dampening (BGP route from peer is up and down). filter-list (Optional) Displays routes conforming to the filter list. (Optional) Displays flap statistics of routes. inconsistent-as (Optional) Displays only routes that have inconsistent autonomous systems of origin. neighbors (Optional) Displays details about TCP and BGP neighbor connections. paths (Optional) Displays path information. line (Optional) A regular expression to match the BGP AS paths. (Optional) Displays information about peer groups. (Optional) Displays routes matching the AS path "regular expression." (Optional) Displays routes matching the AS path regular expression. summary (Optional) Displays BGP neighbor status. tags (Optional) Displays incoming and outgoing BGP labels for each NLRI.
Defaults
No default behavior or values.
Command Modes
Command History
12.0(5)T This command was introduced.
Release
Modification
Usage Guidelines
Examples
The following example shows output for all available VPNv4 information in a BGP routing table:
show ip bgp vpnv4 all BGP table version is 18, local router ID is 14.14.14.14 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP,? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (vrf1) *> 11.0.0.0 50.0.0.1 0 0 101 i *>i12.0.0.0 13.13.13.13 0 100 0 102 i *> 50.0.0.0 50.0.0.1 0 0 101 i *>i51.0.0.0 13.13.13.13 0 100 0 102 i
Table 18 describes the fields shown in this example.
| Field | Description |
Network | Displays the network address from the BGP table. |
Displays the address of the BGP next hop. | |
Metric | Displays the BGP metric. |
Displays the local preference. | |
Weight | Displays the BGP weight. |
Path | Displays the BGP path per route. |
The following example shows how to display a table of labels for NLRIs that have a route-distinguisher value of 100:1.
show ip bgp vpnv4 rd 100:1 tags
Network Next Hop In tag/Out tag
Route Distinguisher: 100:1 (vrf1)
2.0.0.0 10.20.0.60 34/notag
10.0.0.0 10.20.0.60 35/notag
12.0.0.0 10.20.0.60 26/notag
10.20.0.60 26/notag
13.0.0.0 10.15.0.15 notag/26
Table 19 describes the fields shown in this example.
| Field | Description |
Network | Displays the network address from the BGP table. |
Specifies the BGP next hop address. | |
In Tag | Displays the label (if any) assigned by this router. |
Out Tag | Displays the label assigned by the BGP next hop router. |
The following example shows VPNv4 routing entries for the VRF called vrf1.
show ip bgp vpnv4 vrf vrf1 BGP table version is 18, local router ID is 14.14.14.14 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP,? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (vrf1) *> 11.0.0.0 50.0.0.1 0 0 101 i *>i12.0.0.0 13.13.13.13 0 100 0 102 i *> 50.0.0.0 50.0.0.1 0 0 101 i *>i51.0.0.0 13.13.13.13 0 100 0 102 i
Table 20 describes the fields shown in this example.
| Field | Description |
Network | Displays network address from the BGP table. |
Displays address of the BGP next hop. | |
Metric | Displays the BGP metric. |
Displays the local preference. | |
Weight | Displays the BGP weight. |
Path | Displays the BGP path per route. |
Related Commands
show ip vrf Displays the set of defined VRFs and associated interfaces.
Command
Description
To display the routing table cache used to fast switch IP traffic, use the show ip cache EXEC command.
show ip cache [prefix mask] [type number]
Syntax Description
prefix (Optional) Displays only the entries in the cache that match the prefix and mask combination. mask (Optional) Displays only the entries in the cache that match the prefix and mask combination. type (Optional) Displays only the entries in the cache that match the interface type and number combination. number (Optional) Displays only the entries in the cache that match the interface type and number combination.
Command Modes
EXEC
Command History
10.0 This command was introduced.
Release
Modification
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:
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 21 describes significant fields shown in the display.
| Field | Description |
|---|---|
IP routing cache version | Version number of this table. This number is incremented any time the table is flushed. |
entries | Number of valid entries. |
bytes | Number of bytes of processor memory for valid entries. |
hash overflows | Number of times autonomous switching cache overflowed. |
Minimum invalidation interval | Minimum time delay between cache invalidation request and actual invalidation. |
maximum interval | Maximum time delay between cache invalidation request and actual invalidation. |
quiet interval | Length of time between cache flush requests before the cache will be flushed. |
threshold n requests | Maximum number of requests that can occur while the cache is considered quiet. |
Invalidation rate n in last m seconds | Number of cache invalidations during the last m seconds. |
0 in last 3 seconds | Number of cache invalidation requests during the last quiet interval. |
Last full cache invalidation occurred hh:mm:ss ago | Time since last full cache invalidation was performed. |
Prefix/Length | Network reachability information for cache entry. |
Age | Age of cache entry. |
Interface | Output interface type and number. |
MAC Header | Layer 2 encapsulation information for cache entry. |
The following is sample output from the show ip cache command with a prefix and mask specified:
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:
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
To display a summary of the NetFlow switching statistics, use the show ip cache flow command in EXEC mode.
show ip cache flowSyntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
11.1 This command was introduced. 11.1 CA The information display for the command was updated.
Release
Modification
Examples
The following is a sample output from the show ip cache flow command.
show ip cache flow
IP packet size distribution (12718M total packets):
1-32 64 96 128 160 192 224 256 288 320 352 384 416 448 480
.000 .554 .042 .017 .015 .009 .009 .009 .013 .030 .006 .007 .005 .004 .004
512 544 576 1024 1536 2048 2560 3072 3584 4096 4608
.003 .007 .139 .019 .098 .000 .000 .000 .000 .000 .000
IP Flow Switching Cache, 4456448 bytes
65509 active, 27 inactive, 820628747 added
955454490 ager polls, 0 flow alloc failures
Exporting flows to 1.1.15.1 (2057)
820563238 flows exported in 34485239 udp datagrams, 0 failed
last clearing of statistics 00:00:03
Protocol Total Flows Packets Bytes Packets Active(Sec) Idle(Sec)
-------- Flows /Sec /Flow /Pkt /Sec /Flow /Flow
TCP-Telnet 2656855 4.3 86 78 372.3 49.6 27.6
TCP-FTP 5900082 9.5 9 71 86.8 11.4 33.1
TCP-FTPD 3200453 5.1 193 461 1006.3 45.8 33.4
TCP-WWW 546778274 887.3 12 325 11170.8 8.0 32.3
TCP-SMTP 25536863 41.4 21 283 876.5 10.9 31.3
TCP-X 116391 0.1 231 269 43.8 68.2 27.3
TCP-BGP 24520 0.0 28 216 1.1 26.2 39.0
TCP-Frag 56847 0.0 24 952 2.2 13.1 33.2
TCP-other 49148540 79.7 47 338 3752.6 30.7 32.2
UDP-DNS 117240379 190.2 3 112 570.8 7.5 34.7
UDP-NTP 9378269 15.2 1 76 16.2 2.2 38.7
UDP-TFTP 8077 0.0 3 62 0.0 9.7 33.2
UDP-Frag 51161 0.0 14 322 1.2 11.0 39.4
UDP-other 45502422 73.8 30 174 2272.7 8.5 37.8
ICMP 14837957 24.0 5 224 125.8 12.1 34.3
IGMP 40916 0.0 170 207 11.3 197.3 13.5
IPINIP 3988 0.0 48713 393 315.2 644.2 19.6
GRE 3838 0.0 79 101 0.4 47.3 25.9
IP-other 77406 0.1 47 259 5.9 52.4 27.0
Total: 820563238 1331.7 15 304 20633.0 9.8 33.0
SrcIf SrcIPaddress DstIf DstIPaddress Pr SrcP DstP Pkts B/Pk Active
Fd0/0 80.0.0.3 Hs1/0 200.1.9.1 06 0621 0052 7 87 5.9
Fd0/0 80.0.0.3 Hs1/0 200.1.8.1 06 0620 0052 7 87 1.8
Hs1/0 200.0.0.3 Fd0/0 80.1.10.1 06 0052 0621 6 58 1.8
Hs1/0 200.0.0.3 Fd0/0 80.1.1.1 06 0052 0620 5 62 5.9
Fd0/0 80.0.0.3 Hs1/0 200.1.3.1 06 0723 0052 16 68 0.3
HS1/0 200.0.0.3 Fd0/0 80.1.2.1 06 0052 0726 6 58 11.8
Fd0/0 80.0.0.3 Hs1/0 200.1.5.1 06 0726 0052 6 96 0.3
Hs1/0 200.0.0.3 Fd0/0 80.1.4.1 06 0052 0442 3 76 0.3
Hs1/0 200.0.0.3 Fd0/0 80.1.7.1 06 0052 D381 11 1171 0.6
Table 22 describes the fields in the packet size distribution lines of the output.
| Field | Description |
|---|---|
IP packet size distribution | The two lines below this banner show the percentage distribution of packets by size range. In this display, 55.4% of the packets fall in the size range from 33 to 64 bytes. |
Table 23 describes the fields in the flow switching cache lines of the output.
| Field | Description |
|---|---|
bytes | Number of bytes of memory used by the NetFlow cache. |
active | Number of active flows in the NetFlow cache at the time this command was entered. |
inactive | Number of flow buffers that are allocated in the NetFlow cache, but are not currently assigned to a specific flow at the time this command is entered. |
added | Number of flows created since the start of the summary period. |
ager polls | Number of times the NetFlow code looked at the cache to expire entries (used by Cisco for diagnostics only). |
flow alloc failures | Number of times the NetFlow code tried to allocate a flow but could not. |
Exporting flows | IP address and UDP port number of the workstation to which flows are exported. |
flows exported in udp datagrams | Total number of flows exported and the total number of UDP datagrams used to export the flows to the workstation. |
failed | Number of flows that could not be exported by the router because of output interface limitations. |
last clearing of statistics | Standard time output (hh:mm:ss) since the clear ip flow stats command was executed. This time output changes to hours and days after the time exceed 24 hours. |
Table 24 describes the fields in the activity-by-protocol lines of the output.
| Field | Description |
|---|---|
Protocol | IP protocol and the "well known" port number as described in RFC 1340. |
Total Flows | Number of flows for this protocol since the last time statistics were cleared. |
Flows/Sec | Average number of flows for this protocol seen per second; equal to total flows/number of seconds for this summary period. |
Packets/Flow | Average number of packets observed for the flows seen for this protocol. Equal to Total Packets for this protocol or number of flows for this protocol for this summary period. |
Bytes/Pkt | Average number of bytes observed for the packets seen for this protocol (total bytes for this protocol or the total number of packet for this protocol for this summary period). |
Packets/Sec | Average number of packets for this protocol per second (total packets for this protocol) or the total number of seconds for this summary period. |
Active(Sec)/Flow | Sum of all the seconds from the first packet to the last packet of an expired flow (for example, TCP FIN, timeout, and so forth) in seconds or total flows for this protocol for this summary period. |
Idle(Sec)/Flow | Sum of all the seconds from the last packet seen in each nonexpired flow for this protocol until the time at which this command was entered, in seconds or total flows for this protocol for this summary period. |
Table 25 describes the fields in the current flow lines of the output.
| Field | Description |
|---|---|
IP routing cache version | Version number of this table. This number is incremented any time the table is flushed. |
entries | Number of valid entries. |
bytes | Number of bytes of processor memory for valid entries. |
hash overflows | Number of times autonomous switching cache overflowed. |
Minimum invalidation interval | Minimum time delay between cache invalidation request and actual invalidation. |
maximum interval | Maximum time delay between cache invalidation request and actual invalidation. |
quiet interval | Length of time between cache flush requests before the cache will be flushed. |
threshold n requests | Maximum number of requests that can occur while the cache is considered quiet. |
Invalidation rate n in last m seconds | Number of cache invalidations during the last m seconds. |
0 in last 3 seconds | Number of cache invalidation requests during the last quiet interval. |
Last full cache invalidation occurred hh:mm:ss ago | Time since last full cache invalidation was performed. |
Prefix/Length | Network reachability information for cache entry. |
Age | Age of cache entry. |
Interface | Output interface type and number. |
MAC Header | Layer 2 encapsulation information for cache entry. |
Related Commands
clear ip flow stats Clears the NetFlow switching statistics. ip route-cache Configures the router to export the flow cache entry to a workstation when a flow expires.
Command
Description
To display the aggregation cache configuration, use the show ip cache flow aggregation command in EXEC mode.
show ip cache flow aggregation type
Syntax Description
type Displays the configuration of a a particular aggregation cache: autonomous system, destination prefix, prefix, protocol-port, or source prefix.
Defaults
No default behavior or values.
Command Modes
EXEC
Command History
12.0(3)T This command was introduced.
Release
Modification
Examples
The following example shows how to use the show ip cache flow aggregation command:
show ip cache flow aggregation as IP Flow Switching Cache, 278544 bytes 2 active, 4094 inactive, 13 added 178 ager polls, 0 flow alloc failures Src If Src AS Dst If Dst AS Flows Pkts B/Pk Active Fa1/0 0 Null 0 1 2 49 10.2 Fa1/0 0 Se2/0 20 1 5 100 0.0
Related Commands
Configures aggregation cache operational parameters. Enables an aggregation cache. Enables the exporting of information from NetFlow aggregation caches. Enables aggregation cache configuration mode. Displays the statistics for the data export including the main cache and all other enabled caches.
Command
Description
To display entries in the FIB that are unresolved or to display a summary of the FIB, use this form of the show ip cef command in EXEC mode:
show ip cef [unresolved | summary]To display specific entries in the FIB based on IP address information, use this form of the show ip cef EXEC command:
show ip cef [network [mask [longer-prefix]]] [detail]To display specific entries in the FIB based on interface information, use this form of the show ip cef EXEC command:
show ip cef [type number] [detail]
Syntax Description
unresolved (Optional) Displays unresolved FIB entries. summary (Optional) Displays a summary of the FIB. network (Optional) Displays the FIB entry for the specified destination network. mask (Optional) Displays the FIB entry for the specified destination network and mask. longer-prefix (Optional) Displays FIB entries for more specific destinations. detail (Optional) Displays detailed FIB entry information. type number (Optional) Interface type and number for which to display FIB entries.
Command Modes
EXEC
Command History
11.2 GS This command was introduced to support the Cisco 12012 Gigabit Switch Router. 11.1 CC Multiple platform support was added.
Release
Modification
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:
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 148.214.0.0/16, version 136622 0 packets, 0 bytes via 171.69.233.56, 0 dependencies, recursive unresolved 148.215.0.0/16, version 136623 0 packets, 0 bytes via 171.69.233.56, 0 dependencies, recursive unresolved 148.218.0.0/16, version 136624 0 packets, 0 bytes
The following is sample output from the show ip cef summary command:
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 internal command; it shows load-sharing details for multiple paths to a prefix:
show ip cef 192.168.1.0 internal 192.168.1.0/24, version 135490, per-destination sharing 0 packets, 0 bytes via 172.19.233.50, 0 dependencies, recursive <-- possible path 1 info traffic share 1, current path next hop 172.19.233.50, Ethernet0/0 via 172.19.233.50/32 valid adjacency via 172.19.233.49, 0 dependencies, recursive <-- possible path 2 info traffic share 1 next hop 172.19.233.49, Ethernet0/0 via 172.19.233.49/32 valid adjacency 0 packets, 0 bytes switched through the prefix Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 1) ^ |.. how the load is distributed among the possible paths Hash OK Interface Address Packets 1 Y Ethernet0/0 172.19.233.50 0 2 Y Ethernet0/0 172.19.233.49 0 3 Y Ethernet0/0 172.19.233.50 0 4 Y Ethernet0/0 172.19.233.49 0 5 Y Ethernet0/0 172.19.233.50 0 6 Y Ethernet0/0 172.19.233.49 0 7 Y Ethernet0/0 172.19.233.50 0 8 Y Ethernet0/0 172.19.233.49 0 9 Y Ethernet0/0 172.19.233.50 0 10 Y Ethernet0/0 172.19.233.49 0 11 Y Ethernet0/0 172.19.233.50 0 12 Y Ethernet0/0 172.19.233.49 0 13 Y Ethernet0/0 172.19.233.50 0 14 Y Ethernet0/0 172.19.233.49 0 15 Y Ethernet0/0 172.19.233.50 0 16 Y Ethernet0/0 172.19.233.49 0
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.
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
Related Commands
show cef Displays which packets the line cards dropped or displays which packets were not express-forwarded. show cef interface Displays CEF-related interface information.
Command
Description
To display the CEF forwarding table associated with a VRF, use the show ip cef vrf EXEC command.
show ip cef vrf vrf-name [ip-prefix [mask [longer-prefixes]] [detail] [output-modifiers]] [interface interface-number] [adjacency [interface interface-number] [detail] [discard] [drop] [glean] [null] [punt] [output-modifiers]] [detail [output-modifiers]] [non-recursive [detail] [output-modifiers]] [summary [output-modifiers]] [traffic [prefix-length] [output-modifiers]] [unresolved [detail] [output-modifiers]]
Syntax Description
vrf-name Name assigned to the VRF. (Optional) IP prefix of entries to show, in dotted decimal format (A.B.C.D). mask (Optional) Mask of the IP prefix, in dotted decimal format. longer-prefixes (Optional) Displays table entries for more specific routes. detail (Optional) Displays detailed information for each CEF table entry. (Optional) For a list of associated keywords and arguments, use context-sensitive help. interface (Optional) Type of network interface to use: ATM, Ethernet, Loopback, POS (packet over SONET) or Null. interface-number Number identifying the network interface to use. adjacency (Optional) Displays all prefixes resolving through adjacency. discard Discards adjacency. drop Drops adjacency. glean Gleans adjacency. null Null adjacency. punt Punts adjacency. non-recursive (Optional) Displays only nonrecursive routes. summary (Optional) Displays a CEF table summary. traffic (Optional) Displays traffic statistics. prefix-length (Optional) Displays traffic statistics by prefix size. unresolved (Optional) Displays only unresolved routes.
Defaults
No default behavior or values.
Command Modes
EXEC
Command History
12.0(5)T This command was introduced.
Release
Modification
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 argument, 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.
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 26 describes the fields shown in this example.
| Field | Description |
Prefix | Specifies the network prefix. |
Next Hop | Specifies the BGP next hop address. |
Interface | Specifies the VRF interface. |
Related Commands
Displays the IP routing table associated with a VRF. Displays the set of defined VRFs and associated interfaces.
Command
Description
To display configured IP explicit paths, use the show ip explicit-paths command in EXEC mode. An IP explicit path is a list of IP addresses, each representing a node or link in the explicit path.
show ip explicit-paths [{name Word | identifier number}] [detail]
Syntax Description
name Word (Optional) Specifies explicit path by name. identifier number (Optional) Specifies explicit path by number. detail (Optional) Display information in long form.
Defaults
No default behavior or values.
Command Modes
EXEC
Command History
12.0(5)S This command was introduced.
Release
Modification
Examples
The following example shows output from the show ip explicit-paths command:
show ip explicit-paths
PATH 200 (strict source route, path complete, generation 6)
1: next-address 3.3.28.3
2: next-address 3.3.27.3
Table 26 lists the fields displayed in this example.
| Field | Description |
PATH | Path name or number, followed by path status. |
1: next-address | The first IP address in the path. |
2. next-address | The second IP address in the path. |
Link State ID: 1.0.0.0
Opaque Type: 1
Opaque ID: 0
Advertising Router: 24.8.8.8
LS Seq Number: 80000004
Checksum: 0xD423
Length: 132
Fragment number : 0
MPLS TE router ID: 24.8.8.8
Link connected to Point-to-Point network
Link ID : 26.2.2.2
Interface Address : 198.1.1.1
Related Commands
ip explicit-paths Enters the subcommand mode for IP explicit paths to create or modify the named path.
Command
Description
To display the statistics for the data export, including the main cache and all other enabled caches, use the show ip flow export command in EXEC mode.
show ip flow exportSyntax Description
This command has no keywords and arguments.
Defaults
No default behavior or values.
Command Modes
EXEC
Command History
11.1CC This command was introduced.
Release
Modification
Usage Guidelines
The following example shows how to use the show ip flow export command:
show ip flow export Flow export is enabled Exporting flows to 203.20.40.1 (9991) Version 5 flow records, peer-as 1136 flows exported in 917 udp datagrams 0 flows exported in 0 udp datagrams 0 flows failed due to lack of export packet 0 export packets were sent up to process level 0 export packets were dropped due to no fib 0 export packets were dropped due to adjacency issues 0 export packets were dropped enqueuing for the RP 0 export packets were dropped due to IPC rate limiting
Related Commands
Configures aggregation cache operational parameters. Leaves aggregation cache mode. Enables aggregation cache configuration mode.
Command
Description
To display the contents of the IP multicast fast-switching cache, use the show ip mcache command in EXEC mode.
show ip mcache [group [source]]
Syntax Description
group (Optional) Displays the fast-switching cache for the single group. The group argument can be either a Class D IP address or a DNS name. source (Optional) If source is also specified, displays a single multicast cache entry. The source argument can be either a unicast IP address or a DNS name.
Command Modes
EXEC
Command History
11.0 This command was introduced.
Release
Modification
Usage Guidelines
Use this command on the RP.
Examples
The following is sample output from the show ip mcache command. This entry shows a specific source (wrn-source 204.62.246.73) sending to the World Radio Network group (224.2.143.24).
show ip mcache wrn wrn-source IP Multicast Fast-Switching Cache (204.62.246.73/32, 224.2.143.24), Fddi0, Last used: 00:00:00 Ethernet0 MAC Header: 01005E028F1800000C1883D30800 Ethernet1 MAC Header: 01005E028F1800000C1883D60800 Ethernet2 MAC Header: 01005E028F1800000C1883D40800 Ethernet3 MAC Header: 01005E028F1800000C1883D70800
Table 28 describes the significant fields in the display.
| Field | Description |
|---|---|
204.62.246.73 | Source address. |
224.2.143.24 | Destination address. |
Fddi0 | Incoming or expected interface on which the packet should be received. |
Last used: | Latest time the entry was accessed for a packet that was successfully fast- switched.
|
Ethernet0 MAC Header: | Outgoing interface list and respective MAC header that is used when rewriting the packet for output. If the interface is a tunnel, the MAC header will show the real next hop MAC header and then, in parentheses, the real interface name. |
The following is sample output from the show ip mcache command when MDS is in effect.
show ip mcache IP Multicast Fast-Switching Cache (*, 224.2.170.73), Fddi3/0/0, Last used: mds Tunnel3 MAC Header: 5000602F9C150000603E473F60AAAA030000000800 (Fddi3/0/0) Tunnel0 MAC Header: 5000602F9C150000603E473F60AAAA030000000800 (Fddi3/0/0) Tunnel1 MAC Header: 5000602F9C150000603E473F60AAAA030000000800 (Fddi3/0/0)
On a line card, to display the MFIB table and forwarding information for multicast distributed switching (MDS), use the show ip mds forwarding command in EXEC mode.
show ip mds forwarding [group-address] [source-address]
Syntax Description
group-address (Optional) Address of the IP multicast group for which to display the MFIB table. source-address (Optional) Address of the source of IP multicast packets for which to display the MFIB table.
Command Modes
EXEC
Command History
11.2(11)GS This command was introduced.
Release
Modification
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 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:
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 29 describes the significant fields in the display.
| Field | Description |
|---|---|
(128.97.62.86, 224.2.170.73) [31]) | Source and group addresses. Number in [ ] is the hash bucket for the route. |
Incoming interface: | Expected interface for a multicast packet from the source. If the packet is not received on this interface, it is discarded. |
Pkts | Total number of packets switched by that entry. |
last used: | Time when this MFIB entry was used to switch a packet. |
Kbps: | Kilobits per second of the switched traffic. |
Outgoing interface list: | Interfaces through which packets will be forwarded. |
To display the status of multicast distributed switching (MDS) interfaces, use the show ip mds interface command in EXEC mode.
show ip mds interfaceSyntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
11.2(11)GS This command was introduced.
Release
Modification
Usage Guidelines
Use this command on the RP.
Examples
The following is sample output from the show ip mds interface command:
show ip mds interface Ethernet1/0/0 is up, line protocol is up Ethernet1/0/1 is up, line protocol is up Fddi3/0/0 is up, line protocol is up FastEthernet3/1/0 is up, line protocol is up
Table 30 describes the fields in the display.
| Field | Description |
|---|---|
Ethernet1/0/0 is up | Status of interface. |
line protocol is up | Status of line protocol. |
To display switching statistics or line card statistics for multicast distributed switching (MDS), use the show ip mds stats command in EXEC mode.
show ip mds stats [switching | linecard]
Syntax Description
switching (Optional) Displays switching statistics. linecard (Optional) Displays line card statistics.
Command Modes
EXEC
Command History
11.2(11)GS This command was introduced.
Release
Modification
Usage Guidelines
Use this command on the RP.
Examples
The following is sample output from the show ip mds stats command used with the switching keyword:
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 31 describes the fields in the display.
| Field | Description |
|---|---|
Slot | Slot number for the line card. |
Total | Total number of packets received. |
Switched | Total number of packets switched. |
Drops | Total number of packets dropped. |
RPF | Total number of packets that failed RPF lookup. |
Punts | Total number of packets sent to the RP because the line card could not switch them. |
Failures (switch/clone) | Times that the RP tried to switch but failed because of lack of resources or clone for RSP only; failed to get a packet clone. |
The following is sample output from the show ip mds stats command with the linecard keyword:
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
Table 32 describes the fields in the display.
| Field | Description |
|---|---|
Slot | VIP card slot. |
Status |
|
IPC (seq/max) | Interprocess communication of packets sent from the RP to the VIP. |
Q (high/route) |
|
Reloads | Number of times the image on the VIP was reloaded. |
To display a summary of the MFIB table for multicast distributed switching (MDS), use the show ip mds summary command in EXEC mode.
show ip mds summarySyntax Description
This command has no arguments or keywords.
Command Modes
EXEC
Command History
11.2(11)GS This command was introduced.
Release
Modification
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 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:
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 33 describes the fields in the display.
| Field | Description |
|---|---|
(128.97.62.86, 224.2.170.73) [31] | Source and group addresses. Number in [ ] is the hash bucket for the route. |
Incoming interface | Expected interface for a multicast packet from the source. If the packet is not received on this interface, it is discarded. |
Pkts | Total number of packets switched by that entry. |
last used | Time when this MFIB entry was used to switch a packet. |
Kbps | Kilobits per second of the switched traffic. |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Sun Mar 19 13:34:35 PST 2000
Copyright 1989 - 2000©Cisco Systems Inc.