cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1500
Views
21
Helpful
9
Replies

vpc keep-alive with vlan interface

Jeffrey_233
Level 1
Level 1

Hi there

I'm trying to setup a VPC for the first time and have my keep-alive on a vlan ip
But i can't get the destination IP to work. It's direct connected via fiber on port 47

What am i missing?

vlan1

vlan 4049

name keepalive
no spanning-tree vlan 4049
vrf context keepalive
vrf context management
ip route 0.0.0.0/0 10.80.10.1
no port-channel load-balance resilient

vpc domain 2
role priority 32661
peer-keepalive destination 10.40.49.2 source 10.40.49.1 vrf keepalive
peer-gateway
auto-recovery


interface Vlan1

interface Vlan4049
vrf member keepalive
no ip redirects
ip address 10.40.49.1/24
no ipv6 redirects

interface port-channel4049
description ***PEER-LINK***
switchport mode trunk
switchport trunk allowed vlan 1-4000
spanning-tree port type network
vpc peer-link


interface Ethernet1/43
description **VPC PEER-LINK**
switchport mode trunk
switchport trunk allowed vlan 1-4000
channel-group 4049 mode active

interface Ethernet1/44
description **VPC PEER-LINK**
switchport mode trunk
switchport trunk allowed vlan 1-4000
channel-group 4049 mode active

interface Ethernet1/45
description **VPC PEER-LINK**
switchport mode trunk
switchport trunk allowed vlan 1-4000
channel-group 4049 mode active

interface Ethernet1/46
description **VPC PEER-LINK**
switchport mode trunk
switchport trunk allowed vlan 1-4000
channel-group 4049 mode active

interface Ethernet1/47
description keepalive link
switchport access vlan 4049

interface Ethernet1/48

interface mgmt0
vrf member management
ip address 10.60.50.3/24
line console
line vty
boot nxos bootflash:/nxos.9.3.8.bin


 

9 Replies 9

Hello,

the configuration looks by the book, is the other side configured identically ?

""keep-alive must not run over any vPC VLAN, You need different trunk or L3 link. ""

since you use different port and not use any vPC VLAN 
your config is right then only check 
in NSK-1 

 

peer-keepalive destination 10.40.49.2 source 10.40.49.1 vrf keepalive

 

in NSK-2
 

 

peer-keepalive destination 10.40.49.1 source 10.40.49.2 vrf keepalive

 

@MHM Cisco World Just out of curiosity, you are saying that in the above config Vlan 4049 is a VPC Vlan ? I thought I checked this. Can you post the amended config that works for you ?

Hello,

actually, I am not sure if this is correct:

vlan 4049

name keepalive
no spanning-tree vlan 4049
vrf context keepalive
--> vrf context management

Can you remove that context from the keepalive Vlan ?

 

Jeffrey_233
Level 1
Level 1

This is the only difference in my config on switch 2

vpc domain 2
  role priority 32662
  peer-keepalive destination 10.40.49.1 source 10.40.49.2 vrf keepalive
  peer-gateway
  auto-recovery

 This is my "show VPC"

(*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                     : 2
Peer status                       : peer link is down
vPC keep-alive status             : Suspended (Destination IP not reachable)
Configuration consistency status  : failed
Per-vlan consistency status       : success
Configuration inconsistency reason: Consistency Check Not Performed
Type-2 inconsistency reason       : Consistency Check Not Performed
vPC role                          : none established
Number of vPCs configured         : 0
Peer Gateway                      : Enabled
Dual-active excluded VLANs        : -
Graceful Consistency Check        : Disabled (due to peer configuration)
Auto-recovery status              : Enabled, timer is off.(timeout = 240s)
Delay-restore status              : Timer is off.(timeout = 30s)
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     Po4049 up     -

friend I am out of home now but I check the info. 
now you have two L2 Link between two SW, if you run RSTP not PVST then one link will be Spanning Tree BLK, and I think this Link is keepalive-link.
solution use L3 instead of L2 SVI. 

Jeffrey_233
Level 1
Level 1

@MHM Cisco World I'm not sure I'm following what you saying. You saying i should work i just need to pass some traffic through it?

Can you give me an example of RSTP over PVST?


This is the first time I'm trying this.
I'm copying my VPC setup in our office as these switches will be vpc domain 2 in our Data Centre.

Jeffrey_233
Level 1
Level 1

Hey all
I figured it out. I did a sh interface brief
And my vlan 4049 was administratively down
I set it to no shut
And now everything is working.

Thanks all for helping me work through it!

Great 

Review Cisco Networking for a $25 gift card