Latest

Introduction to Cisco Nexus vPC and Configuration

vPC stands for Virtual Port Channel and is a virtualized technology, So it allows links that are physically connected to two different Cisco Nexus 7000 Series devices to appear as a single port channel to a third device. 

Fig 1.1- Cisco Nexus vPC

The third device can be a switch, server, or any other networking device that supports link aggregation technology. 
  • It actually eliminates Spanning Tree Protocol blocked ports
  • with the help of vPC, you can use all the uplink available bandwidths
  • Allows dual homed servers to operate in active-active mode
  • Providing Fast convergence on link failures
  • Providing dual active default gateways for servers
  • Simplify your network design and build high resilient and robust Layer 2 Network.
  • Excellent Scalability and seamless virtual machine mobility
Let me talk about the basic configurations for Cisco Nexus vPC on the switches 

Cisco Nexus Switch 1:
!
interface mgmt0
vrf member management
ip address 192.168.1.7/25
!
feature vpc
!
vpc domain 11
peer-switch
role priority 1
peer-keepalive destination 192.168.1.8
delay restore 60
peer-gateway
!
interface port-channel1
switchport mode trunk
spanning-tree port type network
vpc peer-link
!
interface Ethernet2/1
switchport mode trunk
channel-group 1 mode active
!
interface Ethernet2/2
switchport mode trunk
channel-group 1 mode active
!
interface port-channel200
switchport mode trunk
vpc 200
!
interface Ethernet1/27
switchport mode trunk
channel-group 200 mode active
!

Cisco Nexus Switch 2:
!
interface mgmt0
vrf member management
ip address 192.168.1.8/25
!
feature vpc
!
vpc domain 11
peer-switch
role priority 1
peer-keepalive destination 192.168.1.7
delay restore 60
peer-gateway
!
interface port-channel1
switchport mode trunk
spanning-tree port type network
vpc peer-link
!
interface Ethernet2/1
switchport mode trunk
channel-group 1 mode active
!
interface Ethernet2/2
switchport mode trunk
channel-group 1 mode active
!
interface port-channel200
switchport mode trunk
vpc 200
!
interface Ethernet1/27
switchport mode trunk
channel-group 200 mode active
!