Troubleshoot › Symptom cases › vPC Consistency Check Failed
Data Center · Nexus vPCEngineers search this as: 'vpc consistency check failed' · 'vpc type-1 configuration incompatible' · 'ospf over vpc not working'
Evidence: Cisco documentation only — not yet lab-verified
A dual-homed server, storage node, or downstream switch is plugged into both Nexus switches of a vPC pair — and it has lost one leg, or both. On the switches, `show vpc` says the consistency check failed, a member vPC sits `down*` with the reason 'Compatibility check failed', or a Type-2 status reads failed while every link light is green. Sometimes nothing looks down at all: the vPC is up, but an SVI exists on only one partner, so traffic that lands on the wrong partner takes a strange path — or, in the routing variant of this fault, an OSPF adjacency that should form over a vPC VLAN never forms, or forms and later drops.
N9K-1# show vpc
vPC domain id : 1
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : failed
Configuration inconsistency reason: vPC type-1 configuration incompatible - STP Mode inconsistent
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : primary
Graceful Consistency Check : Enabled
vPC is a promise two switches make to a third device: 'we are one port-channel.' That promise is only safe if both partners forward identically — so before a vPC comes up, and whenever the configuration changes, the partners exchange and compare two tiers of settings.
Spanning-tree mode and port type, member speed, duplex, MTU, LACP mode, native VLAN. With the default graceful check, the primary keeps forwarding and the secondary suspends its side — which is why the classic report is 'it works, but only through one switch'.
SVIs and their routing state, QoS values. A Type-2 mismatch never suspends anything: it logs a warning and forwarding continues, possibly wrongly — which is why Type-2 is the more dangerous failure to ignore.
Until the peer-link first comes up, all vPCs stay suspended, and a later peer-link failure suspends the secondary's vPCs. The keepalive is the tiebreaker that stops both partners going active alone if the peer-link dies.
A Layer-3 device that peers with BOTH vPC partners over a vPC VLAN is only supported when peer-gateway is enabled first and layer3 peer-router is then configured under the vPC domain on BOTH peers. layer3 peer-router stops the TTL being decremented for routing packets that cross the peer-link — OSPF hellos travel with TTL 1, so without it an adjacency can form by hashing luck and later fall (documented failure: stuck in EXSTART) when the hashing changes or a vPC leg drops. Configured on one peer only, the operational state stays Disabled. Platform and version support varies (see the platform card below), and peering between the two vPC partners themselves, over the peer-link, is a different, baseline-supported topology — do not confuse the two.
Cisco Nexus NX-OS (N3K/N5K/N6K/N7K/N9K vPC domains). The graceful consistency check is enabled by default (introduced in NX-OS 5.0(2)N2(1) on the Nexus 5000 lineage): on a Type-1 mismatch the PRIMARY keeps its vPCs up and the SECONDARY suspends its side. Routing adjacencies over a vPC VLAN need layer3 peer-router explicitly configured and are version/platform dependent — Nexus 9000 from NX-OS 7.0(3)I5(1), Nexus 7000 from 7.2(0)D1(1) (unsupported on M1, F1, F2 and M2 linecards), Nexus 5000/6000 from 7.3(0)N1(1) (all per Cisco doc 118997, Table 2). Never present one platform's rule as universal; separate Layer-3 links for routing adjacencies are the always-safe design.
| Root cause | How you recognize it |
|---|---|
| Type-1 global mismatch | The two peers disagree on a domain-wide setting — Cisco's worked example is spanning-tree mode, Rapid-PVST on one peer and MST on the other. Every vPC in the domain is exposed; with graceful check the secondary suspends its side. |
| Type-1 per-vPC mismatch | One vPC's own parameters differ between the peers: member speed (10G vs 100G in Cisco's example), STP port type (Edge Trunk vs Default in its other example), MTU, LACP mode, native VLAN, or duplex. Only that vPC suspends — its neighbours keep working, which is the fingerprint. |
| Peer-link down | A dead cable or SFP, or a peer-link port-channel built wrong: it must be an L2 trunk carrying only vPC VLANs, with STP port type network and Bridge Assurance on both peers. Before the peer-link has ever come up, all vPCs stay suspended; if it fails later, the secondary suspends its vPCs until it recovers. |
| Peer-keepalive not reachable | Wrong VRF for the keepalive, management path down, or source/destination addresses that cannot reach each other (check ARP and ping in that VRF). Remember: the vPC can stay up in this state — what you have lost is the dual-active safety net, and if the peer-link then fails, both partners can go active alone. |
| Type-2 SVI incompatibility | 'SVI type-2 configuration incompatible': a VLAN interface exists, is admin-up, or has routing enabled on one peer and not the other. No suspension, only a syslog warning — and uneven forwarding on that VLAN while everything reports up. This is the cause engineers walk past because nothing is red. |
| vPC ID / member interface mismatch | The member port-channel on one peer carries a different vPC ID, or its member interfaces are not the twin of the other peer's. show vpc names the member as failed; show vpc consistency-parameters vpc <id> shows exactly which value disagrees. |
| Routing over vPC without layer3 peer-router (design variant) | A Layer-3 device peers with both vPC partners over a vPC VLAN, but peer-gateway + layer3 peer-router are not configured on both peers — or the platform/NX-OS version does not support it. It presents as a routing fault (adjacency never forms, sticks in EXSTART, or drops when a leg fails) on top of a vPC that may itself report fully consistent. Check the Operational Layer3 Peer-router line before blaming OSPF. |
Did this fix it for you? One tap — anonymous, nothing to type, and nothing you send is ever published.
Which cause was yours?
Thanks — your tap helps the next engineer. A run of "still broken" reports sends this page back to the top of our re-check list.
Swipe sideways to see the full diagram →
The two partners compare notes across the peer-link before they forward together. Above, their spanning-tree modes disagree — a Type-1 fault: the secondary sits out and the host runs on one switch. A Type-2 fault is quieter: nothing suspends, and forwarding can be wrong while every light stays green.
The two tiers exist because the two mistakes cost differently. A Type-1 disagreement (spanning-tree mode, member speed, MTU) can loop or black-hole traffic, so the pair refuses to forward together: with the default graceful check the primary keeps its vPCs up and the secondary suspends its side. A Type-2 disagreement (an SVI present on one peer only, QoS values) cannot loop anything, so the pair warns and keeps forwarding. Read which tier failed before you read anything else — it tells you whether you are restoring service or hunting a silent wrongness.
Treat the peer-link as the pair's shared nervous system, not as 'just a trunk'. It carries the consistency comparison itself, plus control traffic and any orphan traffic — and until it has come up at least once, every vPC in the domain stays suspended by design. Its build is specific: an L2 trunk carrying only vPC VLANs, STP port type network, Bridge Assurance on both ends. If every vPC fails at once, suspect the peer-link before any individual vPC's parameters.
The peer-keepalive is a separate, humble UDP conversation over a management path — and it can be down while the vPC is fully up, because the peer-link is what actually carries forwarding. What a dead keepalive removes is the tiebreaker: if the peer-link then fails, neither partner can prove the other is dead, and both can go active alone. Fix a dead keepalive the same day even when 'nothing is broken' — it is the safety net, and you find out it was missing at the worst possible moment.
A Layer-3 device peering with both vPC partners over a vPC VLAN is a supported design only with two switches flipped, in order: peer-gateway first, then layer3 peer-router, on BOTH peers. The reason is one number: OSPF hellos carry TTL 1, and layer3 peer-router stops the TTL decrement for routing packets crossing the peer-link. Miss it, and the adjacency can form by hashing luck, sit stable for weeks, then drop into EXSTART the day a leg fails or the hashing changes. If your platform or NX-OS version is not on Cisco's supported list (doc 118997), no knob fixes it — separate Layer-3 links are the design.
Most consistency failures are not component failures at all — they are drift. One peer got a spanning-tree change during an incident, a port-channel was built from memory instead of the template, an SVI was added for a test and never mirrored. The consistency check is simply the first system honest enough to refuse. The operational fix is process: changes touch both peers or neither, and the pair's running-configs get diffed on a schedule, not after an outage.
If you hand this to Cisco TAC, send: 'show vpc' and 'show vpc brief' from both peers taken in the same minute, the full consistency-parameters outputs (global, the failed vPC, the peer-link interface, and vlans), the keepalive state with ping and ARP proof in its VRF, both complete running-configs, and both 'show version' lines. That bundle answers their first five questions and turns a week of callbacks into one reply.
| Type-1 — must match | Type-2 — should match | |
|---|---|---|
| Examples | STP mode & port type, member speed, duplex, MTU, LACP mode, native VLAN | SVIs and their routing state, QoS values |
| On mismatch | vPC suspends — with the graceful check, the secondary sits out | Warning only — the vPC stays up |
| What you see | Member down* — "Compatibility check failed"; the host loses a leg | Everything green; forwarding quietly uneven |
Work this ladder before you open a case. Consistency failures are almost always a real mismatch your eyes scrolled past, a marginal peer-link optic, or drift from the last one-sided change — and if yours survives all five checks, you will hand TAC a case they can answer in one reply.
Two routers that should exchange routes sit forever in the state EXSTART (or bounce between EXSTART and DOWN).
A whole VLAN — sometimes a whole switch or site — melts down at once.
Two routing domains — classically OSPF on one side and EIGRP or RIP on the other — are joined at TWO boundary routers that copy routes into each other (mutual redistribution).