Troubleshooting Guide For Cisco Catalyst 8000V Edge Software
Troubleshooting Guide For Cisco Catalyst 8000V Edge Software
Troubleshooting Guide For Cisco Catalyst 8000V Edge Software
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
© 2020 Cisco Systems, Inc. All rights reserved.
CONTENTS
CHAPTER 1 Overview 1
CHAPTER 2 Mapping the Cisco Catalyst 8000V Network Interfaces to VM Network Interfaces 5
Release notes are intended to be release-specific for the most current release, and the information provided
in these documents may not be cumulative. That is, the latest release notes document does not provide
information about features that first appeared in previous releases. For more information, see the Cisco Catalyst
8000V Release Notes.
For cumulative feature information, see the Cisco Feature Navigator.
Related Documentation
This section refers you to the other documentation that also might be useful as you troubleshoot the Cisco
Catalyst 8000V issues.
The Cisco Catalyst 8000V documentation home page contains the following technology guides and feature
documentation:
• Cisco Catalyst 8000V Edge Software Installation and Configuration Guide
• Cisco Catalyst 8000V Edge Software High Availability Guide
• Cisco Catalyst 8000V Edge Software Deployment Guide for Microsoft Azure
• Cisco Catalyst 8000V Edge Software Deployment Guide for Google Cloud Platform
• Cisco Catalyst 8000V Edge Software Deployment Guide for Amazon Web Services
For information on the downloads that are available and the community information about Cisco Catalyst
8000V, see the Cisco Catalyst 8000V Edge Software Home page.
For information on commands, see one of the following resources:
• Cisco IOS XE Software Command References
• Command Lookup Tool (cisco.com login required)
The vNIC name shown in the display is a logical interface that the Cisco Catalyst 8000V instance uses to map
to the interface on the hypervisor. It does not always map to the corresponding NIC name added during the
VM installation. For example, the logical “eth1” vNIC name in the display may not necessarily map to “NIC1”
that was added in the VM installation process.
Caution It is important that you verify the interface mapping before you begin configuring the Gigabit Ethernet network
interfaces onCisco Catalyst 8000V. This ensures that the network interface configuration applies to the correct
physical MAC address interface on the VM host.
If you reboot the router and do not add or delete any vNICs, the interface mapping remains the same as before.
If you reboot the router and delete vNICs, ensure that the configuration for the remaining interfaces remains
intact. For more information, see Adding and Deleting Network Interfaces on Cisco Catalyst 8000V.
AddingandDeletingNetworkInterfacesonCiscoCatalyst8000V
Cisco Catalyst 8000V maps the router GigabitEthernet interfaces to the logical vNIC name assigned by the
VM which in turn is mapped to a MAC address on the VM host. You can add or delete vNICs on the VM to
add or delete GigabitEthernet interfaces on Cisco Catalyst 8000V. You can add vNICs while the router is
active.
To delete a vNIC from the VM, you must first power down the VM. If you delete any vNICs, you must reboot
the router. For more information about adding and deleting vNICs, see the VMware Documentation .
Caution If you remove a vNIC without first updating the Cisco Catalyst 8000V network interface configuration, you
risk a configuration mismatch when the router reboots. When you reboot the router and remove a vNIC, the
remaining logical vNIC names could get reassigned to different MAC addresses. As a result, the GigabitEthernet
network interfaces on theCisco Catalyst 8000V instances can be reassigned to different physical interfaces
on the hypervisor.
Before you add or delete network interfaces, first verify the interface-to-vNIC mapping using the show
platform software vnic-if interface-mapping command.
After adding or deleting network interfaces on the VM, verify the new interface-to-vNIC mapping before
making configuration changes to the network interfaces. The following example shows the interface mapping
after a new vNIC has been added. The new vNIC maps to the GigabitEthernet4 network interface on the Cisco
Catalyst 8000V instance.
Note You no longer need to execute the clear platform software vnic-int interface command before you
remove the vNIC configuration from the hypervisor. This command will be deprecated in a future release.
Note Ensure that the original VM includes the number of configured vNICs required on the cloned VM before
beginning the cloning process.
Step 1 Enter the clear platform software vnic-if nvtable command on the original VM.
This command clears the persistent interface database on the original VM and updates the interface mapping to the
hypervisor.
The router configuration on the cloned VM should match the configuration of the original VM.
Enter the show license command. The License State should be shown as “Active, In Use”.
• Verify that the vNIC for the VMs are connected to the correct physical NIC, or to the proper vSwitch.
• If you're using virtual LANS (VLANs), ensure the vSwitch is configured with the correct VLAN.
• If you're using static MAC addresses or VMs that are cloned, make sure there are no duplicate MAC
addresses.
Duplicate MAC addresses can cause the Cisco Catalyst 8000V feature license to become invalidated,
which will disable the router interfaces.
Troubleshooting - MTU
Verify that the router has the correct setting for maximum MTU.
By default, the maximum MTU on the router is 1500. To support jumbo frames, edit the default VMware
vSwitch settings. For more information, see the VMware vSwitch documentation.
Note ESXi 5.0 supports a maximum MTU of 9000, even if jumbo frames are enabled on the router.
Troubleshooting—Memory
Cisco Catalyst 8000V does not support memory sharing between VMs. On the ESXi host, check the memory
counters to find out how much used memory and shared memory is on the VM. Verify that the balloon and
swap used counters are zero.
If a specific VM does not have enough memory to support Cisco Catalyst 8000V, increase the memory size
of the VM. Insufficient memory on the VM or the host can cause the Cisco Catalyst 8000V console to hang
and be non-responsive.
Note With troubleshooting performance issues, note that other VMs on the same host as the Cisco Catalyst 8000V
can impact the performance of the Cisco Catalyst 8000V VM. Verify that the other VMs on the host are not
causing memory issues that are impacting the Cisco Catalyst 8000V VM.
Troubleshooting - Throughput
Verify the current maximum throughput level with the show platform hardware throughput level command.
Number of Processors : 4
Processor : 1 - 4
vendor_id : GenuineIntel
cpu MHz : 3192.307
cache size : 20480 KB
Crypto Supported : Yes
Packet-Trace Description
Level
Accounting Packet-Trace accounting provides a count of packets that enter and leave the network
processor. Packet-Trace accounting is a lightweight performance activity, and runs
continuously until it is disabled.
Summary At the summary level of packet trace, data is collected for a finite number of packets.
Packet-Trace summary tracks the input and output interfaces, the final packet state, and
punt, drop, or inject packets, if any. Collecting summary data adds to additional performance
compared to normal packet processing, and can help to isolate a troublesome interface.
Packet-Trace Description
Level
Path data The packet-trace path data level provides the greatest level of detail in packet trace. Data
is collected for a finite number of packets. Packet-Trace path data captures data, including
a conditional debugging ID that is useful to correlate with feature debugs, a timestamp,
and also feature-specific path-trace data.
Path data also has two optional capabilities: packet copy and Feature Invocation Array
(FIA) trace. The packet-copy option enables you to copy input and output packets at various
layers of the packet (layer 2, layer 3 or layer 4). The FIA- trace option tracks every feature
entry invoked during packet processing and helps you to know what is happening during
packet processing.
Note Collecting path data consumes more packet-processing resources, and the
optional capabilities incrementally affect packet performance. Therefore,
path-data level should be used in limited capacity or in situations where packet
performance change is acceptable.
memory required = (statistics overhead) + number of packets * (summary size + data size + packet copy size).
When the Packet-Trace feature is enabled, a small, fixed amount of memory is allocated for statistics. Similarly,
when per-packet data is captured, a small, fixed amount of memory is required for each packet for summary
data. However, as shown by the equation, you can significantly influence the amount of memory consumed
by the number of packets you select to trace, and whether you collect path data and copies of packets.
Note The amount of memory consumed by the Packet-Trace feature is affected by the packet-trace configuration.
You should carefully select the size of per-packet path data and copy buffers and the number of packets to be
traced in order to avoid interrupting normal services. You can check the current data-plane DRAM memory
consumption by using the show platform hardware qfp active infrastructure exmem statistics command.
SUMMARY STEPS
1. enable
2. debug platform packet-trace packet pkt-num [fia-trace | summary-only] [circular] [data-size data-size]
3. debug platform packet-trace {punt |inject|copy|drop|packet|statistics}
4. debug platform condition [ipv4 | ipv6] [interface interface][access-list access-list -name | ipv4-address
/ subnet-mask | ipv6-address / subnet-mask] [ingress | egress |both]
5. debug platform condition start
6. debug platform condition stop
7. show platform packet-trace {configuration | statistics | summary | packet {all | pkt-num}}
8. clear platform condition all
9. exit
DETAILED STEPS
Router> enable
Step 2 debug platform packet-trace packet pkt-num [fia-trace Collects summary data for a specified number of packets.
| summary-only] [circular] [data-size data-size] Captures feature path data by default, and optionally
performs FIA trace.
Example:
pkt-num—Specifies the maximum number of packets
Router# debug platform packet-trace packets 2048 maintained at a given time.
summary-only
fia-trace—Provides detailed level of data capture, including
summary data, feature-specific data. Also displays each
feature entry visited during packet processing.
summary-only—Enables the capture of summary data with
minimal details.
circular—Saves the data of the most recently traced
packets.
data-size—Specifies the size of data buffers for storing
feature and FIA trace data for each packet in bytes. When
very heavy packet processing is performed on packets, users
can increase the size of the data buffers if necessary. The
default value is 2048.
Step 3 debug platform packet-trace {punt Enables tracing of punted packets from data to control plane.
|inject|copy|drop|packet|statistics}
Example:
Step 5 debug platform condition start Enables the specified matching criteria and starts packet
tracing.
Example:
Step 6 debug platform condition stop Deactivates the condition and stops packet tracing.
Example:
Step 7 show platform packet-trace {configuration | statistics | Displays packet-trace data according to the specified option.
summary | packet {all | pkt-num}} See {start cross reference} Table 21-1 {end cross reference}
for detailed information about the show command options.
Example:
Step 8 clear platform condition all Removes the configurations provided by the debug
platform condition and debug platform packet-trace
Example:
commands.
Router(config)# clear platform condition all
Router# exit
Command Description
show platform packet-trace configuration Displays packet trace configuration, including any defaults.
show platform packet-trace statistics Displays accounting data for all the traced packets.
Command Description
show platform packet-trace summary Displays summary data for the number of packets specified.
show platform packet-trace {all | pkt-num} Displays the path data for all the packets or the packet
[decode] specified. The decode option attempts to decode the binary
packet into a more human- readable form.
Command Description
clear platform packet-trace statistics Clears the collected packet-trace data and statistics.
clear platform packet-trace configuration Clears the packet-trace configuration and the statistics.
Router>
enable
Router# debug platform packet-trace packet 128 fia-trace
Router# debug platform packet-trace punt
Router# debug platform condition interface g0/0/1 ingress
Router# debug platform condition start
Router#! ping to UUT
Router# debug platform condition stop
Router# show platform packet-trace packet 0
Packet: 0 CBUG ID: 9
Summary
Input : GigabitEthernet0/0/1
Output : GigabitEthernet0/0/0
State : FWD
Timestamp
Start : 1819281992118 ns (05/17/2014 06:42:01.207240 UTC)
Stop : 1819282095121 ns (05/17/2014 06:42:01.207343 UTC)
Path Trace
Feature: IPV4
Source : 172.16.10.2
Destination : 172.16.20.2
Protocol : 1 (ICMP)
Feature: FIA_TRACE
Entry : 0x8059dbe8 - DEBUG_COND_INPUT_PKT
Timestamp : 3685243309297
Feature: FIA_TRACE
Entry : 0x82011a00 - IPV4_INPUT_DST_LOOKUP_CONSUME
Timestamp : 3685243311450
Feature: FIA_TRACE
Entry : 0x82000170 - IPV4_INPUT_FOR_US_MARTIAN
Timestamp : 3685243312427
Feature: FIA_TRACE
Entry : 0x82004b68 - IPV4_OUTPUT_LOOKUP_PROCESS
Timestamp : 3685243313230
Feature: FIA_TRACE
Entry : 0x8034f210 - IPV4_INPUT_IPOPTIONS_PROCESS
Timestamp : 3685243315033
Feature: FIA_TRACE
Entry : 0x82013200 - IPV4_OUTPUT_GOTO_OUTPUT_FEATURE
Timestamp : 3685243315787
Feature: FIA_TRACE
Entry : 0x80321450 - IPV4_VFR_REFRAG
Timestamp : 3685243316980
Feature: FIA_TRACE
Entry : 0x82014700 - IPV6_INPUT_L2_REWRITE
Timestamp : 3685243317713
Feature: FIA_TRACE
Entry : 0x82000080 - IPV4_OUTPUT_FRAG
Timestamp : 3685243319223
Feature: FIA_TRACE
Entry : 0x8200e500 - IPV4_OUTPUT_DROP_POLICY
Timestamp : 3685243319950
Feature: FIA_TRACE
Entry : 0x8059aff4 - PACTRAC_OUTPUT_STATS
Timestamp : 3685243323603
Feature: FIA_TRACE
Entry : 0x82016100 - MARMOT_SPA_D_TRANSMIT_PKT
Timestamp : 3685243326183
Linux Forwarding Transport Service (LFTS) is a transport mechanism to forward packets punted from the
CPP into applications other than IOSd. This example displays the LFTS-based intercepted packet destined
for binos application.
Router# show platform packet-trace packet 10
Packet: 10 CBUG ID: 52
Summary
Input : GigabitEthernet0/0/0
Output : internal0/0/rp:1
State : PUNT 55 (For-us control)
Timestamp
Start : 597718358383 ns (06/06/2016 09:00:13.643341 UTC)
Stop : 597718409650 ns (06/06/2016 09:00:13.643392 UTC)
Path Trace
Feature: IPV4
Input : GigabitEthernet0/0/0
Output : <unknown>
Source : 10.64.68.2
Destination : 224.0.0.102
Protocol : 17 (UDP)
SrcPort : 1985
DstPort : 1985
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : <unknown>
Entry : 0x8a0177bc - DEBUG_COND_INPUT_PKT
Lapsed time : 426 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : <unknown>
Entry : 0x8a017788 - IPV4_INPUT_DST_LOOKUP_CONSUME
Lapsed time : 386 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : <unknown>
Entry : 0x8a01778c - IPV4_INPUT_FOR_US_MARTIAN
Lapsed time : 13653 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : internal0/0/rp:1
Entry : 0x8a017730 - IPV4_INPUT_LOOKUP_PROCESS_EXT
Lapsed time : 2360 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : internal0/0/rp:1
Entry : 0x8a017be0 - IPV4_INPUT_IPOPTIONS_PROCESS_EXT
Lapsed time : 66 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : internal0/0/rp:1
Entry : 0x8a017bfc - IPV4_INPUT_GOTO_OUTPUT_FEATURE_EXT
Lapsed time : 680 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : internal0/0/rp:1
Entry : 0x8a017d60 - IPV4_INTERNAL_ARL_SANITY_EXT
Lapsed time : 320 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : internal0/0/rp:1
Entry : 0x8a017a40 - IPV4_VFR_REFRAG_EXT
Lapsed time : 106 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : internal0/0/rp:1
Entry : 0x8a017d2c - IPV4_OUTPUT_DROP_POLICY_EXT
Lapsed time : 1173 ns
Feature: FIA_TRACE
Input : GigabitEthernet0/0/0
Output : internal0/0/rp:1
Entry : 0x8a017940 - INTERNAL_TRANSMIT_PKT_EXT
Lapsed time : 20173 ns
LFTS Path Flow: Packet: 10 CBUG ID: 52
Feature: LFTS
Pkt Direction: IN
Punt Cause : 55
subCause : 0
In this scenario, you can detect that there are issues, but are not sure where to start troubleshooting. You
should, therefore, consider accessing the Packet-Trace summary for a number of incoming packets.
The output shows that packets are dropped due to NAT configuration on Gigabit Ethernet interface 0/0/0,
which enables you to understand that an issue is occurring on a specific interface. Using this information, you
can limit which packets to trace, reduce the number of packets for data capture, and increase the level of
inspection.
Feature: UDP
Pkt Direction: IN DROP
Pkt : DROPPED
UDP: Discarding silently
src : 881 10.78.106.2(1985)
dst : 224.0.0.102(1985)
length : 60
Feature: IP
Pkt Direction: IN
Packet Enqueued in IP layer
Source : 12.1.1.1
Destination : 12.1.1.2
Interface : GigabitEthernet3
Feature: IP
Pkt Direction: IN
FORWARDEDTo transport layer
Source : 12.1.1.1
Destination : 12.1.1.2
Interface : GigabitEthernet3
Feature: TCP
Pkt Direction: IN
tcp0: I NoTCB 12.1.1.1:46593 12.1.1.2:23 seq 1925377975 OPTS 4 SYN WIN 4128
Router# show platform packet-trace summary
Pkt Input Output State Reason
0 INJ.2 Gi1 FWD
1 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
2 INJ.2 Gi1 FWD
3 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
4 INJ.2 Gi1 FWD
5 INJ.2 Gi1 FWD
6 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
7 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
8 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
9 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
10 INJ.2 Gi1 FWD
11 INJ.2 Gi1 FWD
12 INJ.2 Gi1 FWD
13 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
14 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
15 Gi1 internal0/0/rp:0 PUNT 11 (For-us data)
16 INJ.2 Gi1 FWD
PKT_DIR_IN
Dropped Consumed Forwarded
INFRA 0 0 0
TCP 0 0 0
UDP 0 0 0
IP 0 0 0
IPV6 0 0 0
ARP 0 0 0
PKT_DIR_OUT
Dropped Consumed Forwarded
INFRA 0 0 0
TCP 0 0 0
UDP 0 0 0
IP 0 0 0
IPV6 0 0 0
ARP 0 0 0
The following example displays packets that are injected and punted to the forwarding processor from the
control plane.
Router#debug platform condition ipv4 10.118.74.53/32 both
Router#Router#debug platform condition start
Router#debug platform packet-trace packet 200
Packet count rounded up from 200 to 256
Feature: IP
Pkt Direction: IN
Packet Enqueued in IP layer
Source : 10.118.74.53
Destination : 172.18.124.38
Interface : GigabitEthernet1
Feature: IP
Pkt Direction: IN
FORWARDED To transport layer
Source : 10.118.74.53
Destination : 172.18.124.38
Interface : GigabitEthernet1
Feature: UDP
Pkt Direction: IN
DROPPED
UDP: Checksum error: dropping
Source : 10.118.74.53(2640)
Destination : 172.18.124.38(500)
Feature: TCP
Pkt Direction: OUT
FORWARDED
TCP: Connection is in SYNRCVD state
ACK : 2346709419
SEQ : 3052140910
Source : 172.18.124.38(22)
Destination : 172.18.124.55(52774)
Feature: IP
Pkt Direction: OUTRoute out the generated packet.srcaddr: 172.18.124.38, dstaddr:
172.18.124.55
Feature: IP
Pkt Direction: OUTInject and forward successful srcaddr: 172.18.124.38, dstaddr:
172.18.124.55
Feature: TCP
Pkt Direction: OUTtcp0: O SYNRCVD 172.18.124.38:22 172.18.124.55:52774 seq 3052140910
OPTS 4 ACK 2346709419 SYN WIN 4128
Summary
Input : INJ.2
Output : GigabitEthernet1
State : FWD
Timestamp
Start : 490928006866 ns (06/29/2020 13:31:30.807879 UTC)
Stop : 490928038567 ns (06/29/2020 13:31:30.807911 UTC)
Path Trace
Feature: IPV4(Input)
Input : internal0/0/rp:0
Output : <unknown>
Source : 172.18.124.38
Destination : 172.18.124.55
Protocol : 6 (TCP)
SrcPort : 22
DstPort : 52774
Feature: IPSec
Result : IPSEC_RESULT_DENY
Action : SEND_CLEAR
SA Handle : 0
Peer Addr : 55.124.18.172
Local Addr: 38.124.18.172
Router#
Additional References
Standards
Standard Title
None —
MIBs
None To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco
MIB Locator found at this URL:
{start hypertext}http://www.cisco.com/go/mibs{end hypertext}
RFCs
RFC Title
None —
Technical Assistance
Description Link
Note {start cross reference}Table 21-4{end cross reference} lists only the software releases that support a given
feature in a given software release train. Unless noted otherwise, subsequent releases of that software release
train also support that feature.
Packet Cisco IOS XE 3.10S The Packet Trace feature provides information about how data packets are
Trace processed by the Cisco IOS XE software.
In Cisco IOS XE Release 3.10S, this feature was introduced.
The following commands were introduced or modified:
• debug platform packet-trace packet pkt-num [fia-trace |
summary-only] [data-size data-size] [circular]
• debug platform packet-trace copy packet {input | output | both}
[size num-bytes] [L2 | L3 | L4]
• show platform packet-trace {configuration | statistics | summary
| packet {all | pkt-num}}
Cisco IOS XE 3.11S In Cisco IOS XE Release 3.11S, this feature was enhanced to include the
following features:
• Matched versus traced statistics.
• Trace stop timestamp in addition to trace start timestamp.
The following commands were introduced or modified:
• debug platform packet-trace drop [code drop-num]
• show platform packet-trace packet {all | pkt-num} [decode]
Cisco IOS XE Denali In Cisco IOS XE Denali 16.3.1, this feature was enhanced to include Layer3
16.3.1 packet tracing along with IOSd.
The following commands were introduced or modified: debug platform
packet-trace punt.
Cisco IOS XE The output of the show platform packet-trace command now includes
Amsterdam 17.3.1 additional trace information for packets either originated from IOSd or
destined to IOSd or other BinOS processes.