VPC Notes
VPC Notes
VPC Notes
www.silantia.com
Virtual Portchannels
www.silantia.com
Virtual Portchannels
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.
www.silantia.com
Virtual Portchannels
www.silantia.com
Virtual Portchannels
www.silantia.com
Virtual port-channels
application
internal
lock
merge
peers
regions
status
Virtual Portchannels
www.silantia.com
Configuring vPC
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.
www.silantia.com
Configuring vPC
N7010A-Dist# sh run vpc
feature vpc
Presents both vpc
vpc domain 1
peers as single
switch to access
peer-switch
switches
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
Use VRF
management
To enable local
forwarding of
packets destined
to peers MAC
address
Configuring vPC
10
www.silantia.com
show vpc
show vpc peer-keepalive
show vpc orphan-ports
OSPF
OSPF
OSPF
L2
L3
Vpc peer-link
OSPF
OSPF
supporte
d
unsupporte
d
OSPF
OSPF
L2
L3
Vpc peer-link
OSPF
OSPF
vPC 10
Virtual Portchannels
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
15
www.silantia.com
16
www.silantia.com
Enhanced vPC
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 Portchanneling.
17
www.silantia.com
vPC+
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.
18
www.silantia.com
Q & A.
19
www.silantia.com