Home / Troubleshooting / Network & Connectivity Problems

Network & Connectivity Problems

Symptoms: clients can't mount or connect, "no route to host", LIFs that flap or won't come home, transfers that crawl, iSCSI sessions that drop. This guide walks the ONTAP command path from link to LIF to route to packet.

ONTAP network triage: link, LIF, route, packet

1. First, decide which network is failing

ONTAP participates in up to three logically separate networks, and the fix is different for each:

NetworkWho is on itTypical failure symptom
Data / client networkNFS, SMB, iSCSI, S3 clients hitting SVM LIFsMounts time out, "no route to host", IO errors, slow throughput
Cluster interconnectNodes talking to each other (e0a/e0b or e4a-e4f)Cluster haphazard, cluster show shows nodes unreachable, volume move stalls
Management / node networkCluster mgmt LIF, node mgmt LIFs, SSH/HTTPSCan't SSH in, ONTAP System Manager unreachable, monitoring down

Ask: can clients reach the LIF IP at all? If a ping to the LIF address fails while the node's other LIFs work, it's LIF- or switchport-level. If nothing on the subnet works, check the switch first — ONTAP is frequently the victim of a misconfigured port-channel or VLAN, not the cause.

2. Is the LIF where you think it is?

# The single most useful command: every LIF, current location, state
network interface show -fields vserver,lif,role,home-node,home-port,curr-node,curr-port,address,state,failover-policy
# Short form
network interface show
# Detail for one LIF
network interface show -vserver vs1 -lif lif1 -instance
iSCSI LIFs should not auto-failover A failover that moves an iSCSI LIF to another node forces every session on that LIF to reconnect — worse than the outage it's trying to avoid. Best practice: put iSCSI LIFs in their own failover group and set -failover-policy disabled (or sfo-partner-only if you must), and use iscsi node show -instance to confirm hosts see all paths.

3. Link-level problems: ports, SFPs, switchports

# Every port: link state, health, speed, ifgrp membership
network port show -fields node,port,role,link,admin-status,health,ifgrp,mtu,speed
# Detailed counters for one port
network port show -node node1 -port e0c -instance
# ifgrp members and their link states
network ifgrp show
# Classic: error counters per interface (tx errors, rx errors, discards)
system node run -node node1 -command netstat -x | grep -A6 "e0c"
# Per-interface drops and input/output errors
system node run -node node1 -command netstat -i
# Or via ONTAP statistics
statistics show -object nic -instance node1:e0c -sample-id netchk
# (stop with)
statistics stop -sample-id netchk

4. MTU / jumbo-frame mismatches (the classic "small works, large fails")

If NFS mounts, pings, and small transfers work but large reads/writes hang or time out, suspect MTU. ONTAP ports default to 1500; jumbo environments set 9000 on the node port, the switch (including every hop), and the client. One 1500 hop in the middle of a 9000 path silently breaks large packets.

# What MTU is configured on the ONTAP ports?
network port show -fields node,port,mtu
# Ping with the DF (don't-fragment) bit and a jumbo payload, from ONTAP itself
network ping -vserver vs1 -destination 10.1.1.50 -size 8972 -df true -count 3
# From a Linux client against the LIF
# ping -M do -s 8972 10.1.1.101

5. Routing and reachability

# Routes ONTAP knows about, per SVM
network routes show -vserver vs1
# Default route(s) — every data SVM needs one or a subnet route
network routes show -vserver vs1 -fields destination,gateway,metric
# Where LIFs are allowed to live (routing groups tie LIFs to routes)
network routing-groups show -vserver vs1
# Test reachability from ONTAP's perspective (9.9+; older: vserver ping)
network ping -vserver vs1 -destination 10.1.1.50 -count 3
network traceroute -vserver vs1 -destination 10.1.1.50

6. Name resolution: NFS by hostname, AD, NIS

Many "network" failures are really name-resolution failures — the mount works by IP but not by hostname, or SMB/Kerberos fails because the SVM can't resolve the domain controller.

# What DNS servers does the SVM use, and can it reach them?
vserver services name-service dns show -vserver vs1
vserver services name-service dns check -vserver vs1
# Check name resolution for a specific host from ONTAP
vserver services name-service getxxbyyy -vserver vs1 -hostname dc01.example.com -type host
# NIS domain status (if used)
vserver services name-service nis-domain show -vserver vs1

7. Packet path validation and captures

# packet-tracer replays a packet through the data path and tells you the verdict
network packet-tracer -vserver vs1 -source 10.1.1.50 -destination 10.1.1.101 -protocol nfs
# More detail with the port and connection ID
network packet-tracer -vserver vs1 -source 10.1.1.50 -source-port 63456 -destination 10.1.1.101 -destination-port 2049 -protocol tcp -connection-id 1
# Live capture on a port (with filters to keep it small)
network packet capture start -node node1 -port e0c -duration 30 -host 10.1.1.101 -vserver vs1
network packet capture show
network packet capture stop -node node1 -port e0c

8. ifgrp / LACP: hashing, member mismatch, single-flow limits

# ifgrp config: members, mode (lacp/static), policy, mtu
network ifgrp show -fields node,ifgrp,mode,policy,mtu,port
# Which node ports belong to which ifgrp and their link state
network port show -fields node,port,ifgrp,link

9. iSCSI-specific connectivity issues

# Which LIFs are iSCSI, and are all paths visible to hosts?
iscsi node show -instance
iscsi interface show -vserver vs1
# Sessions per host
iscsi session show -vserver vs1
# ALUA path state (all paths should be active/optimized or active/non-optimized)
iscsi node show -instance | grep -i -A3 alua

10. Cluster interconnect problems

# Cluster health from one node
cluster ping-cluster -node node1
# Interconnect ports (role = cluster) and their link state
network port show -fields node,port,role,link,speed
# Which node is the mediator/epsilon, and are all nodes in the quorum?
cluster show

11. Prevention checklist

← All troubleshooting guides