This section describes general troubleshooting guidelines for the Catalyst 8540 CSR and Catalyst 8510 CSR.
Verifying Hardware and Software Versions
Display the hardware and software versions to ensure that they are the most recent. Very old hardware and software versions (two or three versions back) can have problems that have been fixed in more recent versions. Use the following EXEC commands to display the version information:
Command
Purpose
show version
Displays the software version information.
show hardware [detail]
Displays detailed hardware information including revision level and version.
show functional-image slot slot
Displays functional image information.
Follow these steps to verify the hardware and software versions:
Step 1 First display the system software version:
Router# show version
Cisco Internetwork Operating System Software
IOS (tm) L3 Switch/Router Software (C8540CSR-IN-M), Version 12.0(10)W5(18c) RE
Step 4 Use the show functional-image command to display detailed information about the functional images for the route processors, switch processors, and Fast Ethernet and Gigabit Ethernet interface modules for the Catalyst 8540 CSR. The following example shows how to display the functional image for the route processor in slot 4:
Check the Functional Version and #HardwareRequired fields to determine the FPGA version and the hardware version required for the FPGA. Compare this with the hardware version with the show hardware command output displayed in Step 2 and Step 3. If the FPGA version does not support the hardware version, download a new FPGA image, upgrade the hardware, or both.
If the functional image is not the most recent, you can download the functional image to the switch router from CCO. Use the reprogram command to update the functional image to the processor or interface module. The following example shows how to reprogram the route processor in slot 4 with the functional image fi-c8540-rp.A.4-8.bin from the Flash PC card in slot 0:
Router# reprogram slot0:fi-c8540-rp.A.4-8.bin 4
Note You can only issue the reprogram command from the console session prompt.
You can find the functional images and release notes on CCO at the following URL:
Note After you have determined the hardware and software versions on the switch router,
research the release notes and DDTS database for symptoms resembling those you are
observing. Often, the problem has already been discovered and a workaround provided.
Interface Troubleshooting
Follow these steps to troubleshoot physical interface problems:
Step 1 Use the show interfaces command to display interface status and configuration information:
Router# show interfaces fastethernet 2/0/1
FastEthernet2/0/1 is up, line protocol is up
Hardware is epif_port, address is 0090.2141.bc28 (bia 0090.2141.bc28)
0 output buffer failures, 0 output buffers swapped out
Step 2 Check the FastEthernet or GigabitEthernet field to see whether the interface is up.
If down, check for the following:
Disconnected or faulty cabling—Check cables.
Hardware failure—Swap hardware.
If administratively down, the interface has been administratively taken down. Use the no shutdown interface configuration command to reenable the interface.
Step 3 Check the line protocol field to see whether the status is up.
If down, check for the following:
The line protocol software processes might have determined that the line is unusable. Try swapping the cable.
The local or remote interface might be misconfigured. Check the interface configuration.
The hardware might have failed. Try swapping the interface module.
For more information on interface configuration, refer to the Layer 3 Software Feature and Configuration Guide.
Follow these steps to troubleshoot interface and controller problems:
Step 1 Use the show interfaces and show controllers command to display configuration and status information for the interface.
Figure 1 shows the difference between the show controllers command output for releases up to and including 12.0(5)W5(13) and the releases after 12.0(5)W5(13).
Figure 1 show interfaces and show controllers Command Output
Step 2 Check the interface status line in the show interfaces command display. This line indicates that the interfaces are configured as automatic duplex, automatic speed, and 100BaseTX.
Step 3 Check the Chip Status Register field contents in the show controllers command output to verify that the link is up and the link is configured the same as the output from the show interfaces command.
General Troubleshooting Commands
In all cases when troubleshooting a problem, use the following commands:
Command
Purpose
show tech-support
Displays comprehensive system information for technical support.
show switch module
Displays switch module information. This command replaces show mmc port.
show epc lsipc detail
Displays detailed LS IPC message information.
show epc queuing
Displays queuing statistics. Enter this command more than once and watch the values change.
show epc status
Displays the status of the ports.
show switch fabric
Displays switch fabric information. Enter this command more than once and watch the values change.
show epc counters
Displays statistical information for the ports.
show hardware detail
Displays detailed information for the switch router hardware.
Troubleshooting Cell Transmission Problems
You might see problems of cell transmission through the switch router detected by a build-up of cells on an internal virtual channel (VC). There are several reasons why these problems occur:
Switch card failures
Port stuck problems
Troubleshooting Switch Card Failures
A switch processor can have a cell stuck problem in internal virtual channels (VCs) resulting from timing issues in the hardware and software on the Catalyst 8540 CSR. You might see more than one port affected on one or more interface modules. Online insertion and removal (OIR) of the interface module will temporarily fix the problem.
Follow these steps to troubleshoot cell stuck problems:
Step 1 Under the lightest possible traffic, issue the show switch fabric command on the switch router to clear the counters.
Router# show switch fabric
<Information deleted>
MMC Switch Fabric (idb=0x61DD8F0C)
Key: Rej. Cells - # cells rejected due to lack of resources
or policing (16-bit)
Inv. Cells - # good cells that came in on a non-existent conn.
Look at the values in the Rejected Cells and Invalid Cells fields. Note that the Rejected Cells and Invalid Cells fields counters are increasing. This means there might be a problem in the switch fabric.
Step 3 Verify that no ports are involved by issuing the show epc queuing and show epc status commands.
Router# show epc queuing
INT X-INT VCI QCNT VCI QCNT
Router# show epc status
Status of GigabitEthernet0/0/0: OK
Status of GigabitEthernet0/0/1: OK
Status of GigabitEthernet1/0/0: OK
Status of GigabitEthernet1/0/1: OK
Status of GigabitEthernet2/0/0: OK
Status of GigabitEthernet2/0/1: OK
Status of GigabitEthernet3/0/0: OK
Status of GigabitEthernet3/0/1: OK
Status of GigabitEthernet9/0/0: OK
Status of GigabitEthernet9/0/1: OK
Status of GigabitEthernet10/0/0: OK
Status of GigabitEthernet10/0/1: OK
Status of GigabitEthernet11/0/0: OK
Status of GigabitEthernet11/0/1: OK
Status of GigabitEthernet12/0/0: OK
Status of GigabitEthernet12/0/1: OK
If the queues are empty and all of the ports show OK status, then the problem is not the ports, but with the switch processor.
You can resolve this problem by upgrading your system software image to release version 12.0(4a)WX5(11) or later, replacing the switch processors, or both.
Troubleshooting Port Stuck Problems
If one or more Fast Ethernet or Gigabit Ethernet ports are not transmitting cells, then the failure might be a port stuck problem.
Follow these steps to troubleshoot a port stuck problem:
Step 1 Use the show switch fabric command to display the activity in the switch processors.
Note Be sure to use the show switch fabric command during the lightest possible traffic
conditions because actual traffic might be using the memory buffers.
Router# show switch fabric
<Information deleted>
MMC Switch Fabric (idb=0x60CF1788)
Key: Rej. Cells - # cells rejected due to lack of resources
or policing (16-bit)
Inv. Cells - # good cells that came in on a non-existent conn.
Look at the values in the Rejected Cells and Invalid Cells fields. Note that the Rejected Cells and Invalid Cells fields counters are increasing. This means there might be a problem in the switch fabric.
Step 3 Use the show epc queuing and show epc status command to display interface queues and status.
Router# show epc queuing
INT X-INT VCI QCNT VCI QCNT
Gi0/0/0 Gi1/0/0 67 640 62 0
Gi0/0/0 Gi1/0/0 71 546 66 0
Gi0/0/1 Gi1/0/0 67 135 147 0
Gi0/0/1 Gi1/0/0 69 18 149 0
Gi1/0/0 SRP 35 0 342 1791
Gi1/0/0 Gi0/0/0 62 0 67 640
Gi1/0/0 Gi0/0/0 66 0 71 546
Gi1/0/0 Gi0/0/1 147 0 67 135
Gi1/0/0 Gi0/0/1 149 0 69 18
Gi1/0/0 Gi1/0/1 152 0 67 639
Gi1/0/0 Gi12/0/0 577 0 67 640
Gi1/0/0 Gi12/0/0 578 0 68 16
Gi1/0/0 Gi12/0/0 579 0 69 38
Gi1/0/0 Gi12/0/0 580 0 70 16
Gi1/0/0 Gi12/0/1 662 0 67 640
Gi1/0/0 Gi12/0/1 666 0 71 640
Gi1/0/1 Gi1/0/0 67 639 152 0
Gi12/0/0 Gi1/0/0 67 640 577 0
Gi12/0/0 Gi1/0/0 68 16 578 0
Gi12/0/0 Gi1/0/0 69 38 579 0
Gi12/0/0 Gi1/0/0 70 16 580 0
Gi12/0/1 Gi1/0/0 67 640 662 0
Gi12/0/1 Gi1/0/0 71 640 666 0
Router# show epc status
Status of GigabitEthernet0/0/0: OK
Status of GigabitEthernet0/0/1: OK
Status of GigabitEthernet1/0/0: not OK
Status of GigabitEthernet1/0/1: OK
Status of GigabitEthernet2/0/0: OK
Status of GigabitEthernet2/0/1: OK
Status of GigabitEthernet12/0/0: OK
Status of GigabitEthernet12/0/1: OK
The show epc queueing command output shows that no activity is going across interface GigabitEthernet 1/0/0. This is verified in the show epc status command output, which indicates that interface GigabitEthernet 1/0/0 is "not OK." You have confirmed that the problem is a stuck port.
Note You might see a few cells in the QCNT column in the show epc queueing
command output. That is normal. Issue the command several times to verify that
traffic is moving through the queues. If the QCNT column values are incrementing
and incrementing for the VCIs belonging to a particular interface, the problem is
probably a stuck port.
You can remedy the port stuck condition by removing and reinserting the interface module. A shutdown/noshutdown command sequence on the problem interface will not resolve the problem.
Configuring Automatic Port Stuck Failure Recovery
To recover from a port stuck failure, perform the following tasks:
Detect port stuck failure.
Isolate the cell stuck failure.
If it is only a port stuck failure, isolate the port from the other functional ports.
Depending on the configuration option for reset of the stuck port, one of the the following actions will occur:
Default behavior
If the switch router is not configured to reset the port upon detecting a port stuck failure, the port will be isolated, thus preserving the integrity of the switch router.
Nondefault behavior
If the switch router is configured to reset the port upon detection of a stuck port failure, the switch router will isolate the port from the rest of the functioning ports, and reset the port. This might affect other ports on the interface module.
Note If you configure the switch router as described in the nondefault behavior after a port stuck
failure is detected, the switch router will not reset the Ethernet ports. The Ethernet
interface must be configured to reset before the port stuck failure occurs. Also, the default
behavior is to not reset the port if a port stuck failure is detected. If the Ethernet interface
is not configured to reset when a port stuck failure is detected, schedule the switch router
for downtime to remove and reinsert the module.
To configure the switch route to automatically recover from port stuck failures, use the following interface configuration commands:
Command
Purpose
Router(config-if)# epc port-reload
Enables automatic resetting and reloading of the interface module microcode after detecting a port stuck failure.
Router(config-if)# epc portstuck-wait seconds
Specifies the delay before signalling a port stuck failure (from the time the failure is detected). The default is 180 seconds. The range for seconds is 0 to 200. A value of 0 seconds causes a port stuck failure to not be detected.
Caution Due to the nature of the microcode architecture, do not configure low values for the wait time in the epc portstuck-wait command. The default value of 180 seconds has been carefully chosen, allowing for the hello intervals of protocols such as HSRP, EIGRP, and OSPF. Configuring a low value might lead to incorrectly detecting temporary port stuck failures as real port stuck failures and will likely cause temporary connectivity loss. It is highly recommended to keep this value to at least 60 seconds. Lower values are provided to allow for some specific network designs when you can absolutely rule out temporary port stuck failure scenarios, and also as a debugging aid. For most networks, 180 seconds will work very well.
Connectivity Troubleshooting Commands
To troubleshoot a connectivity problem between a port and another port or end-station, use the following commands:
Command
Purpose
show interfaces {fastethernet | gigabitethernet} slot/subslot/port
Displays interface configuration, status, and statistics.
show controllers {fastethernet | gigabitethernet} slot/subslot/port
Displays controller status for the specified interface.
show epc if-entry interface {fastethernet | gigabitethernet} slot/subslot/portall
Displays all interface entry information for the specific interface.
show epc ip-prefix interface {fastethernet | gigabitethernet} slot/subslot/port all-entries
Displays all ip prefix entries for the specified interface.
show epc ip-address interface {fastethernet | gigabitethernet} slot/subslot/portall-entries
Displays all adjacent IP addresses for the specified interface.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portipucast detail
Displays IP unicast patricia tree for the specified interface.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail
Displays the MAC patricia tree for the specified interface.
Troubleshooting IP Routing
The Catalyst 8540 CSR and Catalyst 8510 CSR use Cisco Express Forwarding (CEF). Much of the internal troubleshooting determines whether the central CEF information in the route processor is consistent with the distributed information in the content addressable memory (CAM) on the interfaces.
Follow these steps to troubleshoot IP routing problems:
Step 1 Verify the status of the IP routing table using the show ip route, show ip cef, and show adjacency detail commands as shown in Figure 2.
Figure 2 Displaying Router Table Information
Verify in the show ip route command output that all the routes needed are in the routing table. If routes are missing, go through normal IP routing troubleshooting for the routing protocol in use.
Verify in the show ip cef command output that the next hop or outgoing interface is valid.
Verify in the show ip adjacency detail command output that the MAC rewrite information is correct for the interface. This information is built from the ARP table and resides on the route processor. The first 12 hexadecimal digits (or 6 bytes) represent the destination MAC address (DA), the next 12 hexadecimal digits (or 6 bytes), represent the source MAC address (SA), and the last 4 hexadecimal digits (or 2 bytes) represent the protocol field.
Step 2 Use the show epc ip-prefix, show epc ip-address, and show epc ifmapping commands to verify that the hardware is correct. Figure 3 shows output from these commands.
Figure 3 Hardware Verification
The IP address in the show epc ip-prefix command output for the ingress interface should match the next hop IP address in the show epc cef command output in Figure 2. To remove inconsistencies between the CEF table and the IP prefix table, use the clear ip route command to rebuild these tables. You can either clear a specific route or use an asterisk (*) to clear all routes.
Caution Use the clear ip route command carefully. It causes a temporary increase in switch router activity which can lead to traffic disruptions.
The MAC address shown in the show ip ip-address command output should match the destination MAC address in the show adjacency command output in Figure 2.
Using the interface number from the show epc ip-address command output, confirm the interface mapping with the show epc ifmapping command.
Step 3 Verify the CAM entry information using the show epc patricia ipucast and show epc cam commands.Figure 4 show the CAM entry information for the example network.
Figure 4 CAM Contents Verification
Use the show epc patricia ipucast detail command to display the CAM entry location for the interface. Verify that the IF number and MAC address shown in Figure 2 match the output shown in Figure 3.
Use the show epc cam command to display the CAM location which should match the destination MAC address. Figure 5 describes the format of the CAM entry contents.
Figure 5 CAM Entry Format
The DA MAC address in this entry is 0x00902141 and the interface number is 4.
Step 4 Use the show epc if-entry command on the ingress interface to confirm that the source address in the egress interface entry matches the source address shown by the show adjacency detail command output in Figure 2. Figure 6 shows the show epc if-entry command output.
Figure 6 Ingress Interface Entry
Step 5 To remove inconsistencies between the adjacency table and the IP address table, use the clear arp or clear adjacencies command to rebuild these tables.
Caution Use the clear arp and clear adjacencies commands carefully. They cause a temporary increase in switch router activity which can lead to traffic disruptions.
IP Routing Troubleshooting Commands
To troubleshoot an IP routing problem, use the following commands:
Command
Purpose
show ip route
Displays routing table entries.
show ip cef
Displays Cisco Express Forwarding information.
show adjacency detail
Displays IP address table information for adjacent nodes.
show ip route summary
Displays summary information about the routing table entries.
show ip protocols
Displays IP routing protocol parameters and statistics.
show ip interface brief
Displays IP interface status and configuration information.
show ip traffic
Displays IP protocol traffic statistics.
show interfaces {fastethernet | gigabitethernet} slot/subslot/port (on the ingress interface)
Displays interface configuration, status, and statistics on the ingress interface.
show interfaces {fastethernet | gigabitethernet} slot/subslot/port (on the egress interface)
Displays interface configuration, status, and statistics on the egress interface.
show epc freecam interface slot/subslot/port
Displays information about free space in the content addressable memory.
show epc if-entry interface {fastethernet | gigabitethernet} slot/subslot/portall
Displays all interface entry information for the specific interface.
Displays interface entry information for the specific interface.
show epc ip-prefix interface {fastethernet | gigabitethernet} slot/subslot/port all-entries (on the ingress interface)
Displays the IP network entries for the ingress interface.
show epc ip-prefix interface {fastethernet | gigabitethernet} slot/subslot/port all-entries (on the egress interface)
Displays the IP network entries for the egress interface.
show epc ip-address interface {fastethernet | gigabitethernet} slot/subslot/portall-entries (on the ingress interface)
Displays the IP addresses of adjacent interfaces.
show epc ip-address interface {fastethernet | gigabitethernet} slot/subslot/portall-entries (on the egress interface)
Displays the IP addresses of adjacent interfaces.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portipucast detail (on the ingress interface)
Displays the patricia tree entries in the CAM.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portipucast detail (on the egress interface)
Displays the patricia tree entries in the CAM.
If a BVI is involved in the problem, use the following commands:
Command
Purpose
show bridge group
Displays bridge group configuration and status information.
show interfacesirb
Displays integrated routing and bridging configuration and status for all interfaces.
show smf
Displays software MAC address information.
show interfacesbvi number
Displays BVI interface information.
show bridge numbergroup
Displays the status of the member ports in the specified bridge group.
show bridge number
Displays the status of the bridge group.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail
Displays the MAC patricia tree for the physical interface in the bridge group with a problem.
Troubleshooting IPX Routing
IPX troubleshooting is similar to IP troubleshooting. The key is to check the consistency between the route processor table information and CAM tables on the ports.
Step 1 First verify that the system software is functioning properly. The show ipx route and show ipx servers commands display information in the route processor memory. Figure 7 provides example displays of IPX information in the route processor memory.
Figure 7 Route Processor IPX Information
The show ipc route command displays the IPX routes through the switch router. In this example, the routes are 8511 and 8512, the SAP server number is 8541, the egress interface is GigabitEthernet 11/0/1, and the node address is 8510.0010.7bfa.5f1f.
Note The SAP entries reside in route processor memory, not in the port CAM tables.
Step 2 Now use the show epc ipx-prefix, show epc ipx-node, and show epc ipx cam commands to display the CAM tables for the ingress interface in question. The route lookups and packet rewrites are performed by the ingress interface. The example shown in Figure 8 uses the route numbers and MAC addresses highlighted in Figure 7.
Figure 8 Ingress Interface CAM Table Information
The show epc ipx-prefix command output for route 8512 to the egress interface shows the address of the CAM entry. The address is hexadecimal 101B, which you can convert to decimal 4123.
The show epc node command output for node address 8510.0010.7bfa.5f1f confirms the information in the show epc ipx-prefix command output.
The show epc cam command output for the CAM entry address displayed in the show ipx route command output confirms the destination MAC address.
Step 3 Figure 9 shows the format of the CAM entry. The last two bytes of the entry contain the interface number.
Figure 9 CAM Entry Format
Use the show epc ifmapping command output to verify the interface number for the egress interface.
Step 4 You can obtain detailed information about the IPX prefix and node for both directly connected and remote networks using the show epc patricia ipxdetail command (see Figure 10).
Figure 10 IPX Prefix and Node Information
\
If you want to examine information for a directly connected network, look at the entries that contain the status CONNECTED. In the example in Figure 10, look at entry 2#. Verify that the Prefix field contents matches the egress route number from the show ipx route command output in Figure 7. Also note that the second node entry matches the show epc cam command output shown in Figure 8.
For a remote connection, the word "dirty" is a normal entry type. In the example in Figure 10, entry 3# and entry 4# are remote entries. NHOP1 is a pointer to the adjacency entry for the next hop to get to networks nodes 8512 and 8511. These are not the MAC addresses of the next hop. If the entry says valid, it means that the entry is usable.
Step 5 Use the show epc if-entry command on the ingress interface to display information about the egress interface. In the example shown in Figure 11, the ingress interface is GigabitEthernet 11/0/1 and the egress interface is GigabitEthernet 10/0/0.
Figure 11 Interface Entry Information
IPX Routing Troubleshooting Commands
To troubleshoot an IPX problem, use the following commands:
Command
Purpose
show interfaces {fastethernet | gigabitethernet} slot/subslot/port (on the ingress interface)
Displays interface configuration, status, and statistics on the ingress interface.
show interfaces {fastethernet | gigabitethernet} slot/subslot/port (on the egress interface)
Displays interface configuration, status, and statistics on the ingress interface.
show ipx route
Displays the IPX routing table.
show ipx servers
Displays SAP server status information.
Note Use this command only if you have a server or SAP reachability problem.
show ipx interface brief
Displays IPX interface configuration and status.
show epc freecam interface slot/subslot/port
Displays information about free space in the content addressable memory.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portipx detail (on the ingress interface)
Displays the IPX patricia tree for the ingress interface.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portipx detail (on the egress interface)
Displays the IPX patricia tree for the egress interface.
show controllers {fastethernet | gigabitethernet} slot/subslot/portipx-prefix all-entries (on the ingress interface)
Displays all the IPX prefixes for the ingress interface.
show controllers {fastethernet | gigabitethernet} slot/subslot/portipx-prefix all-entries (on the egress interface)
Displays all the IPX prefixes for the egress interface.
show controllers {fastethernet | gigabitethernet} slot/subslot/portipx-prefix fail-entries (on the ingress interface)
Displays inconsistent IPX prefixes for the ingress interface.
show controllers {fastethernet | gigabitethernet} slot/subslot/portipx-prefix fail-entries (on the egress interface)
Displays inconsistent IPX prefixes for the egress interface.
If a BVI is involved, use the following commands:
Command
Purpose
show bridge group
Displays bridge group configuration and status information.
show interfacesirb
Displays integrated routing and bridging configuration and status for all interfaces.
show smf
Displays software MAC address information.
show interfacesbvi number
Displays BVI interface information.
show bridge numbergroup
Displays the status of the member ports in the specified bridge group.
show bridge number
Displays the status of the bridge group.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail
Displays the MAC patricia tree for the specified interface physical interface in the bridge group BVI with a problem.
Troubleshooting IP Multicast
IP multicast troubleshooting is similar to IP troubleshooting. The key is to check the consistency between the route processor table information and CAM tables on the interfaces.
Follow these steps to troubleshoot IP multicast problems:
Step 1 Use the show epc if-entry command to display information about VC status:
J1# show epc if-entry interface fastethernet 1/0/15 entry gigabitethernet 0/0/0
IF Entry for GigabitEthernet0/0/0 on FastEthernet1/0/15
Mac(hex) - 00:90:21:41:BC:07
isMyInteface : False isSubInterface : False
Status Up Broute VC - 67 Bcast VC - 0
Netmask: 24
FEC disabled
Trunking Disabled
State : Not-Applicable/Listening/Blocking
Bridge-Group disabled
IP routing on bridging off
IPX routing off bridging off
Appletalk routing off
In Encapsulation:
ICMP Redirect enabled Unreachable enabled
IP Multicast enabled: ttl-threshold: 5
Check the Status field to ensure that the route is up.
Check the IP routing field to ensure that it is on.
Check the IP Multicast field to ensure that it is enabled.
If you have any problems with these fields, check the interface configuration. For information about configuring interfaces, refer to the Layer 3 Software Feature and Configuration Guide.
Step 2 Display the IP multicast entries contained in the CPU using the show ip mroute command.
c8540-r6-1# show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, C - Connected, L - Local, P - Pruned
R - RP-bit set, F - Register flag, T - SPT-bit set, J - Join SPT
X - Proxy Join Timer Running
Outgoing Interface Flags: H - Hardware switched
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 224.2.236.92), 00:58:34/00:03:09, RP 10.6.11.10, flags: S
Step 3 Use the address and interface information from the show ip mroute command output in Step 2 to display the CAM information with the show epc ipmcast command.
c8540-r6-1# show epc ipmcast 224.2.236.92 10.64.1.19 detail interface pos 12/0/0
Multicast group 224.2.236.92 and source 10.64.1.19 has a CAM entry on interface POS 12/0/0.
The Send_to_cpu flag is appropriately not set for a specified source (S, G) within a group indicating that the traffic is switched in the data plane by the interface. The Send_to_cpu flag is set for table entries for all sources within a group (*, G) to maintain the state for this entry on the control plane.
Step 4 Display the status of the VC for the incoming interface displayed in the show ip mroute command output in Step 2.
c8540-r6-1# show atm-internal vc cast-type p2mp interface pos 12/0/0
Interface VPI VCI Type X-Interface X-VPI X-VCI Encap Status
<Information deleted>
POS12/0/0 0 801 PVC Fa2/0/15 0 762 UP
Check that the VC identifier in the VPI and VCI columns matches for the corresponding interface listed in the show epc ipmcast command output shown in Step 3.
Check that the VC identifier listed in X-VPI and X-VCI columns matches the entry for the corresponding interface listed in the show epc ipmcast command output shown in Step 3.
If there are inconsistencies or non-zero invalid entries in the tables, you can use the clear ip mroute * command to rebuild the tables.
Caution Use the clear ip mroute command carefully. It causes a temporary increase in switch router activity, which can lead to traffic disruptions.
IP Multicast Troubleshooting Commands
To troubleshoot an IP multicast problem, use the following commands:
Command
Purpose
show interfaces {fastethernet | gigabitethernet} slot/subslot/port (on the ingress interface)
Displays interface configuration, status, and statistics on the ingress interface.
show interfaces {fastethernet | gigabitethernet} slot/subslot/port (on the egress interface)
Displays interface configuration, status, and statistics on the egress interface.
show ip mroute
Displays the IP multicast routing table.
show epc if-entry interface {fastethernet | gigabitethernet} slot/subslot/portall (on the ingress interface)
Displays all interface entry information for the ingress interface.
show epc if-entry interface {fastethernet | gigabitethernet} slot/subslot/portentry {fastethernet | gigabitethernet}slot/subslot/port (on the egress interface)
Displays interface entry information for the egress interface.
show epc ipmcast groupaddr interface {fastethernet | gigabitethernet}[cam {0 | 1}] (on the ingress interface)
Displays the IP multicast routing table information stored on the ingress interface for a particular group IP address.
show epc ipmcast groupaddr interface {fastethernet | gigabitethernet}[cam {0 | 1}] (on the egress interface)
Displays the IP multicast routing table information stored on the egress interface for a particular group IP address.
show epc ipmcast groupaddr all interface {fastethernet | gigabitethernet} slot/subslot/port (on the ingress interface)
Displays the IP multicast routing table information stored on the ingress interface for a particular group IP address.
show epc ipmcast groupaddr all interface {fastethernet | gigabitethernet} slot/subslot/port (on the egress interface)
Displays all IP multicast routing table information stored on the egress interface for a particular group IP address.
show epc ipmcast groupaddr detail interface {fastethernet | gigabitethernet} (on the ingress interface)
Displays detailed IP multicast routing table information stored on the ingress interface for a particular group and source IP address.
show epc ipmcast groupaddr detail interface {fastethernet | gigabitethernet} (on the egress interface)
Displays detailed IP multicast routing table information stored on the egress interface for a particular group and source IP address.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portipmcast detail (on the ingress interface)
Displays detailed IP multicast patricia tree information for the ingress interface.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portipmcast detail (on the egress interface)
Displays detailed IP multicast patricia tree information for the egress interface.
Troubleshooting Layer 2 Switching
The switch router might be configured with Layer 2 ports using bridge groups.
To troubleshoot Layer 2 switching, perform the following steps:
Step 1 Use the show spanning-tree, show bridge, and show epc mac commands to display bridge group information as shown in Figure 12.
Figure 12 Bridge Group Information
Find the entries in the show spanning-tree command output for the interfaces in question.
Find the entries for those interfaces in the show bridge command output.
Use that information to display the MAC address information in the interface CAM using the show epc mac command. Verify that the information displayed is consistent.
Step 2 Use the show epc patricia command to display Layer 2 information in the CAM for each interface.
Figure 13 Layer 2 CAM Information
Verify that the information from the show epc patricia command output in Figure 13 is consistent with the command outputs in Figure 12.
If there are inconsistencies or non-zero invalid entries in the tables, you can use the clear bridge command to rebuild the tables.
Caution Use the clear bridge command carefully. It causes a temporary increase in switch router activity which can lead to traffic disruptions.
Step 3 Display the interface table entry in the CAM using the show epc if-entry command. Figure 14 shows the CAM interface table entry for the example network interface.
Figure 14 CAM Interface Information
Check the Status field to ensure that the interface is Up.
Check the IP routing and IPX routing fields to ensure that they are off and that bridging is on.
Check the AppleTalk routing field to ensure that it is off.
Refer to the Layer 3 Software Feature and Configuration Guide if any changes are necessary to the configuration of the interface.
Layer 2 Bridging Troubleshooting Commands
To troubleshoot a Layer 2 bridging problem, use the following commands:
Command
Purpose
show bridge group
Displays bridge group configuration and status information.
show bridge
Displays the status of all the bridge groups on the switch router.
show spanning-tree number
Displays the spanning tree topology for a bridge group.
show interfacesbvi number
Displays BVI interface configuration, status, and statistics. Use this command when the BVI is part of a bridge group.
show interfaces {fastethernet | gigabitethernet} slot/subslot/port (on the ingress interface)
Displays interface configuration, status, and statistics on the ingress interface.
show interfaces {fastethernet | gigabitethernet} slot/subslot/port (on the egress interface)
Displays interface configuration, status, and statistics on the egress interface.
show switch bridge-table entry
Displays bridge table entry summary.
show epc freecam interface {fastethernet | gigabitethernet} slot/subslot/port
Displays information about free space in the content addressable memory.
show epc if-entry interface {fastethernet | gigabitethernet} slot/subslot/portall
Displays all interface entry information for the specific interface.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail (on the ingress interface)
Displays the MAC patricia tree for the ingress interface.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail (on the egress interface)
Displays the MAC patricia tree for the egress interface.
If a BVI is involved, use the following commands:
Command
Purpose
show bridge group
Displays bridge group configuration and status information.
show interfacesirb
Displays integrated routing and bridging configuration and status for all interfaces.
show smf
Displays software MAC address information.
show interfacesbvi number
Displays BVI interface information.
show bridge numbergroup
Displays the status of the member ports in the specified bridge group.
show bridge number
Displays the status of the bridge group.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail
Displays the MAC patricia tree for the specified interface physical interface in the bridge group with a problem.
Troubleshooting Commands
The switch router software provides several show commands that can be used for troubleshooting. This section contains lists of show commands grouped by the features they troubleshoot.
Troubleshooting Trunk Port Problems
To troubleshoot trunk port problems, use the following command:
Command
Purpose
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portvlan vlan detail
Displays the patricia tree information for the specified VLAN (for each VLAN on trunk).
Troubleshooting AppleTalk Problems
To troubleshoot an AppleTalk problem, use the following commands:
Command
Purpose
show appletalk route
Displays the AppleTalk routing table entries.
show appletalk interface brief
Displays AppleTalk configuration and status information for all interfaces.
show appletalk zone
Displays AppleTalk zone table information.
show appletalk interface {fastethernet | gigabitethernet} slot/subslot/port (on the ingress interface)
Displays AppleTalk configuration and status information for the ingress interface.
show appletalk interface {fastethernet | gigabitethernet} slot/subslot/port (on the egress interface)
Displays AppleTalk configuration and status information for the egress interface.
show epc if-entry interface {fastethernet | gigabitethernet} slot/subslot/portall (on the ingress interface)
Displays all interface entry information for the ingress interface.
show epc if-entry interface {fastethernet | gigabitethernet} slot/subslot/portentry {fastethernet | gigabitethernet}slot/subslot/port (on the egress interface)
Displays detailed interface entry information for the egress interface.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail (on the ingress interface)
Displays the MAC patricia tree for the ingress interface.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail (on the egress interface)
Displays the MAC patricia tree for the egress interface.
show smf
Displays software MAC address information.
If a BVI is involved, use the following commands:
Command
Purpose
show bridge group
Displays bridge group configuration and status.
show interfacesirb
Displays integrated routing and bridging configuration and status for all interfaces.
show smf
Displays software MAC address information.
show interfacesbvi number
Displays BVI interface information.
show bridge numbergroup
Displays the status of the member ports in the specified bridge group.
show bridge number
Displays the status of the bridge group.
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portmac detail
Displays the MAC patricia tree for the problematic physical interface in the bridge group.
Converted show epc Commands
In the 12.0(10)W5(18) system software release, some of the show commands commonly used for troubleshooting have been converted from show epc commands to show controllers commands. The show controllers commands are described in the next section. Table 1 provides the mapping of the command syntax conversion.
Table 1 show Command Conversion
Release 12.0(5)W5(13d) and Earlier show Command Syntax
Release 12.0(10)W5(18) show Command Syntax
show epc ip-prefix interface {fastethernet | gigabitethernet} slot/subslot/port all-entries
show controllers {fastethernet | gigabitethernet} slot/subslot/portip-prefix all-entries
show epc ip-prefix interface {fastethernet | gigabitethernet} slot/subslot/port
show controllers {fastethernet | gigabitethernet} slot/subslot/port ip-prefix
show epc ip-address interface {fastethernet | gigabitethernet} slot/subslot/portall-entries
show controllers {fastethernet | gigabitethernet} slot/subslot/portip-address all-entries
show epc patricia interface {fastethernet | gigabitethernet} slot/subslot/portipucast detail
show controllers {fastethernet | gigabitethernet} slot/subslot/portpatricia ipucast detail
show epc if-entry interface {fastethernet | gigabitethernet} slot/subslot/portall
show controllers {fastethernet | gigabitethernet} slot/subslot/portif-entry all
show controllers {fastethernet | gigabitethernet} slot/subslot/portipmcastgroupaddr [cam {0 | 1}]
show epc ipmcast groupaddr all interface {fastethernet | gigabitethernet}
show controllers {fastethernet | gigabitethernet} slot/subslot/portipmcast groupaddr all
show epc ipmcast groupaddr detail interface {fastethernet | gigabitethernet}
show controllers {fastethernet | gigabitethernet} slot/subslot/portipmcastgroupaddr detail
show epc counters
show controllers c8500 counters
show epc lsipc detail
show controllers c8500 epc detail
show epc queuing
show controllers c8500 queuing
show controllers and show switch Commands
This section contains descriptions of show controllers and show switch commands that are useful for troubleshooting.
show controllers
To display the controller register values, use the show controllers EXEC command.
show controllers interface-type slot/subslot/interface
Syntax Description
interface-type
Specifies an interface type as fastethernet, gigabitethernet, or atm.
slot/subslot/interface
Identifies the interface specified in interface-type.
Command Modes
Privileged EXEC
Usage Guidelines
This command uses IPC to get the values of MAC registers and MII registers. If the interface processor stops responding to IPC, the counter values shown are no longer current.
Examples
The following is sample output from the show controllers command for a Fast Ethernet interface:
Router# show controllers fastethernet 11/0/4
IF Name:FastEthernet11/0/4
Port Status UP
Loopback Reg [3-0]|[7-4]:0x8|0x8
Duplex/Speed Reg [3-0]|[7-4]:0xFFFF|0x0
FPGA Rev :6.8
Slicer registers
SMDR 0x0060 (Tx En, Rx En)
SSTR 0x1000
EVER 0x1704 (Ver C1)
SSMR 0x4000 SIMR 0x0000 MBXW 0x0000 MBXR 0x0000
SPER 0xF000 GMUX VER 0xF000 MARKER 0x0000
MAC registers
CMCR :0x00000443 CMPR :0x140A0E60
MII registers:
Control Register (0x0):0x2000
Status Register (0x1):0x780D (Link Up)
PHY Identification Register 1 (0x2):0x7810
PHY Identification Register 2 (0x3):0x43
Auto Neg. Advertisement Reg (0x4):0x81 (Speed 100,Duplex half)
Auto Neg. Partner Ability Reg (0x5):0x0 (Peer not auto-negotiating)
Chip Status Register (0x14):0x28C8 (Link Up, Half, 100)
Link Status Register [3-0]|[7-4]:0x1|0x0
MAC Receive Counters:
bytes = 130461473
pkt64 = 5204
pkt65to127 = 10532
pkt128to255 = 54499
pkt256to511 = 1651
pkt512to1023 = 766
pkt1024to1522 = 4456
good_giants = 0
error_giants = 0
good_runts = 0
error_runts = 0
ucast_pkts = 25743
mcast_pkts = 57570
bcast_pkts = 59331
align_errs = 0
fcs_errs = 0
overruns = 0
MAC Transmit Counters:
Bytes = 159215359
pkt64 = 43038
pkt65to127 = 38282
pkt128to255 = 54526
pkt256to511 = 26485
pkt512to1023 = 731
pkt1024to1518 = 4507
ucast_pkts = 30936
mcast_pkts = 10927
bcast_pkts = 60170
fcs_errs = 0
giants = 0
underruns = 0
one_collision = 0
mult_collisions = 0
excess_collisions = 0
Slicer Receive Counters:
Cells = 1698452
Frames = 99087
Header Sequence Errors = 0
fcs_errs = 0
Length = 0
Slicer Transmit Counters:
Cells = 1721097
Frames = 61233
Table 2 describes some of the important fields in the previous display.
Table 2 show controllers Registers and Descriptions for Fast Ethernet Interfaces
Register Type
Register Name
Description
Slicer Registers
SMDR
Should show a value of 0x60
SSTR
Value of 0x1008 or 0x1009 indicates that the Ethernet processor microcode has not been successfully downloaded.
MAC Registers
CMCR
For Catalyst 8510 Fast Ethernet cards when the interface is not shut down:
Full duplex = 0x00000423
Half duplex = 0x00000403
Auto = negotiated duplex value
For Catalyst 8540 Fast Ethernet cards when the interface is not shut down:
Full duplex = 0x00000463
Half duplex = 0x00000443
Auto = negotiated duplex value
MII Registers
Status register (0x1)
Bit 14 = 100 Mbps, full duplex
Bit 13 = 100 Mbps, half duplex
Bit 12 = 10 Mbps, full duplex
Bit 11 = 10 Mbps, half duplex
Bit 5 = autonegotiation complete
Bit 3 = autonegotiation capable
Bit 2 = link up
Bits 11 through 14 indicate link capability.
Auto- negotiation advertisement register (0x4)
Bit 13 = remote fault
Bit 8 = 100 Mbps, full duplex
Bit 7 = 100 Mbps
Bit 6 = 10 Mbps, full duplex
Bit 5 = 10 Mbps
Bit 0 = 1 (fixed value)
Bits 5 through 8 indicate link capability.
Auto- negotiated partner ability register (0x5)
Same values as autonegotiation advertisement register. Bits 5 through 8 indicate link partner capability. This register is set to nonzero only if the local and peer are configured to autonegotiate.
Chip status register (0x14)
Bit 13 = link up
Bit 12 = full duplex
Bit 11 = 100 Mbps
Bit 9 = autonegotiation complete
Bit 5 = symbol error
Bit 4 = MLT3 error
Bit 0 = PLL lock
The following is sample output from the show controllers command for a Gigabit Ethernet interface:
Router# show controllers gigabitethernet 9/0/0
IF Name:GigabitEthernet9/0/0
Port Status DOWN
FPGA Rev :0.2
Gigabit Ether Status :0x310 (Link Down, Rx Sync-N, Optical detect-N)
Mode Parallel Register :0x36
Port 0 Serial Mode Register :0x1
Port 1 Serial Mode Register :0x1
Link Interrupt Enable :0x1
Tx Disable :0x3
Slicer registers
SMDR 0x0060 (Tx En, Rx En)
SSTR 0x1000
EVER 0x1704 (Ver C1)
SSMR 0x4000 SIMR 0x0000 MBXW 0x0000 MBXR 0x0000
SPER 0xF000 GMUX VER 0x17B1 MARKER 0x17B1
MAC registers
CMCR :0x00000423 CMPR :0x140A0E61
MII registers:
Control Register (0x0):0x4140
Status Register (0x1):0x159
Auto Neg. Advt. Register (0x4):0x20
Auto Neg. Partner Ability Reg (0x5):0x0
RX Configuration Register (0xA):0x21
TR_IPG_TIME Register (0x10):0x6
PAUSE_TIME Register (0x11):0x0
PAUSE_SA1 Register (0x12):0x0
PAUSE_SA2 Register (0x13):0x0
PAUSE_SA3 Register (0x14):0x0
Pause Watermark Register (0x15):0xC040
TX FIFO Watermark Register (0x16):0xFF02
PAUSE_STAT_SENT Register (0x17):0x0
PAUSE_STAT_RCVD Register (0x18):0x0
Memory Address Register (0x19):0x0
Memory Control Register (0x1A):0x1
Memory Data High Register (0x1B):0x0
Memory Data Low Register (0x1C):0x0
Sys Control Register (0x1E):0x70C
Sys Status Register (0x1F):0x0
Link Status Register [3-0]|[7-4]:0x0|0x0
Counters :
Channel 0:
MAC Receive Counters:
bytes = 130461473
pkt64 = 5204
pkt65to127 = 10532
pkt128to255 = 54499
pkt256to511 = 1651
pkt512to1023 = 766
pkt1024to1522 = 4456
good_giants = 0
error_giants = 0
good_runts = 0
error_runts = 0
ucast_pkts = 25743
mcast_pkts = 57570
bcast_pkts = 59331
align_errs = 0
fcs_errs = 0
overruns = 0
MAC Transmit Counters:
Bytes = 159215359
pkt64 = 43038
pkt65to127 = 38282
pkt128to255 = 54526
pkt256to511 = 26485
pkt512to1023 = 731
pkt1024to1518 = 4507
ucast_pkts = 30936
mcast_pkts = 10927
bcast_pkts = 60170
fcs_errs = 0
giants = 0
underruns = 0
one_collision = 0
mult_collisions = 0
excess_collisions = 0
Ingress Markers = 16103
Egress Markers = 32207
Slicer Receive Counters:
Cells = 1698452
Frames = 99087
Header Sequence Errors = 0
fcs_errs = 0
Length = 0
Slicer Transmit Counters:
Cells = 1721097
Frames = 61233
Channel 1:
MAC Receive Counters:
bytes = 130461893
pkt64 = 5204
pkt65to127 = 10532
...........
Channel 7:
MAC Receive Counters:
bytes = 13050012
pkt64 = 5208
pkt65to127 = 10552
pkt128to255 = 54501
pkt256to511 = 1656
pkt512to1023 = 772
pkt1024to1522 = 4459
good_giants = 0
error_giants = 0
good_runts = 0
error_runts = 0
ucast_pkts = 25743
mcast_pkts = 57570
bcast_pkts = 59331
align_errs = 0
fcs_errs = 0
overruns = 0
MAC Transmit Counters:
Bytes = 15915320
pkt64 = 43030
pkt65to127 = 38762
pkt128to255 = 54529
pkt256to511 = 26487
pkt512to1023 = 600
pkt1024to1518 = 4490
ucast_pkts = 31230
mcast_pkts = 11306
bcast_pkts = 60171
fcs_errs = 0
giants = 0
underruns = 0
one_collision = 0
mult_collisions = 0
excess_collisions = 0
Ingress Markers = 16105
Egress Markers = 32203
Slicer Receive Counters:
Cells = 1698452
Frames = 99087
Header Sequence Errors = 0
fcs_errs = 0
Length = 0
Slicer Transmit Counters:
Cells = 1721097
Frames = 61233
Table 3 describes some of the important fields in the previous display.
Table 3 show controllers Registers and Descriptions for Gigabit Ethernet Interfaces
Register Type
Register Name
Description
Gigabit Ether status
Bit 7 = link up
Bit 6 = rx sync
Bit 5 = optical detect
Bit 2 = link up
Bit 1 = rx sync
Bit 0 = optical detect
Bits 5 through 7 apply to port 1; bits 0 through 2 apply to port 0.
MAC Registers
CMCR
Should be 0x00000423
MII Registers
Control register (0x0)
Bit 13 = loopback enable
Bit 12 = autonegotiation enable
ATM router module port has loopback enable bit set.
Status register (0x1)
Bit 5 = autonegotiation complete
Bit 3 = autonegotiation capable
Bit 2 = link up
Auto- negotiation advertisement register (0x4)
Bit 12 through 13 = remote fault
Bit 6 = half duplex
Bit 5 = full duplex
Bits 4 through 0 = 00000 (fixed)
Auto- negotiation partner ability register (0x5)
Same values as autonegotiation advertisement register. This register is set to nonzero only if the local and peer are configured to autonegotiate.
System control register (0x1e)
Bit 4 = link up
Hardware channel counters
For Gigabit Ethernet or ATM router module ports there are eight channels that show eight sets of counters.
show controllers access-list
To display the access control list (ACL) entries on an interface module, use the show controllers access-list command.
show controllers interface-type slot/subslot/interface access-list {in | out}
Syntax Description
interface-type
Specifies an interface type as fastethernet or gigabitethernet.
slot/subslot/interface
Identifies the interface specified in interface-type.
in
Displays TCAM entries for input ACL configuration.
out
Displays TCAM entries for output ACL configuration.
Command Modes
Privileged EXEC
Usage Guidelines
This command displays TCAM entries for an ACL configured on an interface. It interprets the contents of TCAM and displays them in the same format as the Cisco IOS ACL commands, such as the show access-lists command.
Note Because of optimization, there might not be a one-to-one mapping of the output of the
show controllers access-list command and the original access list.
Examples
The following is sample output from the show controllers access-list command:
Router# show controllers fastethernet 3/0/0 access-list in
Input ACL entries for Interface FastEthernet3/0/0 Index:6 Label:2
[V:0 M:1][0 IP] deny ip 100.1.3.0 0.0.0.255 any
[V:0 M:2][1 IP] permit ip any any
[V:0 M:3][2 IPX] permit 1 2.1000.0000.0003
[V:0 M:4][3 IPX] deny 1 2
[V:0 M:5][4 IPX] deny any any
This output corresponds to the following access-list configuration:
Router# show running-config interface fastethernet 3/0/0
Building configuration...
Current configuration:
!
interface FastEthernet3/0/0
ip address 1.0.0.1 255.0.0.0
ip access-group 100 in
no ip directed-broadcast
ipx access-group 800 in
ipx network 4
end
Table 4 describes the fields in the show controllers access-list display.
Table 4 show controllers access-list Field Descriptions
Field
Description
Index
Index used for this interface for ACL lookups
Label
Label used to identify TCAM entries for this ACL
[V:num1 M:num2]
TCAM value location and TCAM mask location
[protocol]
IP or IPX
show controllers adjacency
To display the IP address table on an interface module, use the show controllers adjacency privileged EXEC command.
show controllers interface-type slot/subslot/interface adjacency {ip-address| detail}[cam module-num]
Syntax Description
interface-type
Specifies an interface type as fastethernet, gigabitethernet, or atm.
slot/subslot/interface
Identifies the interface specified in interface-type.
ip-address
Specifies an IP address to display from the table.
detail
Displays additional information.
cam module-num
Specifies the CAM module to display.
Command Modes
Privileged EXEC
Usage Guidelines
This command displays the IP address table on each interface module. This table contains IP address entries present in the ARP table (displayed by the show arp command) and adjacency table (displayed by the show adjacency command). This table has a one-to-one correspondence with the adjacency table.
Examples
The following is sample output from the show controllers adjacency command:
Router# show controllers fastethernet 3/0/0 adjacency detail
This command displays the IP prefix table on each interface module. The table contains IP prefix entries present in the IP routing table (displayed by the show ip route command) and CEF table (displayed by the show ip cef command). This table has a one-to-one correspondence with the CEF table.
Examples
The following is sample output from the show controllers cef summary command.
Router# show controllers fastethernet 3/0/0 cef summary
Total IP Prefix Entries in CAM:14
Missing IP Prefix Entries in CAM:0
CEF entries not populated:8
The following is sample output from the show controllers cef missing command:
Router# show controllers fastethernet 3/0/0 cef missing
Prefix/Masklen Next Hop
Total IP Prefix Entries in CAM:15
Missing IP Prefix Entries in CAM:0
CEF entries not populated:15
The following is sample output from the show controllers cef detail command:
Router# show controllers fastethernet 3/0/0 cef detail
Default Network Information:
Load Balancing:Off
Prefix/Masklen Next Hop
0.0.0.0/0 not populated
0.0.0.0/32 not populated
1.0.0.0/8 SRP
1.0.0.0/32 SRP
1.0.0.1/32 SRP
1.0.0.2/32 not populated
1.0.0.5/32 not populated
1.255.255.255/32 SRP
2.0.0.0/8 SRP
2.0.0.0/32 SRP
2.0.0.1/32 SRP
2.0.0.5/32 not populated
2.0.0.6/32 not populated
2.255.255.255/32 SRP
11.0.0.0/8 not populated
12.0.0.0/8 not populated
20.0.0.0/8 2.0.0.5
40.0.0.0/8 not populated
128.46.167.95/32 not populated
128.118.25.3/32 not populated
140.247.60.28/32 not populated
Prefix/Masklen Next Hop
171.69.1.129/32 not populated
172.20.42.0/24 SRP
172.20.42.0/32 SRP
172.20.42.213/32 SRP
172.20.42.255/32 SRP
199.199.199.0/24 1.0.0.2
2.0.0.5
224.0.0.0/4 not populated
224.0.0.0/24 SRP
255.255.255.255/32 not populated
Total IP Prefix Entries in CAM:15
Missing IP Prefix Entries in CAM:0
CEF entries not populated:15
Table 5 describes some of the fields in the display.
Table 5 show controllers cef Field Descriptions
Field
Description
Prefix
IP prefix entry
Masklen
Mask length of IP prefix entry
SRP
Packets are sent to the route processor
Missing
IP prefix entry is present in CEF table but missing from interface module prefix table
Not populated
IP prefix entry present in CEF table but not populated in the interface module prefix table for one of the following reasons:
Prefix entry with all zeros or all ones
Prefix entries reachable via management port (ethernet0)
Prefix entries with corresponding adjacency entries (displayed with the show adjacency command)
Prefix entries that have one of the gateways as a management port
224.0.0.0/4 overlaps with 224.0.0.0/24
Default network
Default network information
Load balancing
Displays whether load balancing is on or off for default network
show controllers database layer2
To display the contents of the Layer 2 CAM on interface modules, use the show controllersdatabase layer2 privileged EXEC command.
show controllersinterface-type slot/subslot/interface database layer2
show controllersinterface-type slot/subslot/interface database layer2 detail [cam module-num]
show controllers interface-type slot/subslot/interface database layer2 vlan vlan_id [cam module-num]
Syntax Description
interface-type
Specifies an interface type as fastethernet, gigabitethernet, or atm.
slot/subslot/interface
Identifies the interface specified in interface-type.
detail
Displays additional information.
vlan vlan_id
Displays all entries associated with the VLAN.
cam module-num
Specifies the CAM module to display.
Command Modes
Privileged EXEC
Usage Guidelines
The CAM number should be specified for dual CAM interfaces, such as a single interface of a 2-port GigabitEthernet interface module. For GigabitEthernet interfaces, if the CAM number is not specified then the commands displays information from CAM 0 by default .
Examples
The following is sample output from the show controllers database layer2 command:
Router# show controllers interface fastethernet 1/0/0 database layer2
1# MAC addr:0000.0000.0000 VC:0 Entry:
2# MAC addr:0900.2b01.0001 MyMAC
3# MAC addr:0180.c200.0000 MyMAC
4# MAC addr:0100.0ccc.cccd MyMAC
5# MAC addr:0100.0ccc.cccc MyMAC
Total number of MAC entries: 5
The following is sample output from the show controllers database layer2 detail command:
Router# show controllers interface fastethernet 1/0/0 database layer2 detail
Table 5 describes some of the fields in the display.
Table 6 show controllers database layer2 Field Descriptions
Field
Description
MAC addr
Mac-address of the entry in the patricia tree.
MyMac
Packets directed to this MAC address should be sent to the switch processor.
HSRPMac
Packets directed to this MAC address will be considered for routing.
Dirty
The entry type of the specific MAC address is static. This means that it has been programmed from the switch processor.
Learned
The entry type of the specific MAC address is dynamic. This means that the entry has been learned via traffic.
times used
The number of times this particular entry was accessed.
CAM Location
The SRAM address of the location in the CAM where the entry is located. Ignore this field.
Not populated
IP prefix entry present in CEF table but not populated in interface module prefix table for one of the following reasons:
Prefix entry with all zeros or all ones
Prefix entries reachable via management port (ethernet0)
Prefix entries with corresponding adjacency entries (displayed with the show adjacency command)
Prefix entries that have one of the gateways as a management port
224.0.0.0/4 overlaps with 224.0.0.0/24
Default network
Default network information
Load balancing
Displays whether load balancing is on or off for default network
show controllers if-entry
To display the resident interface entry that corresponds to a second interface, use the show controllers if-entry EXEC command.
show controllers interface1 if-entry {entry interface2 | all}
Syntax Description
interface1
The interface on which the interface table is resident, specified in the form interface-type slot/subslot/interface, where interface-type is gigabitethernet, fastethernet, or atm. Only physical interfaces are valid entries.
interface2
The interface or subinterface corresponding to an entry in the table. Any logical or physical interface, except BVI, is a valid entry.
Command Modes
Privileged EXEC
Usage Guidelines
One interface table for each physical port is resident on each interface module. Each table maintains entries corresponding to all interfaces or subinterfaces in the system. Each entry is indexed by a unique-identifier assigned to each interface or subinterface. The interface entry maintains the following information:
Switching information (VC to switch to this interface)
MAC address
Layer 2/3 protocol configuration
FEC load balancing information, if this interface is FEC
Examples
The following is sample output from the show controllers if-entry command:
Router# show controllers gigabitethernet 12/0/0 if-entry entry gigabitethernet 12/0/0
IF Entry for GigabitEthernet12/0/0 on GigabitEthernet12/0/0
Mac(hex) - 00:10:7B:C5:D3:77
isMyInteface :True isSubInterface :False
Status Down Broute VC - 0 Bcast VC - 0
Netmask:32
FEC disabled
Trunking Disabled
State :Not-Applicable/Listening/Blocking
Bridge-Group disabled
IP routing off bridging off
IPX routing off bridging off
Appletalk routing off
In Encapsulation:
ICMP Redirect disabled Unreachable disabled
IP Multicast disabled:ttl-threshold:0
ACL Indexs:
Input ACL:0 Output ACL:0
ACL Flags:
Input IP:OFF Output IP:OFF
Input IPX:OFF Output IPX:OFF
Slowpath - Input:OFF
The display contains the following categories of information:
Basic switching information
MAC address of the entry interface, in hexadecimal
Status of the entry interface
Broute VC (unicast VC to switch to entry interface)
Bcast VC (multicast VC to flood broadcast and unknown-unicast during Layer 2 switching)
Layer 2/3 configuration information
Netmask (subnet mask of primary IP address)
FEC (enabled/disabled)
Trunking (enabled/disabled)
State (Spanning Tree Protocol)
Bridge group (enabled/disabled)
IP routing (on/off) and bridging (on/off)
IPX routing (on/off) and bridging (on/off)
IPX encapsulations
ICMP redirect (enabled/disabled) and unreachable (enabled/disabled)
IP multicast (enabled/disabled) and TTL threshold
ACL configuration flags
show controllers ipmcast
To display the IP multicast routing table information stored on an interface module, use the show controllers ipmcast EXEC command.
show controllers interface-type slot/subslot/interfaceipmcast group-address [source-address[detail] | all] [cam module-num]
Syntax Description
interface-type
Specifies an interface type as fastethernet or gigabitethernet.
slot/subslot/interface
Identifies the interface specified in interface-type.
group-address
Specifies the IP address of a multicast group.
source-address
Specifies the IP address of a multicast source.
detail
Displays the point-to-multipoint VC connection.
all
Displays all entries within a group.
cam module-num
Specifies the CAM module to display.
Command Modes
Privileged EXEC
Usage Guidelines
This command displays the IP multicast routing table entries for all sources within a group (*, G) or for a specified source (S, G) within a group.
Examples
The following is sample output from the show controllers ipmcast command:
Router# show controllers fastethernet 0/0/7 ipmcast 231.1.1.1 171.11.78.77 detail
MEMBER_ENTRY, root vc = 1/33, packet counter = 4
(231.1.1.1, 171.11.78.77), CAM Loc 0x4025, 0 E 50 0 0 4 2 13
Send_to_cpu flag not set, SPT flag set
p2mp vc:root FastEthernet0/0/7, VPI = 1, VCI = 33
leaf FastEthernet0/0/3, VPI = 0, VCI = 226
FastEthernet0/0/0, VPI = 0, VCI = 227
Table 7 describes some of the fields in the display.
Table 7 show controllers ipmcast Field Descriptions
Field
Description
GROUP_ENTRY
A (*, G) entry.
MEMBER_ENTRY
A (S, G) entry.
Root VC
VPI/VCI value of the root VC used for forwarding multicast packets for this entry.
Packet counter
Number of packets forwarded since the last statistics polling interval.
Send_to_cpu
A flag in the UINFO. Packets are sent to the CPU if this flag is set.
SPT flag
A flag in the UINFO that corresponds to the SPT bit in the Cisco IOS mroute table.
p2mp vc
Detailed information about the p2mp ATM VC that is used for multicast forwarding, including root interface, root VPI, root VCI, leaf interfaces, leaf VPI, and leaf VCI.
show controllers ipx-prefix
To display the IPX network entries for a specified interface, use the show controllers ipx-prefix EXEC command.
Novell ether IF No 14 00d0.5845.2660 My-Node Valid
R 5004 V N
Novell ether IF No 24 00d0.bbcd.b40e Valid
R 5005 V N
Novell ether IF No 24 00d0.bbcd.b40e Valid
R 5006 V N
Novell ether IF No 24 00d0.bbcd.b40e Valid
R 101010 V N B
Novell ether IF No 24 00d0.5845.2662 My-Node Valid
show controllers c8500 counters
To display the counters on the switch router interfaces, use the show controllers c8500 counters EXEC command.
show controllers c8500 counters
Syntax Description
This command has no arguments or keywords
Command Modes
Privileged EXEC
Usage Guidelines
This command does not use IPC to get the information and can be used to find the port state prior to using any IPC-based commands. The counts reflect the actual number that the interface has received; these counter values are not reset when the clear counters command is issued.
Examples
The following is sample output from the show controllers c8500 counters command:
To display the interface number assigned to each interface or subinterface, use the show controllers c8500 ifmapping EXEC command.
show controllers c8500 ifmapping
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Usage Guidelines
The output from this command shows all the interfaces and subinterfaces in the system, along with the assigned interface number for each. This command displays information specific to the Catalyst 8510 and Catalyst 8540 switch routers.
Examples
The following is sample output from the show controllers c800 ifmapping command:
Router# show controllers c8500 ifmapping
GigabitEthernet2/0/0 (IF number:4)
GigabitEthernet12/0/0 (IF number:5)
GigabitEthernet12/0/1 (IF number:6)
show controllers c8500 ipmcast
To display IP multicast routing table control layer information, VC sharing information, and statistics, use the show controllers c8500 ipmcast EXEC command.
show controllers c8500 ipmcast group-address{source-address[detail]| all [control]} [cam module-num]
show controllers c8500 ipmcast group-address vc-sharing
show controllers c8500 ipmcast {stats | reset-stats}
Syntax Description
group-address
Specifies the IP address of a multicast group.
source-address
Specifies the IP address of a multicast source.
detail
Displays additional information.
all
Displays all entries within a group.
vc-sharing
Displays the VC sharing information for an IP multicast group.
stats
Displays the IP multicast statistics.
reset-stats
Resets the statistics to zero.
cam module-num
Specifies the CAM module to display.
Command Modes
Privileged EXEC
Usage Guidelines
When an IP multicast source address or the keyword all is specified, this command displays IP multicast routing table control layer information, such as the VC used for an IP multicast packet matching a particular entry.
When the keyword vc-sharing is specified, this command displays all the point-to-multipoint VCs used for an IP multicast group and the number of entries that are sharing this VC.
When the keyword stats is used, this command displays debugging information.
The show controllers c8500 ipmcast command displays information specific to the Catalyst 8510 and Catalyst 8540 switch routers.
Examples
The following sample output from the show controllers c8500 ipmcast command displays routing table control layer information for an IP multicast group:
Router# show controllers c8500 ipmcast 231.1.1.1 all
(*, 231.1.1.1), RPF NULL, root vc 0/0
(171.11.78.77, 231.1.1.1), RPF BVI1, root vc 1/33
FastEthernet0/0/7, root vc 1/33
shr_vc_db vc 1/33, usage_count 1, olist size 2
FastEthernet0/0/0, root vc 1/33
shr_vc_db vc 1/33, usage_count 1, olist size 2
FastEthernet0/0/3, root vc 1/33
shr_vc_db vc 1/33, usage_count 1, olist size 1
Table 8 describes some of the fields in the previous display.
Table 8 show controllers c8500 ipmcast Field Descriptions
Field
Description
RPF
Incoming interface for this IP multicast entry root VC VPI/VCI value that is used for forwarding multicast packets for this entry.
shr_vc_db
Data block that contains the VC information.
usage_count
Number of (*, G) / (S, G) entries that are sharing this VC.
olist size
Number of leaves in the point-to-multipoint VC.
The following sample output from the show controllers c8500 ipmcast command displays VC sharing information for an IP multicast group:
Router# show controllers c8500 ipmcast 231.1.1.1 vc-sharing
FastEthernet0/0/0 vc 1/36, usage count:1
FastEthernet0/0/3 vc 1/36, usage count:1
FastEthernet0/0/7 vc 1/36, usage count:1
The following sample output from the show controllers c8500 ipmcast command displays general debugging statistics:
Table 12 show switch bridge-table Field Descriptions
Field
Description
Bridge Table entries
Number of entries present in the IOS bridge table for the bridge group.
New MAC learn IPCs received
Number of MAC learn IPCs received for which new entries were made in the IOS bridge table.
Old MAC learn IPCs received
Number of MAC learn IPCs received for which IOS bridge table entries already exist.
Total MAC learn received
Total number of MAC learn IPCs received for the bridge group.
Total MAC Age IPCs received
Total number of MAC age IPCs received for that bridge group.
Port Commands
epc port-reload
To indicate that a port detected as being stuck should be reset and reloaded, use the epc port-reload command. To indicate that a port detected as being stuck should be shut down, use the no form of the command.
epc port-reload
no epc port-reload
Syntax Description
This command has no arguments or keywords.
Command Modes
Global configuration
Usage Guidelines
The epc port-reload command specifies how the system should respond when a port is detected as being stuck. If a port does not respond for a specified duration of time (set with the epc portstuck-wait command) to messages sent by the CPU, the port is declared stuck. If the epc port-reload command is in effect, the stuck port is reset and its microcode is reloaded so that it resumes normal operation. If the no epc port-reload command is in effect, the port is shut down.
Examples
The following example shows how to specify that a port detected as being stuck should be reset and reloaded:
To specify how long the port-stuck detection mechanism should wait after a port has stopped responding to CPU requests, use the epc portstuck-wait command. To set this value to its default, use the noepc portstuck-wait command.
epc portstuck-wait seconds
Syntax Description
seconds
Length of time, from 0 to 1200 seconds, that the port-stuck detection mechanism should wait before declaring a port to be stuck. A value of zero disables the port-stuck detection mechanism entirely.
Defaults
180 seconds
Command Modes
Global configuration
Syntax Description
For a port to be declared stuck, no response to any requests must be received by the CPU for the length of time specified by the epc portstuck-wait command. Once this time has elapsed with no response, the port is declared stuck and the action specified in the epc port-reload command is taken.
Examples
The following example shows how to specify a wait time of four minutes before declaring a port stuck:
Access Registrar, AccessPath, Are You Ready, ATM Director, Browse with Me, CCDA, CCDE, CCDP, CCIE, CCNA, CCNP, CCSI, CD-PAC, CiscoLink, the Cisco NetWorks logo, Cisco Powered Network logo, Cisco Systems Networking Academy, Fast Step, FireRunner, Follow Me Browsing, FormShare, GigaStack, IGX, Intelligence in the Optical Core, Internet Quotient, IP/VC, iQ Breakthrough, iQ Expertise, iQ FastTrack, iQ Logo, iQ Readiness Scorecard, Kernel Proxy, MGX, Natural Network Viewer, Network Registrar, the Networkers logo, Packet, PIX, Point and Click Internetworking, Policy Builder, RateMUX, ReyMaster, ReyView, ScriptShare, Secure Script, Shop with Me, SlideCast, SMARTnet, SVX, TrafficDirector, TransPath, VlanDirector, Voice LAN, Wavelength Router, WebViewer, Workgroup Director, and Workgroup Stack are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, Empowering the Internet Generation, are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, Cisco, the Cisco Certified Internetwork Expert Logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Collision Free, Enterprise/Solver, EtherChannel, EtherSwitch, FastHub, FastLink, FastPAD, IOS, IP/TV, IPX, LightStream, LightSwitch, MICA, NetRanger, Post-Routing, Pre-Routing, Registrar, StrataView Plus, Stratm, SwitchProbe, TeleRouter, and VCO are registered trademarks of Cisco Systems, Inc. or its affiliates in the U.S. and certain other countries.
All other brands, names, or trademarks mentioned in this document or Web site are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0010R)