VPC Peer Links – Why They Prevent Loops on Switches

ciscoswitchvpn

I'm new to this SE forum so I hope I don't sound too dumb.

I was setting up a new rack with servers and switches and I connected the switches up to the rest of the network but I forgot to hook up the vpc peer link bewteen two of my switches on the rack (the network guy said the two switches basically act as one looking at it from a level 2 perspective, the switches are an irf pair I guess).

He went on to say by not connecting the two vpc peer links it created a loop in the network, which is why I had trouble communicating with some of the servers in the rack.

How does not having the vpc peer links create a loop? and what exactly is going on that makes it a loop?

I doubt it matters, but I'm using cisco Nexus 3548 switches.

Thanks!

Best Answer

You probably didn't create a loop in your network. However, without the peer links, your two switches, instead of acting as one switch, are acting as two independent switches and dropping half of your traffic. That's likely why you couldn't communicate with some of your servers.

A short explanation:

Your vPC sends traffic across both links to each of the switches. With the vPC peer links, the switches can both forward the frames to the destination.
Without the link, one of the switches will shut down the links to prevent loops. So half your traffic is not reaching the destination.

One of my former colleagues wrote a more detailed explanation here.

Related Topic