09-01-2018 11:03 PM - edited 03-08-2019 04:03 PM
Hello, I am setting up VPC between two Nexus 3K, it seems like vPC Peer status is ok and adjacency has formed ok.
the issue I have is with one of the member ports I have configured, STP keep blocking one of the Port-channel ports.
here are some show commands from the vPC configuration:
3K1:
SW-NX3K-1# show running-config vpc
!Command: show running-config vpc
!Time: Sun Sep 2 08:28:14 2018
version 7.0(3)I2(2)
feature vpc
vpc domain 5
role priority 1900
peer-keepalive destination 70.70.70.2 source 70.70.70.1
interface port-channel3
vpc 100
interface port-channel4
vpc peer-link
interface port-channel5
vpc 150
SW-NX3K-1# show vpc brief
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 5
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 : 5
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 30s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
vPC Peer-link status
---------------------------------------------------------------------
id Port Status Active vlans
-- ---- ------ --------------------------------------------------
1 Po4 up 1-139,141-400,441,899,3000-3025,4048
vPC status
----------------------------------------------------------------------
id Port Status Consistency Reason Active vlans
-- ---- ------ ----------- ------ ------------
100 Po3 up success success 899,3000-30
25
150 Po5 down* success success -
SW-NX3K-1# 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
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
--------------------------------------------------------------------------------
1 Po1(SU) Eth LACP Eth1/1(P) Eth1/2(P)
2 Po2(SU) Eth LACP Eth1/3(P) Eth1/4(P)
3 Po3(SU) Eth LACP Eth1/25(P)
4 Po4(SU) Eth NONE Eth1/49(P) Eth1/50(P)
5 Po5(SD) Eth LACP Eth1/26(D)
3K2:
SW-NX-3K-2# show running-config vpc
!Command: show running-config vpc
!Time: Sun Sep 2 08:27:56 2018
version 7.0(3)I2(2)
feature vpc
vpc domain 5
role priority 2000
peer-keepalive destination 70.70.70.1 source 70.70.70.2
interface port-channel3
vpc 100
interface port-channel4
vpc peer-link
interface port-channel5
vpc 150
SW-NX-3K-2# show vpc brief
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 5
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 : 5
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 30s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
vPC Peer-link status
---------------------------------------------------------------------
id Port Status Active vlans
-- ---- ------ --------------------------------------------------
1 Po4 up 1-139,141-400,441,899,3000-3025,4048
vPC status
----------------------------------------------------------------------
id Port Status Consistency Reason Active vlans
-- ---- ------ ----------- ------ ------------
100 Po3 up success success 899,3000-30
25
150 Po5 down* success success -
Also I can see with "show vpc consistency-parameters vpc 150" command on 3K2 that 'Local Value' doesn't match the 'Peer Value' as you can see below:
SW-NX-3K-2# show vpc consistency-parameters vpc 150
Legend:
Type 1 : vPC will be suspended in case of mismatch
Name Type Local Value Peer Value
------------- ---- ---------------------- -----------------------
STP Port Type 1 Edge Trunk Port Edge Trunk Port
STP Port Guard 1 Default Default
STP MST Simulate PVST 1 Default Default
lag-id 1 [(7f9b, [(7f9b,
0-23-4-ee-be-5, 8096, 0-23-4-ee-be-5, 8096,
0, 0), (ffff, 0, 0), (ffff,
0-1c-7f-a1-6-1e, 11, 0-1c-7f-a1-6-1e, 11,
0, 0)] 0, 0)]
mode 1 - active
delayed-lacp 1 - disabled
Speed 1 - 1000 Mb/s
Duplex 1 - full
Port Mode 1 - trunk
Native Vlan 1 - 1
MTU 1 - 1500
Dot1q Tunnel 1 - no
Switchport Isolated 1 - 0
vPC card type 1 N3K N3K
Allowed VLANs - 899,3000-3025 899,3000-3025
Local suspended VLANs - - -
09-02-2018 02:02 AM
First instance i would suggest to check both the side configuration for the port-channel 5.
If possible post the running configuration of both 3K here.
09-02-2018 10:41 PM - edited 09-02-2018 10:42 PM
Hi, Thanks for your reply.
I already checked both side configuration for the port-channel 5 and port-channel 3 and it similar on both sides.
To make it more clear this is the topology I'm working with :
Relevant Running config for 3K1:
version 7.0(3)I2(2)
hostname SW-NX3K-1
vdc SW-NX3K-1 id 1
feature telnet
cfs eth distribute
feature ospf
feature bgp
feature pim
feature interface-vlan
feature lacp
feature vpc
feature lldp
clock protocol none vdc 1
ip domain-lookup
spanning-tree mode mst
policy-map type network-qos jumbo
class type network-qos class-default
mtu 9216
system qos
service-policy type network-qos jumbo
no spanning-tree bridge assurance
spanning-tree mst 0 priority 16384
spanning-tree mst configuration
name Scalable
no system urpf disable
no port-channel load-balance resilient
vpc domain 5
role priority 1900
peer-keepalive destination 70.70.70.2 source 70.70.70.1
vlan configuration 120,225
interface port-channel1
description Bond to COST CH1
switchport mode trunk
switchport trunk allowed vlan 120-129,4048
spanning-tree port type edge trunk
interface port-channel2
description Bond to COST CH2
switchport mode trunk
switchport trunk allowed vlan 120-129,4048
spanning-tree port type edge trunk
interface port-channel3
description VPC to COST CH1
switchport mode trunk
switchport trunk allowed vlan 899,3000-3025
spanning-tree port type edge trunk
speed 1000
vpc 100
interface port-channel4
description VPC Peer Link
switchport mode trunk
spanning-tree port type network
spanning-tree mst 0 port-priority 224
speed 10000
vpc peer-link
interface port-channel5
description VPC to COST CH2
switchport mode trunk
switchport trunk allowed vlan 899,3000-3025
spanning-tree port type edge trunk
speed 1000
vpc 150
interface port-channel6
interface Ethernet1/1
description Bern-eth1-03
switchport mode trunk
switchport trunk allowed vlan 120-129,4048
spanning-tree port type edge trunk
no snmp trap link-status
channel-group 1 mode active
interface Ethernet1/2
description Bern-eth2-03
switchport mode trunk
switchport trunk allowed vlan 120-129,4048
spanning-tree port type edge trunk
channel-group 1 mode active
interface Ethernet1/3
description Brussels-eth1-03
switchport mode trunk
switchport trunk allowed vlan 120-129,4048
spanning-tree port type edge trunk
channel-group 2 mode active
interface Ethernet1/4
description Brussels-eth2-03
switchport mode trunk
switchport trunk allowed vlan 120-129,4048
spanning-tree port type edge trunk
channel-group 2 mode active
interface Ethernet1/5
interface Ethernet1/6
switchport access vlan 119
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
description VPC Appliance 1
lacp rate fast
switchport mode trunk
switchport trunk allowed vlan 899,3000-3025
speed 1000
channel-group 3 mode active
interface Ethernet1/26
description VPC to Appliance 2
lacp rate fast
switchport mode trunk
switchport trunk allowed vlan 899,3000-3025
speed 1000
channel-group 5 mode active
interface Ethernet1/27
interface Ethernet1/28
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface Ethernet1/33
interface Ethernet1/34
interface Ethernet1/35
interface Ethernet1/36
interface Ethernet1/37
interface Ethernet1/38
interface Ethernet1/39
interface Ethernet1/40
interface Ethernet1/41
interface Ethernet1/42
interface Ethernet1/43
interface Ethernet1/44
interface Ethernet1/45
interface Ethernet1/46
interface Ethernet1/47
description UpLink-MGMT-SW
shutdown
switchport mode trunk
switchport trunk allowed vlan 15,125,222,225,228-500
interface Ethernet1/48
interface Ethernet1/49
description VPC Peer Link
switchport mode trunk
channel-group 4
interface Ethernet1/50
description VPC Peer Link
switchport mode trunk
channel-group 4
interface Ethernet1/51
interface Ethernet1/52
description UpLink-MGMT-NX-VPC
switchport mode trunk
switchport trunk allowed vlan 1,15-16,33-34,80-500,899-900,3000-3025,4048-4049
spanning-tree cost 1000
spanning-tree mst 0 cost 1000
interface mgmt0
description VPC Keep-alive
vrf member management
ip address 70.70.70.1/24
interface loopback1
ip address 30.30.30.1/32
interface loopback7
interface loopback9
ip address 17.17.17.1/24
ip ospf network point-to-point
cli alias name wr copy run sta
line console
line vty
exec-timeout 0
boot nxos bootflash:/nxos.7.0.3.I2.2.bin
no logging console
Relevant Running config for 3K2:
version 7.0(3)I2(2)
hostname SW-NX-3K-2
vdc SW-NX-3K-2 id 1
feature telnet
cfs eth distribute
feature ospf
feature bgp
feature pim
feature interface-vlan
feature lacp
feature vpc
feature lldp
clock protocol none vdc 1
ip domain-lookup
spanning-tree mode mst
policy-map type network-qos jumbo
class type network-qos class-default
mtu 9216
system qos
service-policy type network-qos jumbo
no spanning-tree bridge assurance
spanning-tree mst 0 priority 16384
spanning-tree mst configuration
name Scalable
vpc domain 5
role priority 2000
peer-keepalive destination 70.70.70.1 source 70.70.70.2
vlan configuration 1-400,3000-3025,4048-4049
interface Vlan1
interface port-channel1
description Bond to COST CH1
switchport mode trunk
switchport trunk allowed vlan 120-129,137-138,441,443,4048-4049
spanning-tree port type edge trunk
interface port-channel2
description Bond to COST CH2
switchport mode trunk
switchport trunk allowed vlan 120-129,137-138,441,443,4048-4049
spanning-tree port type edge trunk
interface port-channel3
description VPC to COST CH1
switchport mode trunk
switchport trunk allowed vlan 899,3000-3025
spanning-tree port type edge trunk
speed 1000
vpc 100
interface port-channel4
description VPC Peer Link
switchport mode trunk
spanning-tree port type network
spanning-tree mst 0 port-priority 224
speed 10000
vpc peer-link
interface port-channel5
description VPC to COST CH2
switchport mode trunk
switchport trunk allowed vlan 899,3000-3025
spanning-tree port type edge trunk
speed 1000
vpc 150
interface Ethernet1/1
description Bern-eth1-04
switchport mode trunk
switchport trunk allowed vlan 120-129,137-138,441,443,4048-4049
spanning-tree port type edge trunk
no snmp trap link-status
channel-group 1 mode active
interface Ethernet1/2
description Bern-eth2-04
switchport mode trunk
switchport trunk allowed vlan 120-129,137-138,441,443,4048-4049
spanning-tree port type edge trunk
channel-group 1 mode active
interface Ethernet1/3
description Brussels-eth1-04
switchport mode trunk
switchport trunk allowed vlan 120-129,137-138,441,443,4048-4049
spanning-tree port type edge trunk
channel-group 2 mode active
interface Ethernet1/4
description Brussels-eth2-04
switchport mode trunk
switchport trunk allowed vlan 120-129,137-138,441,443,4048-4049
spanning-tree port type edge trunk
channel-group 2 mode active
interface Ethernet1/5
interface Ethernet1/6
interface Ethernet1/7
interface Ethernet1/8
interface Ethernet1/9
interface Ethernet1/10
interface Ethernet1/11
interface Ethernet1/12
interface Ethernet1/13
interface Ethernet1/14
interface Ethernet1/15
interface Ethernet1/16
interface Ethernet1/17
interface Ethernet1/18
interface Ethernet1/19
interface Ethernet1/20
interface Ethernet1/21
interface Ethernet1/22
interface Ethernet1/23
interface Ethernet1/24
interface Ethernet1/25
description VPC to Appliance 1
lacp rate fast
switchport mode trunk
switchport trunk allowed vlan 899,3000-3025
speed 1000
channel-group 3 mode active
interface Ethernet1/26
description VPC to Appliance 2
lacp rate fast
switchport mode trunk
switchport trunk allowed vlan 899,3000-3025
speed 1000
channel-group 5 mode active
interface Ethernet1/27
interface Ethernet1/28
interface Ethernet1/29
interface Ethernet1/30
interface Ethernet1/31
interface Ethernet1/32
interface Ethernet1/33
interface Ethernet1/34
interface Ethernet1/35
interface Ethernet1/36
interface Ethernet1/37
interface Ethernet1/38
interface Ethernet1/39
interface Ethernet1/40
interface Ethernet1/41
interface Ethernet1/42
interface Ethernet1/43
interface Ethernet1/44
interface Ethernet1/45
interface Ethernet1/46
interface Ethernet1/47
interface Ethernet1/48
interface Ethernet1/49
description VPC Peer Link
switchport mode trunk
channel-group 4
interface Ethernet1/50
description VPC Peer Link
switchport mode trunk
channel-group 4
interface Ethernet1/51
interface Ethernet1/52
description UpLink-MGMT-NX-VPC
switchport mode trunk
switchport trunk allowed vlan 1,15-16,33-34,80-500,899-900,3000-3025,4048-4049
spanning-tree cost 1000
spanning-tree mst 0 cost 1000
interface mgmt0
description VPC Keep-alive
vrf member management
ip address 70.70.70.2/24
interface loopback1
cli alias name wr copy run sta
line console
line vty
exec-timeout 0
boot nxos bootflash:/nxos.7.0.3.I2.2.bin
no logging console
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide