Cisco vPC Best Practices and Failure Scenarios
Cisco's Virtual Port Channel (vPC) technology is developed for Cisco NX-OS software for Cisco Nexus switches like Nexus 7000, Nexus 5000 (with or without Fabric Extender Nexus 2000), etc. Port-channel technology (IEEE 802.3ad) is defined in which multiple links between two devices are bundled to form a single logical link. This logical link can be used to forward traffic by using a load-balancing algorithm that equally balances traffic across the physical links. It has one limitation that it operates only between two devices. Thus, it is not hardware-failure-proof.
In vPC, a pair of switches acting as vPC peer endpoints look like a single entity to port-channel-attached devices, although the two devices that act as logical port-channel endpoint are still two separate devices. This provides hardware redundancy with port-channel benefits. Both switches form a vPC Domain, in which one vPC switch is Primary while the other is secondary.
vPC Best Practices
Cisco recommends following best practices for vPC configurations:
Figure 1 shows a sample diagram with above recommendations followed.
Figure 1. Sample Network Topology using vPC
Failure Scenarios
In figure 1, VLANs 10 & 20 are non-vPC VLANs, while VLANs 40, 50, 60 & 70 are vPC VLANs.
Scenario 1: