SlideShare a Scribd company logo
2
Most read
7
Most read
17
Most read
Virtual Portchannels
www.silantia.com1
 Virtual port-channel is Multichassis link aggregation technology.
You can configured a port-channel connected to two different
switches.
 Since it is a port-channel advantage here is to avoid spanning
tree blocking ports for any given VLAN that are allowed on that
vPC.
 Two switches that emulate as a single switch has to part of a
new entity called a Domain ID. These two switches are called
vPC peers.
vPC peer-link
vPC 10
vPC peer keepalive -
link
Virtual Portchannels
www.silantia.com2
 Peer-link: A Layer 2 trunked port-channel between two Nexus
switches that are part of same domain.
 In each vPC domain one switch is elected as a primary and
other is secondary. Only 10 Gig ports are supported as peer-
link port-channel member ports.
 vPC peer-link ports can reside on F1 series line cards but it has
to be a 10G port, When using M1 32 port line card for peer-link
make sure peer-link ports are in dedicated rate mode otherwise
peer-link won’t come up.
 Peer-link is used for control functions like synch ARP
tables, MAC address table and IGMP snooping table between
vPC peers.
Virtual Portchannels
www.silantia.com3
 Peer-link keep alive link: This is Layer 3 routed link used for
heartbeat between two vPC peers.
 Peer-keepalive uses UDP port 3200 and every one second
sends packet to check health of the peer.
 In case peer-link fails peer-keepalive link is used to find out if
other peer is alive and active.
 Configuring peer-keepalive in management vrf is best practice
because you do not need to dedicate a1 G port for peer-
keepalive and management port give direct access to CPU for
health check.
 vPC vlan: Any vlan that is allowed on vpc peer-link is called
vPC vlan.
 Peer-keepalive link can be formed using supervisor mgmt ports
or using a routed port on M1 line card.
Virtual Portchannels
www.silantia.com4
 Consistency parameters: There are some configuration
parameters has to be same on both vPC peers in order for vPC
to work properly.
 Some configuration settings has to be same on Global level and
some has to be same at interface level. E.g MTU settings,
Network QoS, Spanning tree mode, etc.
There are two types of consistency parameters
 Any type-1 consistency parameter mismatch will suspend the
vPC.
 Any type-2 consistency parameter mismatch keeps vpc up but
causes odd forwarding behavior
Virtual Portchannels
www.silantia.com5
 A vPC port is a port that is assigned to a vPC channel group.
The ports that form the vPC are split between two vPC peers
and are referred to as vPC member ports.
 Orphan ports: Any port that is connected to any one vPC peer
and are not port of any vPC is called orphaned port.
Virtual port-channels
 Domain ID has to be unique.
 It is imp to remember that vPC is layer 2 bundling technology. You
can only configure Layer 2 virtual port-channels and both vpc peers
are two independent routers. No L3 routing information synchronizes
with each other.
 NX-OS uses Cisco Fabric Services (CFS) to synchronize the state
information (MAC address table, IGMP snooping database etc)
between vpc peers.
N7010A-Dist# show cfs ?
application Show locally registered applications
internal Show internal infomation
lock Show state of application's logical/physical locks
merge Show cfs merge information
peers Show all the peers in the physical fabric
regions Show all the applications with peers and region
information
status Show current status of CFS
 Role priority can be configured to manually elect vPC role. vPC does
not support role preemption. (Primary, Operational Secondary)
Virtual Portchannels
www.silantia.com7
 # 1 Design rule for VPC topologies : Always dual attach
devices to both vpc peers to get predictable traffic
flow. For L3 connections use routed ports and routing
protocol’s ECMP.
 vPC will not allow traffic that was RECEIVED over a
vPC peer-link to be sent out a vPC member port. This
is a vPC loop prevention logic.
Configuring vPC
www.silantia.com8
Step 1: Enabled feature vpc and LACP.
Step 2: Configure vdc Domain and define role priority etc.
Step 3: Configure L3 routed ports for Peer-keepalive link in a
separate VRF. Verify peer-keepalive is working before
proceeding to next step.
Step 4: Configure a Layer 2 LACP portchannel with two 10 Gig
ports as members. Make it as trunk link.
Step 5: Configured this portchannel as vpc peer-link.
Step 6: Configure vPCs with same vPC number on both switches.
Step 7: Verify using show vpc command.
Above steps should be followed in order.
Configuring vPC
N7010B-Dist# sh run vpc
feature vpc
vpc domain 1
peer-switch
peer-keepalive destination
10.23.242.220 source 10.23.242.225
vrf management
peer-gateway
ipv6 nd synchronize
ip arp synchronize
interface port-channel1
switchport mode trunk
vpc peer-link
interface port-channel10
vpc 10
Use VRF
management
Presents both vpc
peers as single
switch to access
switches
To enable local
forwarding of
packets destined to
peer’s MAC
address
To enable ARP/ND
sych on both peer
switches for faster
convergence
N7010A-Dist# sh run vpc
feature vpc
vpc domain 1
peer-switch
peer-keepalive destination 10.23.242.225
source 10.23.242.220 vrf management
peer-gateway
ipv6 nd synchronize
ip arp synchronize
interface port-channel1
switchport mode trunk
vpc peer-link
interface port-channel10
vpc 10
Configuring vPC
www.silantia.com10
 “peer-switch” command presents both vPC peers as single
switch to access switches. Emulates same Bridge ID for
BPDUs.
 “peer-gateway” command allows a vPC peer to respond both
the the HSRP virtual and the real MAC address of both itself
and it’s peer.
 vPC primary switch election is based on role priority, lower
priority wins if not, lower system mac wins.
 Role determines who will process BPDUs and LACPDUs.
Monitoring and troubleshooting vPC
 show vpc
 show vpc peer-keepalive
 show vpc orphan-ports
 L2 Ports that are not part of vpc and attached to only one
vpc peer.
 show vpc consistency-parameter global
 Shows global consistency paramters.
 show vpc role
 Shows who is primary and secondary.
Unsupported vPC topologies
L2
L3
OSPF
OSPF OSPF
OSPF
Vpc peer-link
OSPF
supported unsupported
Supported vPC topologies
L2
L3
OSPF
OSPF OSPF
OSPF
Vpc peer-link
vPC 10
vPC Failure Scenario
 When peer-link fails both vPC communicates over peer
keepalive-link to find if it is active. In this case secondary
vPC switch suspends all its interface.
 When peerkeepalive-link fails no impact to existing vPC
because peer-link is up.
 When peer-link and peer-keepalive link both fails then both
peers enters into a dual active scenario.
 When primary switch fails secondary switch assumes role
of primary (operational primary) but when original primary
switch recovers it stays in operational secondary mode.
Virtual Portchannels
www.silantia.com15
 Double sided vPC: In double-sided vPC both the Nexus 7000 and Nexus 5000
switches run vPC. Each vPC pair of Nexus 5000 switches is connected to the Nexus
7000 vPC pair using a unique vPC
Virtual Portchannels and FEX
www.silantia.com16
 FEX ports can be a member ports for vPC.
 FEX can be dual attached to both vPC peers.
Enhanced vPC
www.silantia.com17
FEX is dual attached to each Nexus 5500 and Severs are also dual attached
to both FEX with active active NIC teaming.
 Logically a similar HA model to that currently provided by dual supervisor based modular
switch.
 Full redundancy for supervisor, linecard, fabric via vPC and cable or NIC failure via Port-
channeling.
vPC+
www.silantia.com18
 vPC can be used in conjunction with fabricpath which
allowes servers to be connected to two fabricpath
enabled switches.
 Configure vPC peer-link in fabricpath mode.
interface po 10
switchport mode fabricpath
 Both switches emulates a new switch id.
vpc domain 70
fabricpath switch-id 70
Hence converting from vPC to vPC+ is distruptive
process because it requires peer-link to be
reconfigured.
vPC and vPC+
www.silantia.com19
 Q & A.

More Related Content

What's hot (20)

PDF
GRE (generic routing encapsulation)
Netwax Lab
 
PDF
Building DataCenter networks with VXLAN BGP-EVPN
Cisco Canada
 
PPTX
VXLAN
SAliyev1
 
PPTX
Link Aggregation Control Protocol
Kashif Latif
 
PDF
Segment Routing
APNIC
 
PDF
Ccna notes
Ramesh Kumar
 
PDF
Cisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
Bruno Teixeira
 
PDF
IOS Cisco - Cheat sheets
Alejandro Marin
 
PDF
VRRP (virtual router redundancy protocol)
Netwax Lab
 
PDF
VRF (virtual routing and forwarding)
Netwax Lab
 
PPTX
MP BGP-EVPN 실전기술-1편(개념잡기)
JuHwan Lee
 
PDF
BGP Techniques for Network Operators
APNIC
 
PDF
Deploying IP/MPLS VPN - Cisco Networkers 2010
Febrian ‎
 
PDF
Cisco Router Basic Configuration
Prof. Erwin Globio
 
PPTX
GRE (Generic Routing Encapsulation)
NetProtocol Xpert
 
PPTX
Virtual Routing and Forwarding, (VRF-lite)
NetProtocol Xpert
 
PDF
VXLAN Design and Deployment.pdf
NelAlv1
 
PPTX
Dynamic routing protocols (CCNA)
Varinder Singh Walia
 
PPTX
BGP Path Selection & Attributes BGP Weight & BGP AS-Path Prepending
Shawan Roy
 
PPT
Quality of service
Yasser El Harbili
 
GRE (generic routing encapsulation)
Netwax Lab
 
Building DataCenter networks with VXLAN BGP-EVPN
Cisco Canada
 
VXLAN
SAliyev1
 
Link Aggregation Control Protocol
Kashif Latif
 
Segment Routing
APNIC
 
Ccna notes
Ramesh Kumar
 
Cisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
Bruno Teixeira
 
IOS Cisco - Cheat sheets
Alejandro Marin
 
VRRP (virtual router redundancy protocol)
Netwax Lab
 
VRF (virtual routing and forwarding)
Netwax Lab
 
MP BGP-EVPN 실전기술-1편(개념잡기)
JuHwan Lee
 
BGP Techniques for Network Operators
APNIC
 
Deploying IP/MPLS VPN - Cisco Networkers 2010
Febrian ‎
 
Cisco Router Basic Configuration
Prof. Erwin Globio
 
GRE (Generic Routing Encapsulation)
NetProtocol Xpert
 
Virtual Routing and Forwarding, (VRF-lite)
NetProtocol Xpert
 
VXLAN Design and Deployment.pdf
NelAlv1
 
Dynamic routing protocols (CCNA)
Varinder Singh Walia
 
BGP Path Selection & Attributes BGP Weight & BGP AS-Path Prepending
Shawan Roy
 
Quality of service
Yasser El Harbili
 

Viewers also liked (18)

PPTX
Community tech talk virtual port channel ( v pc ) operations and design best ...
crojasmo
 
PPTX
Ucs security part2
Krunal Shah
 
PPTX
FEX -PPT By NETWORKERS HOME
networkershome
 
PPTX
CCNA Data Center Ethernet Connections
NetProtocol Xpert
 
PPTX
CCNA Data Center Ethernet Communication Standards
NetProtocol Xpert
 
PPTX
Cisco nx os
Utpal Sinha
 
PPTX
VDC by NETWORKERS HOME
networkershome
 
PDF
Storage networking-technologies
sagaroceanic11
 
PPTX
Cisco storage networking protect scale-simplify_dec_2016
Tony Antony
 
PPTX
Nexus 7000 Series Innovations: M3 Module, DCI, Scale
Tony Antony
 
PPTX
CCNA Data Center Functions of Networking
NetProtocol Xpert
 
PPT
ASBIS: Virtualization Aware Networking - Cisco Nexus 1000V
ASBIS SK
 
PPTX
Nexus 1000V Support for VMWare vSphere 6
Tony Antony
 
PDF
vPC_Final
Pratik Bhide
 
PPTX
CCNA Data Center Host to Host Communications
NetProtocol Xpert
 
PPTX
Cisco nexus series
Anwesh Dixit
 
PPTX
VMware Networking, CISCO Nexus 1000V, and CISCO UCS VM-FEX
David Pasek
 
PDF
Cisco Nexus Family Platform Overview
Cybera Inc.
 
Community tech talk virtual port channel ( v pc ) operations and design best ...
crojasmo
 
Ucs security part2
Krunal Shah
 
FEX -PPT By NETWORKERS HOME
networkershome
 
CCNA Data Center Ethernet Connections
NetProtocol Xpert
 
CCNA Data Center Ethernet Communication Standards
NetProtocol Xpert
 
Cisco nx os
Utpal Sinha
 
VDC by NETWORKERS HOME
networkershome
 
Storage networking-technologies
sagaroceanic11
 
Cisco storage networking protect scale-simplify_dec_2016
Tony Antony
 
Nexus 7000 Series Innovations: M3 Module, DCI, Scale
Tony Antony
 
CCNA Data Center Functions of Networking
NetProtocol Xpert
 
ASBIS: Virtualization Aware Networking - Cisco Nexus 1000V
ASBIS SK
 
Nexus 1000V Support for VMWare vSphere 6
Tony Antony
 
vPC_Final
Pratik Bhide
 
CCNA Data Center Host to Host Communications
NetProtocol Xpert
 
Cisco nexus series
Anwesh Dixit
 
VMware Networking, CISCO Nexus 1000V, and CISCO UCS VM-FEX
David Pasek
 
Cisco Nexus Family Platform Overview
Cybera Inc.
 
Ad

Similar to Vpc notes (20)

PDF
VXLAN-vPC-Fabric-Design_and Best_Practices
HaseebAhmed360060
 
PPTX
Fhrp notes
Krunal Shah
 
PPTX
Nexus 1000v
Krunal Shah
 
PDF
Virtual Switch System.pdf
TrungNguyen335833
 
PDF
vPC techonology for full ha from dc core to baremetel server.
Ajeet Singh
 
PPTX
EMEA Airheads- Virtual Switching Framework- Aruba OS Switch
Aruba, a Hewlett Packard Enterprise company
 
PPT
IBM System Networking Easy Connect Mode
IBM System Networking
 
PPTX
VMware vSphere 4.1 deep dive - part 2
Louis Göhl
 
PDF
NFV в сетях операторов связи
TERMILAB. Интернет - лаборатория
 
PPTX
Automate programmable fabric in seconds with an open standards based solution
Tony Antony
 
PDF
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld
 
PPTX
Scaleway Approach to VXLAN EVPN Fabric
Scaleway
 
PDF
OpenNebulaConf2018 - Scalable L2 overlay networks with routed VXLAN / BGP EVP...
OpenNebula Project
 
PPT
Deploying Carrier Ethernet Features on Cisco ASR 9000
Vinod Kumar Balasubramanyam
 
PPT
Deploying Carrier Ethernet features on ASR 9000
Vinod Kumar Balasubramanyam
 
PPTX
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld
 
PDF
5 продвинутых технологий Cisco, которые нужно знать
SkillFactory
 
DOCX
Vss vs.vpc
IT Tech
 
PDF
Net1674 final emea
VMworld
 
PPTX
vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01
Chrysostomos Christofi
 
VXLAN-vPC-Fabric-Design_and Best_Practices
HaseebAhmed360060
 
Fhrp notes
Krunal Shah
 
Nexus 1000v
Krunal Shah
 
Virtual Switch System.pdf
TrungNguyen335833
 
vPC techonology for full ha from dc core to baremetel server.
Ajeet Singh
 
EMEA Airheads- Virtual Switching Framework- Aruba OS Switch
Aruba, a Hewlett Packard Enterprise company
 
IBM System Networking Easy Connect Mode
IBM System Networking
 
VMware vSphere 4.1 deep dive - part 2
Louis Göhl
 
NFV в сетях операторов связи
TERMILAB. Интернет - лаборатория
 
Automate programmable fabric in seconds with an open standards based solution
Tony Antony
 
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld
 
Scaleway Approach to VXLAN EVPN Fabric
Scaleway
 
OpenNebulaConf2018 - Scalable L2 overlay networks with routed VXLAN / BGP EVP...
OpenNebula Project
 
Deploying Carrier Ethernet Features on Cisco ASR 9000
Vinod Kumar Balasubramanyam
 
Deploying Carrier Ethernet features on ASR 9000
Vinod Kumar Balasubramanyam
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld
 
5 продвинутых технологий Cisco, которые нужно знать
SkillFactory
 
Vss vs.vpc
IT Tech
 
Net1674 final emea
VMworld
 
vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01
Chrysostomos Christofi
 
Ad

More from Krunal Shah (6)

PPTX
Ucs rbac aaa-backu-ps
Krunal Shah
 
PPTX
Otv notes
Krunal Shah
 
PPTX
Nexus 1000v part ii
Krunal Shah
 
PPTX
Ha nsf notes
Krunal Shah
 
PPTX
Topic 5 nx os management-ver 0.2
Krunal Shah
 
PPT
Cisco data center support
Krunal Shah
 
Ucs rbac aaa-backu-ps
Krunal Shah
 
Otv notes
Krunal Shah
 
Nexus 1000v part ii
Krunal Shah
 
Ha nsf notes
Krunal Shah
 
Topic 5 nx os management-ver 0.2
Krunal Shah
 
Cisco data center support
Krunal Shah
 

Recently uploaded (20)

PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PDF
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PDF
CIFDAQ'S Token Spotlight for 16th July 2025 - ALGORAND
CIFDAQ
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Generative AI in Healthcare: Benefits, Use Cases & Challenges
Lily Clark
 
PDF
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
PDF
Trading Volume Explained by CIFDAQ- Secret Of Market Trends
CIFDAQ
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PPTX
Earn Agentblazer Status with Slack Community Patna.pptx
SanjeetMishra29
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
CIFDAQ'S Token Spotlight for 16th July 2025 - ALGORAND
CIFDAQ
 
Top Managed Service Providers in Los Angeles
Captain IT
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Generative AI in Healthcare: Benefits, Use Cases & Challenges
Lily Clark
 
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
Trading Volume Explained by CIFDAQ- Secret Of Market Trends
CIFDAQ
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
Earn Agentblazer Status with Slack Community Patna.pptx
SanjeetMishra29
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Novus Safe Lite- What is Novus Safe Lite.pdf
Novus Hi-Tech
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Machine Learning Benefits Across Industries
SynapseIndia
 

Vpc notes

  • 1. Virtual Portchannels www.silantia.com1  Virtual port-channel is Multichassis link aggregation technology. You can configured a port-channel connected to two different switches.  Since it is a port-channel advantage here is to avoid spanning tree blocking ports for any given VLAN that are allowed on that vPC.  Two switches that emulate as a single switch has to part of a new entity called a Domain ID. These two switches are called vPC peers. vPC peer-link vPC 10 vPC peer keepalive - link
  • 2. Virtual Portchannels www.silantia.com2  Peer-link: A Layer 2 trunked port-channel between two Nexus switches that are part of same domain.  In each vPC domain one switch is elected as a primary and other is secondary. Only 10 Gig ports are supported as peer- link port-channel member ports.  vPC peer-link ports can reside on F1 series line cards but it has to be a 10G port, When using M1 32 port line card for peer-link make sure peer-link ports are in dedicated rate mode otherwise peer-link won’t come up.  Peer-link is used for control functions like synch ARP tables, MAC address table and IGMP snooping table between vPC peers.
  • 3. Virtual Portchannels www.silantia.com3  Peer-link keep alive link: This is Layer 3 routed link used for heartbeat between two vPC peers.  Peer-keepalive uses UDP port 3200 and every one second sends packet to check health of the peer.  In case peer-link fails peer-keepalive link is used to find out if other peer is alive and active.  Configuring peer-keepalive in management vrf is best practice because you do not need to dedicate a1 G port for peer- keepalive and management port give direct access to CPU for health check.  vPC vlan: Any vlan that is allowed on vpc peer-link is called vPC vlan.  Peer-keepalive link can be formed using supervisor mgmt ports or using a routed port on M1 line card.
  • 4. Virtual Portchannels www.silantia.com4  Consistency parameters: There are some configuration parameters has to be same on both vPC peers in order for vPC to work properly.  Some configuration settings has to be same on Global level and some has to be same at interface level. E.g MTU settings, Network QoS, Spanning tree mode, etc. There are two types of consistency parameters  Any type-1 consistency parameter mismatch will suspend the vPC.  Any type-2 consistency parameter mismatch keeps vpc up but causes odd forwarding behavior
  • 5. Virtual Portchannels www.silantia.com5  A vPC port is a port that is assigned to a vPC channel group. The ports that form the vPC are split between two vPC peers and are referred to as vPC member ports.  Orphan ports: Any port that is connected to any one vPC peer and are not port of any vPC is called orphaned port.
  • 6. Virtual port-channels  Domain ID has to be unique.  It is imp to remember that vPC is layer 2 bundling technology. You can only configure Layer 2 virtual port-channels and both vpc peers are two independent routers. No L3 routing information synchronizes with each other.  NX-OS uses Cisco Fabric Services (CFS) to synchronize the state information (MAC address table, IGMP snooping database etc) between vpc peers. N7010A-Dist# show cfs ? application Show locally registered applications internal Show internal infomation lock Show state of application's logical/physical locks merge Show cfs merge information peers Show all the peers in the physical fabric regions Show all the applications with peers and region information status Show current status of CFS  Role priority can be configured to manually elect vPC role. vPC does not support role preemption. (Primary, Operational Secondary)
  • 7. Virtual Portchannels www.silantia.com7  # 1 Design rule for VPC topologies : Always dual attach devices to both vpc peers to get predictable traffic flow. For L3 connections use routed ports and routing protocol’s ECMP.  vPC will not allow traffic that was RECEIVED over a vPC peer-link to be sent out a vPC member port. This is a vPC loop prevention logic.
  • 8. Configuring vPC www.silantia.com8 Step 1: Enabled feature vpc and LACP. Step 2: Configure vdc Domain and define role priority etc. Step 3: Configure L3 routed ports for Peer-keepalive link in a separate VRF. Verify peer-keepalive is working before proceeding to next step. Step 4: Configure a Layer 2 LACP portchannel with two 10 Gig ports as members. Make it as trunk link. Step 5: Configured this portchannel as vpc peer-link. Step 6: Configure vPCs with same vPC number on both switches. Step 7: Verify using show vpc command. Above steps should be followed in order.
  • 9. Configuring vPC N7010B-Dist# sh run vpc feature vpc vpc domain 1 peer-switch peer-keepalive destination 10.23.242.220 source 10.23.242.225 vrf management peer-gateway ipv6 nd synchronize ip arp synchronize interface port-channel1 switchport mode trunk vpc peer-link interface port-channel10 vpc 10 Use VRF management Presents both vpc peers as single switch to access switches To enable local forwarding of packets destined to peer’s MAC address To enable ARP/ND sych on both peer switches for faster convergence N7010A-Dist# sh run vpc feature vpc vpc domain 1 peer-switch peer-keepalive destination 10.23.242.225 source 10.23.242.220 vrf management peer-gateway ipv6 nd synchronize ip arp synchronize interface port-channel1 switchport mode trunk vpc peer-link interface port-channel10 vpc 10
  • 10. Configuring vPC www.silantia.com10  “peer-switch” command presents both vPC peers as single switch to access switches. Emulates same Bridge ID for BPDUs.  “peer-gateway” command allows a vPC peer to respond both the the HSRP virtual and the real MAC address of both itself and it’s peer.  vPC primary switch election is based on role priority, lower priority wins if not, lower system mac wins.  Role determines who will process BPDUs and LACPDUs.
  • 11. Monitoring and troubleshooting vPC  show vpc  show vpc peer-keepalive  show vpc orphan-ports  L2 Ports that are not part of vpc and attached to only one vpc peer.  show vpc consistency-parameter global  Shows global consistency paramters.  show vpc role  Shows who is primary and secondary.
  • 12. Unsupported vPC topologies L2 L3 OSPF OSPF OSPF OSPF Vpc peer-link OSPF supported unsupported
  • 13. Supported vPC topologies L2 L3 OSPF OSPF OSPF OSPF Vpc peer-link vPC 10
  • 14. vPC Failure Scenario  When peer-link fails both vPC communicates over peer keepalive-link to find if it is active. In this case secondary vPC switch suspends all its interface.  When peerkeepalive-link fails no impact to existing vPC because peer-link is up.  When peer-link and peer-keepalive link both fails then both peers enters into a dual active scenario.  When primary switch fails secondary switch assumes role of primary (operational primary) but when original primary switch recovers it stays in operational secondary mode.
  • 15. Virtual Portchannels www.silantia.com15  Double sided vPC: In double-sided vPC both the Nexus 7000 and Nexus 5000 switches run vPC. Each vPC pair of Nexus 5000 switches is connected to the Nexus 7000 vPC pair using a unique vPC
  • 16. Virtual Portchannels and FEX www.silantia.com16  FEX ports can be a member ports for vPC.  FEX can be dual attached to both vPC peers.
  • 17. Enhanced vPC www.silantia.com17 FEX is dual attached to each Nexus 5500 and Severs are also dual attached to both FEX with active active NIC teaming.  Logically a similar HA model to that currently provided by dual supervisor based modular switch.  Full redundancy for supervisor, linecard, fabric via vPC and cable or NIC failure via Port- channeling.
  • 18. vPC+ www.silantia.com18  vPC can be used in conjunction with fabricpath which allowes servers to be connected to two fabricpath enabled switches.  Configure vPC peer-link in fabricpath mode. interface po 10 switchport mode fabricpath  Both switches emulates a new switch id. vpc domain 70 fabricpath switch-id 70 Hence converting from vPC to vPC+ is distruptive process because it requires peer-link to be reconfigured.