Cisco N9k – Double-Sided vPC
1. Test Environment
Double-sided vPC is also called Back-to-Back vPC.
Test devices are:
- SD: Nexus9000 C9372PX version 9.3(10)
- SS: Nexus9000 C93180YC-EX version 10.3(6)

2. Config
spanning-tree pathcost method long
spanning-tree port type edge bpduguard default
spanning-tree vlan 1-3967 priority 0
vpc domain 50
peer-switch
role priority 10
peer-keepalive destination 10.82.140.115 source 10.82.140.114
delay restore 150
peer-gateway
ip arp synchronize
int eth1/1-2
description To SD002
switchport
switchport mode trunk
channel-group 12 mode active
no shutdown
interface port-channel12
description vPC Peerlink to SD002
switchport
switchport mode trunk
spanning-tree port type network
vpc peer-link
int eth1/3-4
description To SS001
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
int eth1/5-6
description To SS002
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
interface port-channel100
switchport
switchport mode trunk
vpc 100
spanning-tree pathcost method long
spanning-tree port type edge bpduguard default
spanning-tree vlan 1-3967 priority 0
vpc domain 50
peer-switch
role priority 20
peer-keepalive destination 10.82.140.114 source 10.82.140.115
delay restore 150
peer-gateway
ip arp synchronize
int eth1/1-2
description To SD001
switchport
switchport mode trunk
channel-group 12 mode active
no shutdown
interface port-channel12
description vPC Peerlink to SD001
switchport
switchport mode trunk
spanning-tree port type network
vpc peer-link
int eth1/3-4
description To SS002
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
int eth1/5-6
description To SS001
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
interface port-channel100
switchport
switchport mode trunk
vpc 100
spanning-tree pathcost method long
spanning-tree port type edge bpduguard default
spanning-tree vlan 1-3967 priority 8192
vpc domain 100
peer-switch
role priority 10
peer-keepalive destination 10.82.140.117 source 10.82.140.116
delay restore 150
peer-gateway
ip arp synchronize
int eth1/1-2
description To SS002
switchport
switchport mode trunk
channel-group 12 mode active
no shutdown
interface port-channel12
description vPC Peerlink to SS002
switchport
switchport mode trunk
spanning-tree port type network
vpc peer-link
int eth1/3-4
description To SD001
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
int eth1/5-6
description To SD002
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
interface port-channel100
switchport
switchport mode trunk
vpc 100
spanning-tree pathcost method long
spanning-tree port type edge bpduguard default
spanning-tree vlan 1-3967 priority 8192
vpc domain 100
peer-switch
role priority 20
peer-keepalive destination 10.82.140.116 source 10.82.140.117
delay restore 150
peer-gateway
ip arp synchronize
int eth1/1-2
description To SS001
switchport
switchport mode trunk
channel-group 12 mode active
no shutdown
interface port-channel12
description vPC Peerlink to SS001
switchport
switchport mode trunk
spanning-tree port type network
vpc peer-link
int eth1/3-4
description To SD002
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
int eth1/5-6
description To SD001
switchport
switchport mode trunk
channel-group 100 mode active
no shutdown
interface port-channel100
switchport
switchport mode trunk
vpc 100
3. Show Output
N9K-SD001# show vpc
Legend:
(*) – local vPC is down, forwarding via vPC peer-link
vPC domain id : 50
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : primary
Number of vPCs configured : 1
Peer Gateway : Enabled
Dual-active excluded VLANs : –
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 150s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
———————————————————————
id Port Status Active vlans
— —- —— ————————————————-
1 Po12 up 1
vPC status
—————————————————————————-
Id Port Status Consistency Reason Active vlans
— ———— —— ———– —— —————
100 Po100 up success success 1
N9K-SD002# show vpc
Legend:
(*) – local vPC is down, forwarding via vPC peer-link
vPC domain id : 50
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : secondary
Number of vPCs configured : 1
Peer Gateway : Enabled
Dual-active excluded VLANs : –
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 150s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
———————————————————————
id Port Status Active vlans
— —- —— ————————————————-
1 Po12 up 1
vPC status
—————————————————————————-
Id Port Status Consistency Reason Active vlans
— ———— —— ———– —— —————
100 Po100 up success success 1
N9K-SS001# show vpc
Legend:
(*) – local vPC is down, forwarding via vPC peer-link
vPC domain id : 100
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : primary
Number of vPCs configured : 1
Peer Gateway : Enabled
Dual-active excluded VLANs : –
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 150s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Delay-restore Orphan-port status : Timer is off.(timeout = 0s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
———————————————————————
id Port Status Active vlans
— —- —— ————————————————-
1 Po12 up 1
vPC status
—————————————————————————-
Id Port Status Consistency Reason Active vlans
— ———— —— ———– —— —————
100 Po100 up success success 1
N9K-SS002# show vpc
Legend:
(*) – local vPC is down, forwarding via vPC peer-link
vPC domain id : 100
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : secondary
Number of vPCs configured : 1
Peer Gateway : Enabled
Dual-active excluded VLANs : –
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 150s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Delay-restore Orphan-port status : Timer is off.(timeout = 0s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
———————————————————————
id Port Status Active vlans
— —- —— ————————————————-
1 Po12 up 1
vPC status
—————————————————————————-
Id Port Status Consistency Reason Active vlans
— ———— —— ———– —— —————
100 Po100 up success success 1
4. Troubleshooting
Another topology is used.

4.1 Normal Status
SS002(config)# do show port-channel summary
Flags: D – Down P – Up in port-channel (members)
I – Individual H – Hot-standby (LACP only)
s – Suspended r – Module-removed
b – BFD Session Wait
S – Switched R – Routed
U – Up (port-channel)
p – Up in delay-lacp mode (member)
M – Not in use. Min-links not met
——————————————————————————–
Group Port- Type Protocol Member Ports
Channel
——————————————————————————–
12 Po12(SU) Eth LACP Eth1/8(P)
20 Po20(SU) Eth NONE Eth1/49(P)
30 Po30(SU) Eth NONE Eth1/5(P)
100 Po100(SU) Eth LACP Eth1/3(P) Eth1/4(P)
SS002(config-if)# do show vpc
Legend:
(*) – local vPC is down, forwarding via vPC peer-link
vPC domain id : 60
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : secondary
Number of vPCs configured : 3
Peer Gateway : Enabled
Dual-active excluded VLANs : –
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 150s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
———————————————————————
id Port Status Active vlans
— —- —— ————————————————-
1 Po12 up 1,10,20,30
vPC status
—————————————————————————-
Id Port Status Consistency Reason Active vlans
— ———— —— ———– —— —————
20 Po20 up success success 20
30 Po30 up success success 30
100 Po100 up success success 1,10,20,30
4.2 Crosslink Down Status

SS001(config-if)# do show port-channel summary
Flags: D – Down P – Up in port-channel (members)
I – Individual H – Hot-standby (LACP only)
s – Suspended r – Module-removed
b – BFD Session Wait
S – Switched R – Routed
U – Up (port-channel)
p – Up in delay-lacp mode (member)
M – Not in use. Min-links not met
——————————————————————————–
Group Port- Type Protocol Member Ports
Channel
——————————————————————————–
12 Po12(SU) Eth LACP Eth1/3(P)
20 Po20(SU) Eth NONE Eth1/49(P)
30 Po30(SU) Eth NONE Eth1/5(P)
100 Po100(SU) Eth LACP Eth1/4(P) Eth1/8(D)
SS002(config-if)# do show port-channel summary
Flags: D – Down P – Up in port-channel (members)
I – Individual H – Hot-standby (LACP only)
s – Suspended r – Module-removed
b – BFD Session Wait
S – Switched R – Routed
U – Up (port-channel)
p – Up in delay-lacp mode (member)
M – Not in use. Min-links not met
——————————————————————————–
Group Port- Type Protocol Member Ports
Channel
——————————————————————————–
12 Po12(SU) Eth LACP Eth1/8(P)
20 Po20(SU) Eth NONE Eth1/49(P)
30 Po30(SU) Eth NONE Eth1/5(P)
100 Po100(SU) Eth LACP Eth1/3(D) Eth1/4(P)
Even if the cross links are down, the back-to-back vPC is still up.
4.3 Only 1 Link is Up in the Back-to-Back vPC
VPC status is down on the 2 switches which has no active links. However, the vPC status is up on the 2 switches which has only 1 active link.