Troubleshooting Platform Health Issues

This chapter contains the following sections:

Generating the Troubleshooting Report and Downloading the Logs

You can generate the troubleshooting report and the infrastructure log file for all the schemas, sites, tenants, and users that are managed by Multi-Site.

Complete the following steps to generate the troubleshooting report and download Multi-Site logs:

Procedure


Step 1

Click Welcome, Admin in Multi-Site GUI.

Displays the options for generating a troubleshooting report.

Step 2

Click Troubleshooting Report in the drop-down list.

Displays the Troubleshooting Report window.

Step 3

Select the logs for Sites,Tenants, Schemas, Users, and Infra Logs.

Selects the options to view the individual log information.

Step 4

Click Download.

Generates the troubleshooting report. You can save it in your system.

The report contains the following information:

  • All schemas in JSON format

  • All sites definitions in JSON format

  • All tenants definitions in JSON format

  • All users definitions in JSON format

  • All logs of the containers in the infra_logs.txt file


Logging Into the VM for Troubleshooting

For troubleshooting, log into the VM to inspect all Docker services and inspect the logs for specific containers. Check the useful commands for Docker in the Docker command cheat sheet: https://www.docker.com/sites/default/files/Docker_CheatSheet_08.09.2016_0.pdf.

To inspect the health of Docker services, use the docker service ls CLI command. The output of the command is the expected health status. All services should have at least 1 container replicated as displayed in the REPLICAS column. If any of them is down, the system might not work correctly.

Figure 1. Inspecting the Health of Docker Services

Get the running container ID for a service using the docker ps | grep <service name> CLI command.

Figure 2. Getting the Running Container ID for a Service

Get all container IDs for a service, including the ones that are exited using the docker ps –a | grep <service name> CLI command.

Use the docker logs <containerId CLI command to view for a container. The logs for a container could be large. Therefore, consider the network speed when you run the command. As there are many text files to be transferred, the connection can be slow.

The sample location of the log files for a container is /var/lib/docker/containers/containerId. There can be multiple .xxx-json.log files and all of them are required.

Figure 3. Viewing the Location of the Log Files for a Container

Troubleshooting Intersite Packet Flow in a Stretched BD Network

Figure 1 shows a stretched bridge domain (BD) network with Layer 2 Broadcast extension between sites. The BD is an L3 BD with ARP flood enabled, using L2 Unknown Unicast Proxy.

Figure 4. Intersite ARP Flow

Figrue 2 shows the same stretched BD network with focus on the unicast packet flow.

Figure 5. Intersite Unicast Flow

When the site5 host at 172.17.15.105 sends a unicast packet (for example, an ICMP echo) towards the site6 host with IP address 172.17.15.106, the following troubleshooting steps apply to the scenario, in which Site5-leaf101 has learned the site6 endpoint (EP), 172.17.15.106. If site5-leaf101 has not learned the site6 EP, it either floods the packet or sends spine501 data for proxy, based on the BD's Layer 2 unknown unicast forward settings.

Procedure


Step 1

On the site5 ingress leaf switch (leaf101 in this case), use the NX-OS style CLI show endpoint mac mac-address command to determine whether the system has learned both the source and destination EP, as in the following example:

Example:

leaf101# show endpoint mac 0000.6666.1716
Legend:
s - arp              O - peer-attached    a - local-aged       S - static
V - vpc-attached     p - peer-aged        M - span             L - local
B - bounce           H - vtep
+-----------------+---------------+-----------------+--------------+-------------+
      VLAN/         Encap           MAC Address       MAC Info/       Interface
      Domain        VLAN            IP Address        IP Info
+-----------------+---------------+-----------------+--------------+-------------+
3                    vlan-201       0000.6666.1716 L                 eth1/40
msite-site:vrf1      vlan-201       172.17.15.106 L                  eth1/40
Step 2

If both the local and remote EPs have been learned, and the policy permits the EPs to communicate (using the default contract permitting intra-EPG traffic), site5-leaf101 encapsulates the ICMP packet with the following data, and forwards the packet out through the fabric uplink port towards the spine switch:

  • VXLAN header's outer destination IP address, 6.6.6.1

  • VXLAN ID (VNID), 15794150

  • src-class (sclass), 16387

  • Source IP address, which is the site5-leaf101 TEP address through the VRF overlay-1

When the spine switch receives a packet from the VRF overlay-1, it verifies that the destination IP address (DIP) belongs to the MAC proxy address. For example, if the DIP 6.6.6.1 does not belong to the MAC proxy address of spine501, the spine switch forwards the packet like a normal IP packet, based on the longest match in the routing table. In this case, since the DIP matches a remote site's spine dataplane unciast TEP address, spine501 rewrites the outer source IP (SIP) address from site5-leaf101's TEP to site5's unicast dataplane unicast TEP (5.5.5.1). In this process, Spine501 should have learnt 6.6.6.1 through OSPF in the interpod network (IPN), so spine501 forwards the packet to the next hop,which is the IPN switch in this case.

Step 3

If there is a concern about the packet being forwarded, run ERSPAN in fabric mode on the APIC, in the NX-OS style CLI, to capture the outgoing packet from the uplink interface, using commands such as in the following example.

Example:

This example configures Fabric ERSPAN to capture outgoing packets from switch 101, interface eth1/1, with focus on VRF vrf1, and BD bd1, in tenant t1.

apic1# configure terminal 
apic1(config)# monitor access session mySession
apic1(config-monitor-fabric)# description "This is my fabric ERSPAN session"
apic1(config-monitor-fabric)# destination tenant t1 application app1 epg epg1 destination-ip 192.0.20.123 source-ip-prefix 10.0.20.1
apic1(config-monitor-fabric-dest)# erspan-id 100
apic1(config-monitor-fabric-dest)# ip dscp 42
apic1(config-monitor-fabric-dest)# ip ttl 16
apic1(config-monitor-fabric-dest)# mtu 9216
apic1(config-monitor-fabric-dest)# exit
apic1(config-monitor-fabric)# source interface eth 1/1 switch 101
apic1(config-monitor-fabric-source)# direction tx
apic1(config-monitor-fabric-source)# filter tenant t1 bd bd1
apic1(config-monitor-fabric-source)# filter tenant t1 vrf vrf1
apic1(config-monitor-fabric-source)# exit
apic1(config-monitor-fabric)# no shut

For more information, see Configuring SPAN in Cisco APIC NX-OS Style Command-Line Interface Configuration Guide.

Step 4

To verify whether the routing table contains an explicit entry for 6.6.6.1, use the NX-OS style command, show ip route 6.6.6.1 vrf overlay-1.

Step 5

When the next-hop interface has been found, use the show lldp neighbor command to determine whether the next hop of the interface , where 6.6.6.1 is learned from, is the expected IPN interface.

Use the Fabric ERSPAN to confirm that spine501 has recieved the packet from the leaf switch or forwarded it through the correct egress interface.

Step 6

When the packet arrives at IPN, because it is a unicast packet, IPN forwards the IP packet based on the routing table. To confirm the routing table has the correct/expected next-hop interface, use the command show ip route 6.6.6.1.

Use Fabric ERSPAN to capture one packet or a multiple packets from different interfaces. The next-hop interface from IPN in the topology above is spine601's interface.

If the packet arrvies at the site6 switch, spine601, it maps the remote site's ID based on the outer SIP, 5.5.5.1 to site5, together with the source VNID to 15794150. Also, spine601 translates that VNID to the VNID of the local BD,16449430, and translates the src-class ID, 16387, to the local EP src-clas, 32770. Then it performs a look up based on the destination-MAC address, within the scope of the translated VNID.

Step 7

To verify the VNID translation bewteen site5 and site6, on spine601 enter the show dcimgr repo vnid-maps verbose command.

Step 8

To verify the sclass translation between site5 and site6, on spine601 enter the show dcimgr repo sclass-maps command.

Finally, spine601 rewrites the outer destination to the TEP of site6-leaf101 and forwards the packet there.

Step 9

To determine if the packet was forwarded properly, go to the expected leaf switch (site6-leaf101) run Fabric ERSPAN to capture the packet.

Step 10

If the packet arrives at site6-leaf101, leaf101 performs a local lookup, based on the destination MAC within the scope of VNID, 16449430, to determine the egress interface. To determine the egress interface, enter the show endpoint mac mac-address command.

Step 11

To determine if the packet was forwarded properly, use access SPAN to capture the outgoing packet on the expected interface, using commands such as in the following example.

Example:

This example configures SPAN in access mode to capture packets being sent on leaf 101, interface eth1/2, with focus on EPG epg1 in tenant t1.

apic1# configure terminal 
apic1(config)# monitor access session mySession
apic1(config-monitor-access)# description "This is my SPAN session"
apic1(config-monitor-access)# destination interface eth 1/2 leaf 101
apic1(config-monitor-access)# source interface eth 1/1 leaf 101
apic1(config-monitor-access-source)# direction tx
apic1(config-monitor-access-source)# filter tenant t1 application app1 epg epg1
apic1(config-monitor-access-source)# exit
apic1(config-monitor-access)# no shut
apic1(config-monitor-access)# show run

This is the traditional SPAN configuration, local to an Access leaf node. Traffic originating from one or more access ports or port-channels can be monitored and sent to a destination port local to the same leaf node.

In the ACI fabric, you can also use an access mode ERSPAN configuration to monitor traffic originating from access ports, port-channels, and vPCs in one or more leaf nodes. For an ERSPAN session, the destination is always an EPG which can be deployed anywhere in the fabric. The monitored traffic is forwarded to the destination wherever the EPG is moved.

For more information, see Configuring SPAN in Cisco APIC NX-OS Style Command-Line Interface Configuration Guide.


Troubleshooting Inter-Site BGP Sessions

For Multi-Site BGP sessions to be established on site spine switches, the following settings are required:

  • The update source should have the mscp-etep flag set

  • The BGP peer type should be inter-site

  • The node role should be msite-speaker

To troubleshoot inter-site BGP session failures, verify the following MOs on the spines, using Visore:

  • fvNodeDef

  • bgpInfraPeerDef

  • bgpAsP

  • fvIntersitePeeringDef

  • l3extIntersiteLoopBackIfPDef

  • l3LbRtdIf with type set to inter-site

  • LoopBackId

  • ipv4If with the same loopback ID has the modeExtn property set to mscp-etep

If any of these MOs are missing, the BGP sessions do not come up.

For information about entering queries using Visore, see Accessing REST API Tools in Using the REST API in the Cisco APIC REST API Configuration Guide.


Note

Visore is supported on the Firefox, Chrome, and Safari browsers.


Procedure


Step 1

In a supported browser, enter the URL of the spine switch followed by /visore.html, as in the following example:

Example:

https://spine-ip-address/visore.html
Step 2

When prompted, log in using the same credentials you would use to log in to the spine CLI interface.

Step 3

Enter a query for l3LbRtdIf to verify that the type is inter-site.

Step 4

Enter a query for Ipv4IF to verify that the mode is cp-etep and the modeExtn is mscp-etep.

Step 5

Enter a query for Intersite BgpPeers to verify it was created with the inter-site type and uses the CP-TEP loopback address as the source interface.

Step 6

If any of these values is incorrect, go to the APIC for the site and correct the values. Return to the Sites tab in Multi-Site and click CONFIGURE INFRA, and then click Apply.


Troubleshooting Unicast or Multicast Traffic Failures

Use these steps in Visore to troubleshoot inter-site Unicast and Multicast traffic failures.

For information about entering queries using Visore, see Accessing REST API Tools in Using the REST API in the Cisco APIC REST API Configuration Guide.


Note

Visore is supported on the Firefox, Chrome, and Safari browsers.


Procedure


Step 1

In a supported browser, enter the URL of the spine switch followed by /visore.html, as in the following example:

Example:

https://spine-ip-address/visore.html
Step 2

When prompted, log in using the same credentials you would use to log in to the spine CLI interface.

Step 3

Enter a query to verify the fvIntersiteConnPDef and fvIntersiteMcastConnPDef MOs are under fvSiteConnPDef.

These are the remote site unicast and multicast DP TEPs.

Step 4

Enter a query to verify that the tunnelIf MO was created with the type dci-ucast or dci-mcast-hrep, and the destination is the same as the remote site DP TEPs.

Step 5

Check the local site unicast and multicast DP TEPs. Enter a query for fvIntersiteConnPDef under fvPodConnPDef and fvIntersiteMcastConnPDef under fvFabricExtConnPDef.

Step 6

Enter a query for the SiteLocal ipv4If MOs to verify they were created with the mode dci-ucast and dci-mcast-hrep and the ipv4Addr MO was configured under it with the same address as the DP TEP's.

Step 7

If any of these values is incorrect, go to the APIC for the site and correct the values. Return to the Sites tab in Multi-Site and click CONFIGURE INFRA, and then click Apply.


Troubleshooting Multi-Site Multicast Functionality

This task provides the steps for troubleshooting the Multi-Site multicast functionality in a stretched bridge domain (BD) use case. This topic assumes that the L2STRETCH and INTERSITEBUMTRAFFICALLOW options are enanbed in the stretched BD.


Note

In release 1.0(1), multicast routing is not supported. If you use the fabric as a querier, the fabric ID on each site must be the same. Check the release notes for the Cisco ACI Multi-Site release you have deployed, for other guidelines or restrictions that might affect multicast traffic.


Multicast traffic flows between sites in the following process:

  • TX (Sending) from local to remote site

    The Group IP Outer address (GIPo) traffic (part of Layer 2 Broadcast, Unknown Unicast, Multicast traffic) from the local site is Head-End Replicated (HREP) to each remote site from the Spine switch. The Destination IP address of the outer header (DIPo) is rewritten to a unicast address called as Multicast HREP TEP IP (also called Multicast DP-TEP IP) of the remote site. The Source IP address of the outer header (SIPo) is rewritten with the Unicast ETEP IP.

  • RX (Receiving) by remote from local site

    Incoming traffic destined to the local site Multicast HREP TEP IP address is translated. The APIC on the site derives the local site BD-GIPo from that data, and follows the regular GIPo lookup path from then on.

To troubleshoot problems in this process, log on to the spine switch CLIs and use the following steps:

Procedure


Step 1

To verify the locally configured Multi-Site TEP IP addresses, log on to the Supervisor module, and enter a command such as the following example:

Example:

swmp11-spine6# show ip interface vrf overlay-1 
loopback11, Interface status: protocol-up/link-up/admin-up, iod: 126, mode: dci-ucast, vrf_vnid: 16777199
  IP address: 33.20.1.1, IP subnet: 33.20.1.1/32
  IP primary address route-preference: 1, tag: 0
loopback12, Interface status: protocol-up/link-up/admin-up, iod: 127, mode: mcast-hrep, vrf_vnid: 16777199
  IP address: 33.30.1.1, IP subnet: 33.30.1.1/32
Step 2

To confirm the MFDM on the spine switch, log on to the Supervisor module and enter a command such as the following example:

Example:

swmp11-spine6# show forwarding distribution multicast hrep
MFDM HREP NODE TABLE
--------------------
IP Address: 0xb1e0101
Table Id: 2
Flags: 0x0
IfIndex: 0x18010009
Internal BD 0x1001
Internal encap 0xb54
Nexthop Information: (num: 5)
Address               Ifindex                   Dvif
0x14950a02        0x1a018019        0x1eb (Selected)  <== Selected NH to reach the HREP TEP IP
0x14950602        0x1a00e00f        0x0
0x14950802        0x1a010011        0x0
0x14950902        0x1a011012        0x0
0x14950b02        0x1a01901a        0x0
Step 3

To verify HREP TEP IP address reachability, log on to the Supervisor module, and enter a command such as the following example:

Example:

swmp11-spine6# show ip route 11.30.1.1 vrf overlay-1
11.30.1.1/32, ubest/mbest: 5/0
    *via 20.149.6.2, Eth1/15.15, [110/9], 1d21h, ospf-default, intra
    *via 20.149.8.2, Eth1/17.17, [110/9], 1d21h, ospf-default, intra
    *via 20.149.9.2, Eth1/18.18, [110/9], 1d21h, ospf-default, intra
    *via 20.149.10.2, Eth1/25.25, [110/9], 1d21h, ospf-default, intra
    *via 20.149.11.2, Eth1/26.26, [110/9], 1d21h, ospf-default, intra
     via 10.0.112.95, Eth2/21.77, [115/65], 1d21h, isis-isis_infra, L1
     via 10.0.112.95, Eth1/24.35, [115/65], 1d21h, isis-isis_infra, L1
     via 10.0.112.92, Eth2/19.76, [115/65], 1d21h, isis-isis_infra, L1
     via 10.0.112.92, Eth1/21.36, [115/65], 1d21h, isis-isis_infra, L1
     via 10.0.112.90, Eth2/17.75, [115/65], 1d21h, isis-isis_infra, L1
     via 10.0.112.90, Eth1/23.33, [115/65], 1d21h, isis-isis_infra, L1
Step 4

To verify the MFIB on the spine switch line card module, log on to the module as root and use an (vsh_lc) command such as the following example:

Example:

root@module-1# show forwarding multicast hrep tep_routes

****HREP TEP ROUTES****
------------------------------------------------------------------------------------------------------------
| Tep Ip    |   Tep If    |    NH Ip     |       NH If     |     NH dmac    |    NH dvif | Vlan Id | Bd Id |
------------------------------------------------------------------------------------------------------------
|22.30.1.1    |0x1801000b   |20.149.11.2    |0x1a01901a     |00c8.8bba.54bc |490  |2901   |4098   |
|11.30.1.1    |0x18010009   |20.149.10.2  |0x1a018019   |00c8.8bba.54bc |491  |2900   |4097   |
Step 5

To verify the multicast HREP TEP details for remote sites, log on to the spine switch line card module to investigate the SDK, by entering a command such as the following example:

Example:

root@module-1# show platform internal hal objects mcast hreptep
## Get Objects for mcast hreptep for Asic 0
  OBJECT 1:
Handle                                                    : 52303
tepifindex                                                : 0x18010009
tepipaddr                                                 : 11.30.1.1/0
intbdid                                                   : 0x1001
intvlanid                                                 : 0xb54
nexthopipaddr                                             : 20.149.10.2/0
nexthopifindex                                            : 0x1a018019
nexthopmacaddr                                            : 00:c8:8b:ba:54:bc
Step 6

To verify the GIPo route having HREP tunnels for the remote sites, log on to the spine switch Supervisor module and examine IS-IS details on the spine switch with a command, such as the following example:

Example:

swmp11-spine6# show isis internal mcast routes gipo
GIPo: 225.0.6.176 [TRANSIT]
    OIF List:
      Ethernet1/21.36
      Ethernet1/23.33
      Ethernet1/24.35
      Tunnel9         <== Multicast HREP tunnel for Remote Site 1
      Tunnel1         <== Multicast HREP tunnel for Remote Site 2
      Ethernet2/17.75
      Ethernet2/19.76
      Ethernet2/21.77
Step 7

To verify the GIPo route having HREP tunnels for the remote sites, examine the MRIB on the spine switches using a command, such as the following example:

Example:

swmp11-spine6# show ip mroute 225.0.6.176 vrf overlay-1
IP Multicast Routing Table for VRF "overlay-1"
(*, 225.0.6.176/32), uptime: 1d02h, isis
  Incoming interface: Null, RPF nbr: 0.0.0.0
  Outgoing interface list: (count: 8)
    Tunnel9, uptime: 1d01h
    Tunnel11, uptime: 1d02h
    Ethernet2/21.77, uptime: 1d02h
    Ethernet2/19.76, uptime: 1d02h
    Ethernet2/17.75, uptime: 1d02h
    Ethernet1/24.35, uptime: 1d02h
    Ethernet1/23.33, uptime: 1d02h
    Ethernet1/21.36, uptime: 1d02h
Step 8

To verify the MFIB on an FC,log on to the module as root, and use a command such as the following example:

Example:

root@module-24# show forwarding multicast route group 225.0.6.176 vrf all
  (*, 225.0.6.176/32), RPF Interface: NULL, flags: Dc
    Received Packets: 0 Bytes: 0
    Number of Outgoing Interfaces: 8
    Outgoing Interface List Index: 484
      Ethernet1/21.36 Outgoing Packets:N/A Bytes:N/A
      Ethernet1/23.33 Outgoing Packets:N/A Bytes:N/A
      Ethernet1/24.35 Outgoing Packets:N/A Bytes:N/A
      Tunnel9 Outgoing Packets:0 Bytes:0
      Tunnel11 Outgoing Packets:0 Bytes:0
      Ethernet2/17.75 Outgoing Packets:N/A Bytes:N/A
      Ethernet2/19.76 Outgoing Packets:N/A Bytes:N/A
      Ethernet2/21.77 Outgoing Packets:N/A Bytes:N/A
Step 9

To verify the GIPo route having HREP tunnels for the remote sites, examine the SDL on FC, using a command such as the following example:

Example:

root@module-24# show platform internal hal objects mcast l3mcastroute groupaddr 225.0.6.176/32 extensions
## Get Extended Objects for mcast l3mcastroute for Asic 0
  OBJECT 0:
Handle                                                    : 78705
groupaddr                                                 : 225.0.6.176/32
grpprefixlen                                              : 0x20
sourceaddr                                                : 0.0.0.0/32
ispimbidir                                                : Enabled
ctrlflags                                                 : UseMetFlag,
rtflags                                                   : none, UseMetEntry,
acirtpolicy                                               : none
 - - - - - - - - 
Relation Object repllistnextobj :
  rel-repllistnextobj-mcast-mcast_mcast_repl_list-handle  : 78702
  rel-repllistnextobj-mcast-mcast_mcast_repl_list-id      : 0x600001e4
Step 10

To verify the GIPo route to the remote sites, examine the replication list identified in the last step, using a command such as the following example:

Example:

root@module-24# show platform internal hal objects mcast mcastrepllist id 0x600001e4
## Get Objects for mcast mcastrepllist for Asic 0
- - - - - - - - - - 
Repl-List Asicpd Debug :
Entry-Num 0
Repl Entry Id:      0x1e5 Hw Epg Id:    4050 Hw Bd Id:   4050
Mc Id:                484 Met Id:        485 Encap Id:     -1
Sh Grp:                 0 Next Met Id:   749
Entry-Num 1
Repl Entry Id:      0x2ed Hw Epg Id:    4098 Hw Bd Id:   4098
Mc Id:                490 Met Id:        749 Encap Id:     -1
Sh Grp:                 0 Next Met Id:  1191
Entry-Num 2
Repl Entry Id:      0x3a4 Hw Epg Id:    4097 Hw Bd Id:   4097
Mc Id:                491 Met Id:       1191 Encap Id:     -1
Sh Grp:                 0 Next Met Id:     0
Step 11

To verify the VNID and GIPo mappings on the local (TX) and remote (RX) sites, enter a command such as the following example:

Example:

root@module-2# show platform internal hal objects dci vnidmap extensions | grep -B 5 -A 5 225.1.148.0

  OBJECT 182:
Handle                                                    : 26456
isbdvnid                                                  : Enabled
localvnid                                                 : 0xe78007
localgipo                                                 : 225.1.148.0/32
remotevnid                                                : 0xe1000c
remotevrfvnid                                             : 0x208019
islocalbdctrl                                             : Enabled
siteid                                                    : 0x3

 OBJECT 1285:
Handle                                                    : 29468
isbdvnid                                                  : Enabled
localvnid                                                 : 0xe78007
localgipo                                                 : 225.1.148.0/32
remotevnid                                                : 0xee7fa8
remotevrfvnid                                             : 0x2e000e
islocalbdctrl                                             : Enabled
siteid                                                    : 0x2